MCPcopy Create free account
hub / github.com/acking-you/static_flow / comment_task_schema

Function comment_task_schema

crates/store/src/comments_store.rs:875–906  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

873}
874
875fn comment_task_schema() -> Arc<Schema> {
876 Arc::new(Schema::new(vec![
877 Field::new("task_id", DataType::Utf8, false),
878 Field::new("article_id", DataType::Utf8, false),
879 Field::new("entry_type", DataType::Utf8, false),
880 Field::new("status", DataType::Utf8, false),
881 Field::new("comment_text", DataType::Utf8, false),
882 Field::new("selected_text", DataType::Utf8, true),
883 Field::new("anchor_block_id", DataType::Utf8, true),
884 Field::new("anchor_context_before", DataType::Utf8, true),
885 Field::new("anchor_context_after", DataType::Utf8, true),
886 Field::new("reply_to_comment_id", DataType::Utf8, true),
887 Field::new("reply_to_comment_text", DataType::Utf8, true),
888 Field::new("reply_to_ai_reply_markdown", DataType::Utf8, true),
889 Field::new("client_ip", DataType::Utf8, false),
890 Field::new("ip_region", DataType::Utf8, false),
891 Field::new("fingerprint", DataType::Utf8, false),
892 Field::new("ua", DataType::Utf8, true),
893 Field::new("language", DataType::Utf8, true),
894 Field::new("platform", DataType::Utf8, true),
895 Field::new("timezone", DataType::Utf8, true),
896 Field::new("viewport", DataType::Utf8, true),
897 Field::new("referrer", DataType::Utf8, true),
898 Field::new("admin_note", DataType::Utf8, true),
899 Field::new("failure_reason", DataType::Utf8, true),
900 Field::new("attempt_count", DataType::Int32, false),
901 Field::new("created_at", DataType::Timestamp(TimeUnit::Millisecond, None), false),
902 Field::new("updated_at", DataType::Timestamp(TimeUnit::Millisecond, None), false),
903 Field::new("approved_at", DataType::Timestamp(TimeUnit::Millisecond, None), true),
904 Field::new("completed_at", DataType::Timestamp(TimeUnit::Millisecond, None), true),
905 ]))
906}
907
908fn comment_published_schema() -> Arc<Schema> {
909 Arc::new(Schema::new(vec![

Callers 2

bootstrap_tablesMethod · 0.85
build_comment_task_batchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected