@tiangong-ai/cli 0.0.50 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +22 -2
- package/README.md +200 -7
- package/dist/cli.js +10 -1
- package/dist/cli.js.map +1 -1
- package/dist/data/builtins.d.ts +1 -0
- package/dist/data/builtins.js +40 -0
- package/dist/data/builtins.js.map +1 -0
- package/dist/data/catalog.d.ts +25 -0
- package/dist/data/catalog.js +305 -0
- package/dist/data/catalog.js.map +1 -0
- package/dist/data/commands.d.ts +9 -0
- package/dist/data/commands.js +307 -0
- package/dist/data/commands.js.map +1 -0
- package/dist/data/connectors/airnow-hourly-observations.d.ts +2 -0
- package/dist/data/connectors/airnow-hourly-observations.js +522 -0
- package/dist/data/connectors/airnow-hourly-observations.js.map +1 -0
- package/dist/data/connectors/airnow-hourly-observations.schemas.d.ts +299 -0
- package/dist/data/connectors/airnow-hourly-observations.schemas.js +188 -0
- package/dist/data/connectors/airnow-hourly-observations.schemas.js.map +1 -0
- package/dist/data/connectors/bluesky-public-posts.d.ts +2 -0
- package/dist/data/connectors/bluesky-public-posts.js +705 -0
- package/dist/data/connectors/bluesky-public-posts.js.map +1 -0
- package/dist/data/connectors/bluesky-public-posts.schemas.d.ts +733 -0
- package/dist/data/connectors/bluesky-public-posts.schemas.js +422 -0
- package/dist/data/connectors/bluesky-public-posts.schemas.js.map +1 -0
- package/dist/data/connectors/epa-eis-records.d.ts +2 -0
- package/dist/data/connectors/epa-eis-records.js +566 -0
- package/dist/data/connectors/epa-eis-records.js.map +1 -0
- package/dist/data/connectors/epa-eis-records.schemas.d.ts +199 -0
- package/dist/data/connectors/epa-eis-records.schemas.js +146 -0
- package/dist/data/connectors/epa-eis-records.schemas.js.map +1 -0
- package/dist/data/connectors/federal-register-documents.d.ts +2 -0
- package/dist/data/connectors/federal-register-documents.js +517 -0
- package/dist/data/connectors/federal-register-documents.js.map +1 -0
- package/dist/data/connectors/federal-register-documents.schemas.d.ts +357 -0
- package/dist/data/connectors/federal-register-documents.schemas.js +243 -0
- package/dist/data/connectors/federal-register-documents.schemas.js.map +1 -0
- package/dist/data/connectors/gdelt-doc-search.d.ts +2 -0
- package/dist/data/connectors/gdelt-doc-search.js +658 -0
- package/dist/data/connectors/gdelt-doc-search.js.map +1 -0
- package/dist/data/connectors/gdelt-doc-search.schemas.d.ts +446 -0
- package/dist/data/connectors/gdelt-doc-search.schemas.js +330 -0
- package/dist/data/connectors/gdelt-doc-search.schemas.js.map +1 -0
- package/dist/data/connectors/gdelt-file-feeds.d.ts +4 -0
- package/dist/data/connectors/gdelt-file-feeds.js +591 -0
- package/dist/data/connectors/gdelt-file-feeds.js.map +1 -0
- package/dist/data/connectors/gdelt-file-feeds.schemas.d.ts +40 -0
- package/dist/data/connectors/gdelt-file-feeds.schemas.js +256 -0
- package/dist/data/connectors/gdelt-file-feeds.schemas.js.map +1 -0
- package/dist/data/connectors/nasa-firms-fire.d.ts +2 -0
- package/dist/data/connectors/nasa-firms-fire.js +578 -0
- package/dist/data/connectors/nasa-firms-fire.js.map +1 -0
- package/dist/data/connectors/nasa-firms-fire.schemas.d.ts +369 -0
- package/dist/data/connectors/nasa-firms-fire.schemas.js +238 -0
- package/dist/data/connectors/nasa-firms-fire.schemas.js.map +1 -0
- package/dist/data/connectors/open-meteo-air-quality.d.ts +2 -0
- package/dist/data/connectors/open-meteo-air-quality.js +401 -0
- package/dist/data/connectors/open-meteo-air-quality.js.map +1 -0
- package/dist/data/connectors/open-meteo-air-quality.schemas.d.ts +335 -0
- package/dist/data/connectors/open-meteo-air-quality.schemas.js +225 -0
- package/dist/data/connectors/open-meteo-air-quality.schemas.js.map +1 -0
- package/dist/data/connectors/open-meteo-flood.d.ts +2 -0
- package/dist/data/connectors/open-meteo-flood.js +446 -0
- package/dist/data/connectors/open-meteo-flood.js.map +1 -0
- package/dist/data/connectors/open-meteo-flood.schemas.d.ts +388 -0
- package/dist/data/connectors/open-meteo-flood.schemas.js +227 -0
- package/dist/data/connectors/open-meteo-flood.schemas.js.map +1 -0
- package/dist/data/connectors/open-meteo-historical-weather.d.ts +2 -0
- package/dist/data/connectors/open-meteo-historical-weather.js +468 -0
- package/dist/data/connectors/open-meteo-historical-weather.js.map +1 -0
- package/dist/data/connectors/open-meteo-historical-weather.schemas.d.ts +420 -0
- package/dist/data/connectors/open-meteo-historical-weather.schemas.js +282 -0
- package/dist/data/connectors/open-meteo-historical-weather.schemas.js.map +1 -0
- package/dist/data/connectors/openaq-air-quality.d.ts +2 -0
- package/dist/data/connectors/openaq-air-quality.js +734 -0
- package/dist/data/connectors/openaq-air-quality.js.map +1 -0
- package/dist/data/connectors/openaq-air-quality.schemas.d.ts +1067 -0
- package/dist/data/connectors/openaq-air-quality.schemas.js +512 -0
- package/dist/data/connectors/openaq-air-quality.schemas.js.map +1 -0
- package/dist/data/connectors/regulations-gov-attachments.d.ts +2 -0
- package/dist/data/connectors/regulations-gov-attachments.js +486 -0
- package/dist/data/connectors/regulations-gov-attachments.js.map +1 -0
- package/dist/data/connectors/regulations-gov-attachments.schemas.d.ts +270 -0
- package/dist/data/connectors/regulations-gov-attachments.schemas.js +181 -0
- package/dist/data/connectors/regulations-gov-attachments.schemas.js.map +1 -0
- package/dist/data/connectors/regulations-gov-comments.d.ts +2 -0
- package/dist/data/connectors/regulations-gov-comments.js +718 -0
- package/dist/data/connectors/regulations-gov-comments.js.map +1 -0
- package/dist/data/connectors/regulations-gov-comments.schemas.d.ts +717 -0
- package/dist/data/connectors/regulations-gov-comments.schemas.js +389 -0
- package/dist/data/connectors/regulations-gov-comments.schemas.js.map +1 -0
- package/dist/data/connectors/usbr-project-records.d.ts +2 -0
- package/dist/data/connectors/usbr-project-records.js +467 -0
- package/dist/data/connectors/usbr-project-records.js.map +1 -0
- package/dist/data/connectors/usbr-project-records.schemas.d.ts +194 -0
- package/dist/data/connectors/usbr-project-records.schemas.js +137 -0
- package/dist/data/connectors/usbr-project-records.schemas.js.map +1 -0
- package/dist/data/connectors/usbr-rise.d.ts +2 -0
- package/dist/data/connectors/usbr-rise.js +625 -0
- package/dist/data/connectors/usbr-rise.js.map +1 -0
- package/dist/data/connectors/usbr-rise.schemas.d.ts +623 -0
- package/dist/data/connectors/usbr-rise.schemas.js +407 -0
- package/dist/data/connectors/usbr-rise.schemas.js.map +1 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.d.ts +2 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.js +521 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.js.map +1 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.schemas.d.ts +496 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.schemas.js +309 -0
- package/dist/data/connectors/usgs-water-instantaneous-values.schemas.js.map +1 -0
- package/dist/data/connectors/youtube-public-content.d.ts +2 -0
- package/dist/data/connectors/youtube-public-content.js +974 -0
- package/dist/data/connectors/youtube-public-content.js.map +1 -0
- package/dist/data/connectors/youtube-public-content.schemas.d.ts +773 -0
- package/dist/data/connectors/youtube-public-content.schemas.js +567 -0
- package/dist/data/connectors/youtube-public-content.schemas.js.map +1 -0
- package/dist/data/contracts.d.ts +374 -0
- package/dist/data/contracts.js +10 -0
- package/dist/data/contracts.js.map +1 -0
- package/dist/data/runtime/artifacts.d.ts +6 -0
- package/dist/data/runtime/artifacts.js +103 -0
- package/dist/data/runtime/artifacts.js.map +1 -0
- package/dist/data/runtime/bounded-http.d.ts +10 -0
- package/dist/data/runtime/bounded-http.js +403 -0
- package/dist/data/runtime/bounded-http.js.map +1 -0
- package/dist/data/runtime/canonical-json.d.ts +3 -0
- package/dist/data/runtime/canonical-json.js +59 -0
- package/dist/data/runtime/canonical-json.js.map +1 -0
- package/dist/data/runtime/credentials.d.ts +14 -0
- package/dist/data/runtime/credentials.js +67 -0
- package/dist/data/runtime/credentials.js.map +1 -0
- package/dist/data/runtime/csv.d.ts +4 -0
- package/dist/data/runtime/csv.js +51 -0
- package/dist/data/runtime/csv.js.map +1 -0
- package/dist/data/runtime/errors.d.ts +22 -0
- package/dist/data/runtime/errors.js +101 -0
- package/dist/data/runtime/errors.js.map +1 -0
- package/dist/data/runtime/execute.d.ts +11 -0
- package/dist/data/runtime/execute.js +358 -0
- package/dist/data/runtime/execute.js.map +1 -0
- package/dist/data/runtime/receipts.d.ts +13 -0
- package/dist/data/runtime/receipts.js +38 -0
- package/dist/data/runtime/receipts.js.map +1 -0
- package/dist/data/schemas/catalog.v1.json +73 -0
- package/dist/data/schemas/core-receipt.v1.json +117 -0
- package/dist/data/schemas/describe.v1.json +24 -0
- package/dist/data/schemas/discovery.v1.json +130 -0
- package/dist/data/schemas/doctor.v1.json +40 -0
- package/dist/data/schemas/error.v1.json +48 -0
- package/dist/data/schemas/manifest.v1.json +174 -0
- package/dist/data/schemas/run-request.v1.json +37 -0
- package/dist/data/schemas/run-result.v1.json +77 -0
- package/dist/data/schemas.d.ts +27 -0
- package/dist/data/schemas.js +69 -0
- package/dist/data/schemas.js.map +1 -0
- package/dist/env.js.map +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/http.js.map +1 -1
- package/dist/kb/config.js.map +1 -1
- package/dist/kb/pipeline-health.js.map +1 -1
- package/dist/research/orchestration.js +71 -11
- package/dist/research/orchestration.js.map +1 -1
- package/dist/research/workspace/acquisition.js +70 -5
- package/dist/research/workspace/acquisition.js.map +1 -1
- package/dist/research/workspace/audit-bundle.js +7 -2
- package/dist/research/workspace/audit-bundle.js.map +1 -1
- package/dist/research/workspace/broker.js.map +1 -1
- package/dist/research/workspace/constants.js.map +1 -1
- package/dist/research/workspace/credentials.d.ts +3 -0
- package/dist/research/workspace/credentials.js +20 -3
- package/dist/research/workspace/credentials.js.map +1 -1
- package/dist/research/workspace/data-evidence-adapter.d.ts +60 -0
- package/dist/research/workspace/data-evidence-adapter.js +314 -0
- package/dist/research/workspace/data-evidence-adapter.js.map +1 -0
- package/dist/research/workspace/discovery-status.js +10 -7
- package/dist/research/workspace/discovery-status.js.map +1 -1
- package/dist/research/workspace/discovery.js +12 -11
- package/dist/research/workspace/discovery.js.map +1 -1
- package/dist/research/workspace/evidence-ledger.d.ts +8 -1
- package/dist/research/workspace/evidence-ledger.js +46 -4
- package/dist/research/workspace/evidence-ledger.js.map +1 -1
- package/dist/research/workspace/evidence.d.ts +31 -0
- package/dist/research/workspace/evidence.js +77 -0
- package/dist/research/workspace/evidence.js.map +1 -1
- package/dist/research/workspace/executor.js.map +1 -1
- package/dist/research/workspace/external-skills.d.ts +49 -49
- package/dist/research/workspace/external-skills.js.map +1 -1
- package/dist/research/workspace/platform-capabilities.js.map +1 -1
- package/dist/research/workspace/preflight.d.ts +4 -4
- package/dist/research/workspace/preflight.js +33 -8
- package/dist/research/workspace/preflight.js.map +1 -1
- package/dist/research/workspace/projects.js +203 -76
- package/dist/research/workspace/projects.js.map +1 -1
- package/dist/research/workspace/publication.js.map +1 -1
- package/dist/research/workspace/research-policy-wizard.js.map +1 -1
- package/dist/research/workspace/research-policy.js.map +1 -1
- package/dist/research/workspace/runtime.d.ts +7 -0
- package/dist/research/workspace/runtime.js +82 -23
- package/dist/research/workspace/runtime.js.map +1 -1
- package/dist/research/workspace/sanitization.js.map +1 -1
- package/dist/research/workspace/schemas.js +1 -1
- package/dist/research/workspace/schemas.js.map +1 -1
- package/dist/research/workspace/scientific-design.js.map +1 -1
- package/dist/research/workspace/scientific-review.js.map +1 -1
- package/dist/research/workspace/setup-catalog.d.ts +9 -9
- package/dist/research/workspace/setup-catalog.js +2 -2
- package/dist/research/workspace/setup-catalog.js.map +1 -1
- package/dist/research/workspace/setup-declarative.js.map +1 -1
- package/dist/research/workspace/setup-instructions.d.ts +42 -0
- package/dist/research/workspace/setup-instructions.js +413 -0
- package/dist/research/workspace/setup-instructions.js.map +1 -0
- package/dist/research/workspace/setup-invocation.js.map +1 -1
- package/dist/research/workspace/setup-wizard.js +7 -0
- package/dist/research/workspace/setup-wizard.js.map +1 -1
- package/dist/research/workspace/setup.d.ts +18 -15
- package/dist/research/workspace/setup.js +68 -3
- package/dist/research/workspace/setup.js.map +1 -1
- package/dist/research/workspace/workspace.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,733 @@
|
|
|
1
|
+
export declare const BLUESKY_CASCADE_INPUT_SCHEMA: {
|
|
2
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
3
|
+
readonly $id: "https://schemas.tiangong.ai/data/bluesky/public-post-cascades-input.v1.json";
|
|
4
|
+
readonly type: "object";
|
|
5
|
+
readonly additionalProperties: false;
|
|
6
|
+
readonly required: readonly ["source"];
|
|
7
|
+
readonly properties: {
|
|
8
|
+
readonly source: {
|
|
9
|
+
readonly oneOf: readonly [{
|
|
10
|
+
readonly type: "object";
|
|
11
|
+
readonly additionalProperties: false;
|
|
12
|
+
readonly required: readonly ["mode", "query"];
|
|
13
|
+
readonly properties: {
|
|
14
|
+
readonly mode: {
|
|
15
|
+
readonly const: "search";
|
|
16
|
+
readonly description: "Selects the public app.bsky.feed.searchPosts seed source.";
|
|
17
|
+
readonly examples: readonly ["search"];
|
|
18
|
+
};
|
|
19
|
+
readonly query: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly minLength: 1;
|
|
22
|
+
readonly maxLength: 1000;
|
|
23
|
+
readonly description: "Provider search query; Bluesky documents search syntax and ranking as implementation dependent.";
|
|
24
|
+
readonly examples: readonly ["climate policy"];
|
|
25
|
+
};
|
|
26
|
+
readonly sort: {
|
|
27
|
+
readonly enum: readonly ["latest", "top"];
|
|
28
|
+
readonly description: "Bluesky search ranking order; latest is the default.";
|
|
29
|
+
readonly examples: readonly ["latest"];
|
|
30
|
+
};
|
|
31
|
+
readonly author: {
|
|
32
|
+
readonly type: "string";
|
|
33
|
+
readonly minLength: 1;
|
|
34
|
+
readonly maxLength: 253;
|
|
35
|
+
readonly description: "Optional Bluesky handle or DID whose posts must match.";
|
|
36
|
+
readonly examples: readonly ["alice.bsky.social"];
|
|
37
|
+
};
|
|
38
|
+
readonly mentions: {
|
|
39
|
+
readonly type: "string";
|
|
40
|
+
readonly minLength: 1;
|
|
41
|
+
readonly maxLength: 253;
|
|
42
|
+
readonly description: "Optional Bluesky handle or DID that matching posts must mention.";
|
|
43
|
+
readonly examples: readonly ["climate.bsky.social"];
|
|
44
|
+
};
|
|
45
|
+
readonly language: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly minLength: 2;
|
|
48
|
+
readonly maxLength: 35;
|
|
49
|
+
readonly description: "Optional BCP 47 language tag used by the provider search filter.";
|
|
50
|
+
readonly examples: readonly ["en"];
|
|
51
|
+
};
|
|
52
|
+
readonly domain: {
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
readonly minLength: 1;
|
|
55
|
+
readonly maxLength: 253;
|
|
56
|
+
readonly description: "Optional hostname that matching posts must link to.";
|
|
57
|
+
readonly examples: readonly ["example.org"];
|
|
58
|
+
};
|
|
59
|
+
readonly url: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly minLength: 1;
|
|
62
|
+
readonly maxLength: 2048;
|
|
63
|
+
readonly description: "Optional absolute URL that matching posts must link to.";
|
|
64
|
+
readonly examples: readonly ["https://example.org/report"];
|
|
65
|
+
};
|
|
66
|
+
readonly tags: {
|
|
67
|
+
readonly type: "array";
|
|
68
|
+
readonly minItems: 1;
|
|
69
|
+
readonly maxItems: 8;
|
|
70
|
+
readonly uniqueItems: true;
|
|
71
|
+
readonly description: "Hashtag filters without a leading #; repeated values use the provider's documented AND matching.";
|
|
72
|
+
readonly examples: readonly [readonly ["climate", "policy"]];
|
|
73
|
+
readonly items: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
readonly minLength: 1;
|
|
76
|
+
readonly maxLength: 64;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly applyServerTimeFilter: {
|
|
80
|
+
readonly type: "boolean";
|
|
81
|
+
readonly description: "Whether searchPosts receives since/until. Set false only for a historical-coverage diagnostic; the client-side UTC window still applies.";
|
|
82
|
+
readonly examples: readonly [true];
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "object";
|
|
87
|
+
readonly additionalProperties: false;
|
|
88
|
+
readonly required: readonly ["mode", "actor"];
|
|
89
|
+
readonly properties: {
|
|
90
|
+
readonly mode: {
|
|
91
|
+
readonly const: "author-feed";
|
|
92
|
+
readonly description: "Selects the public app.bsky.feed.getAuthorFeed seed source.";
|
|
93
|
+
readonly examples: readonly ["author-feed"];
|
|
94
|
+
};
|
|
95
|
+
readonly actor: {
|
|
96
|
+
readonly type: "string";
|
|
97
|
+
readonly minLength: 1;
|
|
98
|
+
readonly maxLength: 253;
|
|
99
|
+
readonly description: "Bluesky handle or DID whose public author feed is requested.";
|
|
100
|
+
readonly examples: readonly ["alice.bsky.social"];
|
|
101
|
+
};
|
|
102
|
+
readonly filter: {
|
|
103
|
+
readonly enum: readonly ["posts_with_replies", "posts_no_replies", "posts_with_media", "posts_and_author_threads", "posts_with_video"];
|
|
104
|
+
readonly description: "Provider-defined combination of post and repost types to include.";
|
|
105
|
+
readonly examples: readonly ["posts_with_replies"];
|
|
106
|
+
};
|
|
107
|
+
readonly includePins: {
|
|
108
|
+
readonly type: "boolean";
|
|
109
|
+
readonly description: "Whether the provider may include pinned posts in the author feed.";
|
|
110
|
+
readonly examples: readonly [false];
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}, {
|
|
114
|
+
readonly type: "object";
|
|
115
|
+
readonly additionalProperties: false;
|
|
116
|
+
readonly required: readonly ["mode", "feedUri"];
|
|
117
|
+
readonly properties: {
|
|
118
|
+
readonly mode: {
|
|
119
|
+
readonly const: "feed";
|
|
120
|
+
readonly description: "Selects app.bsky.feed.getFeed for one public feed-generator AT-URI.";
|
|
121
|
+
readonly examples: readonly ["feed"];
|
|
122
|
+
};
|
|
123
|
+
readonly feedUri: {
|
|
124
|
+
readonly type: "string";
|
|
125
|
+
readonly pattern: "^at://[^/]+/[^/]+/[^/]+$";
|
|
126
|
+
readonly maxLength: 2048;
|
|
127
|
+
readonly description: "AT-URI of the public feed-generator record to read.";
|
|
128
|
+
readonly examples: readonly ["at://did:plc:example/app.bsky.feed.generator/news"];
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
}, {
|
|
132
|
+
readonly type: "object";
|
|
133
|
+
readonly additionalProperties: false;
|
|
134
|
+
readonly required: readonly ["mode", "listUri"];
|
|
135
|
+
readonly properties: {
|
|
136
|
+
readonly mode: {
|
|
137
|
+
readonly const: "list-feed";
|
|
138
|
+
readonly description: "Selects app.bsky.feed.getListFeed for one public list AT-URI.";
|
|
139
|
+
readonly examples: readonly ["list-feed"];
|
|
140
|
+
};
|
|
141
|
+
readonly listUri: {
|
|
142
|
+
readonly type: "string";
|
|
143
|
+
readonly pattern: "^at://[^/]+/[^/]+/[^/]+$";
|
|
144
|
+
readonly maxLength: 2048;
|
|
145
|
+
readonly description: "AT-URI of the public list record whose recent feed is requested.";
|
|
146
|
+
readonly examples: readonly ["at://did:plc:example/app.bsky.graph.list/news"];
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
}];
|
|
150
|
+
readonly description: "Exactly one public Bluesky seed source: search, author feed, feed generator, or list feed.";
|
|
151
|
+
readonly examples: readonly [{
|
|
152
|
+
readonly mode: "search";
|
|
153
|
+
readonly query: "climate policy";
|
|
154
|
+
readonly sort: "latest";
|
|
155
|
+
}];
|
|
156
|
+
};
|
|
157
|
+
readonly startDateTime: {
|
|
158
|
+
readonly type: "string";
|
|
159
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,9})?Z$";
|
|
160
|
+
readonly description: "Optional inclusive UTC bound applied to the post record createdAt timestamp, falling back to indexedAt only when createdAt is unavailable.";
|
|
161
|
+
readonly examples: readonly ["2026-03-10T00:00:00Z"];
|
|
162
|
+
};
|
|
163
|
+
readonly endDateTime: {
|
|
164
|
+
readonly type: "string";
|
|
165
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,9})?Z$";
|
|
166
|
+
readonly description: "Optional exclusive UTC bound applied to the post record createdAt timestamp, falling back to indexedAt only when createdAt is unavailable.";
|
|
167
|
+
readonly examples: readonly ["2026-03-11T00:00:00Z"];
|
|
168
|
+
};
|
|
169
|
+
readonly pageSize: {
|
|
170
|
+
readonly type: "integer";
|
|
171
|
+
readonly minimum: 1;
|
|
172
|
+
readonly maximum: 100;
|
|
173
|
+
readonly description: "Maximum seed posts requested from the provider per source page.";
|
|
174
|
+
readonly examples: readonly [50];
|
|
175
|
+
};
|
|
176
|
+
readonly expandThreads: {
|
|
177
|
+
readonly type: "boolean";
|
|
178
|
+
readonly description: "Whether each selected seed should be expanded through app.bsky.feed.getPostThread.";
|
|
179
|
+
readonly examples: readonly [true];
|
|
180
|
+
};
|
|
181
|
+
readonly maxThreads: {
|
|
182
|
+
readonly type: "integer";
|
|
183
|
+
readonly minimum: 1;
|
|
184
|
+
readonly maximum: 100;
|
|
185
|
+
readonly description: "Maximum selected seed threads to expand; the operation request and record limits remain authoritative.";
|
|
186
|
+
readonly examples: readonly [20];
|
|
187
|
+
};
|
|
188
|
+
readonly threadDepth: {
|
|
189
|
+
readonly type: "integer";
|
|
190
|
+
readonly minimum: 0;
|
|
191
|
+
readonly maximum: 100;
|
|
192
|
+
readonly description: "Maximum reply depth requested from app.bsky.feed.getPostThread.";
|
|
193
|
+
readonly examples: readonly [8];
|
|
194
|
+
};
|
|
195
|
+
readonly threadParentHeight: {
|
|
196
|
+
readonly type: "integer";
|
|
197
|
+
readonly minimum: 0;
|
|
198
|
+
readonly maximum: 100;
|
|
199
|
+
readonly description: "Maximum parent-chain height requested for each expanded thread.";
|
|
200
|
+
readonly examples: readonly [5];
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
export declare const BLUESKY_CASCADE_OUTPUT_SCHEMA: {
|
|
205
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
206
|
+
readonly $id: "https://schemas.tiangong.ai/data/bluesky/public-post-cascades-output.v1.json";
|
|
207
|
+
readonly type: "object";
|
|
208
|
+
readonly additionalProperties: false;
|
|
209
|
+
readonly required: readonly ["source", "query", "pages", "hitsTotal", "seedPosts", "cascades", "failures", "stopReason"];
|
|
210
|
+
readonly properties: {
|
|
211
|
+
readonly source: {
|
|
212
|
+
readonly type: "object";
|
|
213
|
+
readonly additionalProperties: false;
|
|
214
|
+
readonly required: readonly ["providerId", "baseUrl", "fallbackBaseUrl", "fallbackUsed", "publicContent", "userGeneratedContent"];
|
|
215
|
+
readonly properties: {
|
|
216
|
+
readonly providerId: {
|
|
217
|
+
readonly const: "bluesky";
|
|
218
|
+
};
|
|
219
|
+
readonly baseUrl: {
|
|
220
|
+
readonly const: "https://public.api.bsky.app";
|
|
221
|
+
};
|
|
222
|
+
readonly fallbackBaseUrl: {
|
|
223
|
+
readonly const: "https://api.bsky.app";
|
|
224
|
+
};
|
|
225
|
+
readonly fallbackUsed: {
|
|
226
|
+
readonly type: "boolean";
|
|
227
|
+
};
|
|
228
|
+
readonly publicContent: {
|
|
229
|
+
readonly const: true;
|
|
230
|
+
};
|
|
231
|
+
readonly userGeneratedContent: {
|
|
232
|
+
readonly const: true;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
readonly query: {
|
|
237
|
+
readonly type: "object";
|
|
238
|
+
readonly additionalProperties: false;
|
|
239
|
+
readonly required: readonly ["source", "startDateTime", "endDateTime", "pageSize", "expandThreads", "maxThreads", "threadDepth", "threadParentHeight"];
|
|
240
|
+
readonly properties: {
|
|
241
|
+
readonly source: {
|
|
242
|
+
readonly oneOf: readonly [{
|
|
243
|
+
readonly type: "object";
|
|
244
|
+
readonly additionalProperties: false;
|
|
245
|
+
readonly required: readonly ["mode", "query"];
|
|
246
|
+
readonly properties: {
|
|
247
|
+
readonly mode: {
|
|
248
|
+
readonly const: "search";
|
|
249
|
+
readonly description: "Selects the public app.bsky.feed.searchPosts seed source.";
|
|
250
|
+
readonly examples: readonly ["search"];
|
|
251
|
+
};
|
|
252
|
+
readonly query: {
|
|
253
|
+
readonly type: "string";
|
|
254
|
+
readonly minLength: 1;
|
|
255
|
+
readonly maxLength: 1000;
|
|
256
|
+
readonly description: "Provider search query; Bluesky documents search syntax and ranking as implementation dependent.";
|
|
257
|
+
readonly examples: readonly ["climate policy"];
|
|
258
|
+
};
|
|
259
|
+
readonly sort: {
|
|
260
|
+
readonly enum: readonly ["latest", "top"];
|
|
261
|
+
readonly description: "Bluesky search ranking order; latest is the default.";
|
|
262
|
+
readonly examples: readonly ["latest"];
|
|
263
|
+
};
|
|
264
|
+
readonly author: {
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
readonly minLength: 1;
|
|
267
|
+
readonly maxLength: 253;
|
|
268
|
+
readonly description: "Optional Bluesky handle or DID whose posts must match.";
|
|
269
|
+
readonly examples: readonly ["alice.bsky.social"];
|
|
270
|
+
};
|
|
271
|
+
readonly mentions: {
|
|
272
|
+
readonly type: "string";
|
|
273
|
+
readonly minLength: 1;
|
|
274
|
+
readonly maxLength: 253;
|
|
275
|
+
readonly description: "Optional Bluesky handle or DID that matching posts must mention.";
|
|
276
|
+
readonly examples: readonly ["climate.bsky.social"];
|
|
277
|
+
};
|
|
278
|
+
readonly language: {
|
|
279
|
+
readonly type: "string";
|
|
280
|
+
readonly minLength: 2;
|
|
281
|
+
readonly maxLength: 35;
|
|
282
|
+
readonly description: "Optional BCP 47 language tag used by the provider search filter.";
|
|
283
|
+
readonly examples: readonly ["en"];
|
|
284
|
+
};
|
|
285
|
+
readonly domain: {
|
|
286
|
+
readonly type: "string";
|
|
287
|
+
readonly minLength: 1;
|
|
288
|
+
readonly maxLength: 253;
|
|
289
|
+
readonly description: "Optional hostname that matching posts must link to.";
|
|
290
|
+
readonly examples: readonly ["example.org"];
|
|
291
|
+
};
|
|
292
|
+
readonly url: {
|
|
293
|
+
readonly type: "string";
|
|
294
|
+
readonly minLength: 1;
|
|
295
|
+
readonly maxLength: 2048;
|
|
296
|
+
readonly description: "Optional absolute URL that matching posts must link to.";
|
|
297
|
+
readonly examples: readonly ["https://example.org/report"];
|
|
298
|
+
};
|
|
299
|
+
readonly tags: {
|
|
300
|
+
readonly type: "array";
|
|
301
|
+
readonly minItems: 1;
|
|
302
|
+
readonly maxItems: 8;
|
|
303
|
+
readonly uniqueItems: true;
|
|
304
|
+
readonly description: "Hashtag filters without a leading #; repeated values use the provider's documented AND matching.";
|
|
305
|
+
readonly examples: readonly [readonly ["climate", "policy"]];
|
|
306
|
+
readonly items: {
|
|
307
|
+
readonly type: "string";
|
|
308
|
+
readonly minLength: 1;
|
|
309
|
+
readonly maxLength: 64;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
readonly applyServerTimeFilter: {
|
|
313
|
+
readonly type: "boolean";
|
|
314
|
+
readonly description: "Whether searchPosts receives since/until. Set false only for a historical-coverage diagnostic; the client-side UTC window still applies.";
|
|
315
|
+
readonly examples: readonly [true];
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
}, {
|
|
319
|
+
readonly type: "object";
|
|
320
|
+
readonly additionalProperties: false;
|
|
321
|
+
readonly required: readonly ["mode", "actor"];
|
|
322
|
+
readonly properties: {
|
|
323
|
+
readonly mode: {
|
|
324
|
+
readonly const: "author-feed";
|
|
325
|
+
readonly description: "Selects the public app.bsky.feed.getAuthorFeed seed source.";
|
|
326
|
+
readonly examples: readonly ["author-feed"];
|
|
327
|
+
};
|
|
328
|
+
readonly actor: {
|
|
329
|
+
readonly type: "string";
|
|
330
|
+
readonly minLength: 1;
|
|
331
|
+
readonly maxLength: 253;
|
|
332
|
+
readonly description: "Bluesky handle or DID whose public author feed is requested.";
|
|
333
|
+
readonly examples: readonly ["alice.bsky.social"];
|
|
334
|
+
};
|
|
335
|
+
readonly filter: {
|
|
336
|
+
readonly enum: readonly ["posts_with_replies", "posts_no_replies", "posts_with_media", "posts_and_author_threads", "posts_with_video"];
|
|
337
|
+
readonly description: "Provider-defined combination of post and repost types to include.";
|
|
338
|
+
readonly examples: readonly ["posts_with_replies"];
|
|
339
|
+
};
|
|
340
|
+
readonly includePins: {
|
|
341
|
+
readonly type: "boolean";
|
|
342
|
+
readonly description: "Whether the provider may include pinned posts in the author feed.";
|
|
343
|
+
readonly examples: readonly [false];
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
}, {
|
|
347
|
+
readonly type: "object";
|
|
348
|
+
readonly additionalProperties: false;
|
|
349
|
+
readonly required: readonly ["mode", "feedUri"];
|
|
350
|
+
readonly properties: {
|
|
351
|
+
readonly mode: {
|
|
352
|
+
readonly const: "feed";
|
|
353
|
+
readonly description: "Selects app.bsky.feed.getFeed for one public feed-generator AT-URI.";
|
|
354
|
+
readonly examples: readonly ["feed"];
|
|
355
|
+
};
|
|
356
|
+
readonly feedUri: {
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly pattern: "^at://[^/]+/[^/]+/[^/]+$";
|
|
359
|
+
readonly maxLength: 2048;
|
|
360
|
+
readonly description: "AT-URI of the public feed-generator record to read.";
|
|
361
|
+
readonly examples: readonly ["at://did:plc:example/app.bsky.feed.generator/news"];
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
}, {
|
|
365
|
+
readonly type: "object";
|
|
366
|
+
readonly additionalProperties: false;
|
|
367
|
+
readonly required: readonly ["mode", "listUri"];
|
|
368
|
+
readonly properties: {
|
|
369
|
+
readonly mode: {
|
|
370
|
+
readonly const: "list-feed";
|
|
371
|
+
readonly description: "Selects app.bsky.feed.getListFeed for one public list AT-URI.";
|
|
372
|
+
readonly examples: readonly ["list-feed"];
|
|
373
|
+
};
|
|
374
|
+
readonly listUri: {
|
|
375
|
+
readonly type: "string";
|
|
376
|
+
readonly pattern: "^at://[^/]+/[^/]+/[^/]+$";
|
|
377
|
+
readonly maxLength: 2048;
|
|
378
|
+
readonly description: "AT-URI of the public list record whose recent feed is requested.";
|
|
379
|
+
readonly examples: readonly ["at://did:plc:example/app.bsky.graph.list/news"];
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
}];
|
|
383
|
+
};
|
|
384
|
+
readonly startDateTime: {
|
|
385
|
+
readonly type: readonly ["string", "null"];
|
|
386
|
+
};
|
|
387
|
+
readonly endDateTime: {
|
|
388
|
+
readonly type: readonly ["string", "null"];
|
|
389
|
+
};
|
|
390
|
+
readonly pageSize: {
|
|
391
|
+
readonly type: "integer";
|
|
392
|
+
readonly minimum: 1;
|
|
393
|
+
readonly maximum: 100;
|
|
394
|
+
};
|
|
395
|
+
readonly expandThreads: {
|
|
396
|
+
readonly type: "boolean";
|
|
397
|
+
};
|
|
398
|
+
readonly maxThreads: {
|
|
399
|
+
readonly type: "integer";
|
|
400
|
+
readonly minimum: 1;
|
|
401
|
+
readonly maximum: 100;
|
|
402
|
+
};
|
|
403
|
+
readonly threadDepth: {
|
|
404
|
+
readonly type: "integer";
|
|
405
|
+
readonly minimum: 0;
|
|
406
|
+
readonly maximum: 100;
|
|
407
|
+
};
|
|
408
|
+
readonly threadParentHeight: {
|
|
409
|
+
readonly type: "integer";
|
|
410
|
+
readonly minimum: 0;
|
|
411
|
+
readonly maximum: 100;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
readonly pages: {
|
|
416
|
+
readonly type: "array";
|
|
417
|
+
readonly items: {
|
|
418
|
+
readonly type: "object";
|
|
419
|
+
readonly additionalProperties: false;
|
|
420
|
+
readonly required: readonly ["pageNumber", "inputRecords", "selectedRecords", "invalidRecords"];
|
|
421
|
+
readonly properties: {
|
|
422
|
+
readonly pageNumber: {
|
|
423
|
+
readonly type: "integer";
|
|
424
|
+
readonly minimum: 1;
|
|
425
|
+
};
|
|
426
|
+
readonly inputRecords: {
|
|
427
|
+
readonly type: "integer";
|
|
428
|
+
readonly minimum: 0;
|
|
429
|
+
};
|
|
430
|
+
readonly selectedRecords: {
|
|
431
|
+
readonly type: "integer";
|
|
432
|
+
readonly minimum: 0;
|
|
433
|
+
};
|
|
434
|
+
readonly invalidRecords: {
|
|
435
|
+
readonly type: "integer";
|
|
436
|
+
readonly minimum: 0;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
readonly hitsTotal: {
|
|
442
|
+
readonly type: readonly ["integer", "null"];
|
|
443
|
+
readonly minimum: 0;
|
|
444
|
+
readonly description: "Provider-reported search hit estimate when searchPosts supplies hitsTotal.";
|
|
445
|
+
};
|
|
446
|
+
readonly seedPosts: {
|
|
447
|
+
readonly type: "array";
|
|
448
|
+
readonly items: {
|
|
449
|
+
readonly type: "object";
|
|
450
|
+
readonly additionalProperties: false;
|
|
451
|
+
readonly required: readonly ["uri", "cid", "author", "createdAt", "indexedAt", "timestampUtc", "timestampSource", "text", "languages", "reply", "counters"];
|
|
452
|
+
readonly properties: {
|
|
453
|
+
readonly uri: {
|
|
454
|
+
readonly type: "string";
|
|
455
|
+
readonly minLength: 1;
|
|
456
|
+
};
|
|
457
|
+
readonly cid: {
|
|
458
|
+
readonly type: readonly ["string", "null"];
|
|
459
|
+
};
|
|
460
|
+
readonly author: {
|
|
461
|
+
readonly type: "object";
|
|
462
|
+
readonly additionalProperties: false;
|
|
463
|
+
readonly required: readonly ["did", "handle", "displayName"];
|
|
464
|
+
readonly properties: {
|
|
465
|
+
readonly did: {
|
|
466
|
+
readonly type: readonly ["string", "null"];
|
|
467
|
+
};
|
|
468
|
+
readonly handle: {
|
|
469
|
+
readonly type: readonly ["string", "null"];
|
|
470
|
+
};
|
|
471
|
+
readonly displayName: {
|
|
472
|
+
readonly type: readonly ["string", "null"];
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
readonly createdAt: {
|
|
477
|
+
readonly type: readonly ["string", "null"];
|
|
478
|
+
};
|
|
479
|
+
readonly indexedAt: {
|
|
480
|
+
readonly type: readonly ["string", "null"];
|
|
481
|
+
};
|
|
482
|
+
readonly timestampUtc: {
|
|
483
|
+
readonly type: readonly ["string", "null"];
|
|
484
|
+
};
|
|
485
|
+
readonly timestampSource: {
|
|
486
|
+
readonly enum: readonly ["record.createdAt", "indexedAt", null];
|
|
487
|
+
};
|
|
488
|
+
readonly text: {
|
|
489
|
+
readonly type: "string";
|
|
490
|
+
};
|
|
491
|
+
readonly languages: {
|
|
492
|
+
readonly type: "array";
|
|
493
|
+
readonly items: {
|
|
494
|
+
readonly type: "string";
|
|
495
|
+
readonly minLength: 1;
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
readonly reply: {
|
|
499
|
+
readonly anyOf: readonly [{
|
|
500
|
+
readonly type: "object";
|
|
501
|
+
readonly additionalProperties: false;
|
|
502
|
+
readonly required: readonly ["rootUri", "parentUri"];
|
|
503
|
+
readonly properties: {
|
|
504
|
+
readonly rootUri: {
|
|
505
|
+
readonly type: readonly ["string", "null"];
|
|
506
|
+
};
|
|
507
|
+
readonly parentUri: {
|
|
508
|
+
readonly type: readonly ["string", "null"];
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
}, {
|
|
512
|
+
readonly type: "null";
|
|
513
|
+
}];
|
|
514
|
+
};
|
|
515
|
+
readonly counters: {
|
|
516
|
+
readonly type: "object";
|
|
517
|
+
readonly additionalProperties: false;
|
|
518
|
+
readonly required: readonly ["replyCount", "repostCount", "likeCount", "quoteCount"];
|
|
519
|
+
readonly properties: {
|
|
520
|
+
readonly replyCount: {
|
|
521
|
+
readonly type: readonly ["integer", "null"];
|
|
522
|
+
readonly minimum: 0;
|
|
523
|
+
};
|
|
524
|
+
readonly repostCount: {
|
|
525
|
+
readonly type: readonly ["integer", "null"];
|
|
526
|
+
readonly minimum: 0;
|
|
527
|
+
};
|
|
528
|
+
readonly likeCount: {
|
|
529
|
+
readonly type: readonly ["integer", "null"];
|
|
530
|
+
readonly minimum: 0;
|
|
531
|
+
};
|
|
532
|
+
readonly quoteCount: {
|
|
533
|
+
readonly type: readonly ["integer", "null"];
|
|
534
|
+
readonly minimum: 0;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
readonly cascades: {
|
|
542
|
+
readonly type: "array";
|
|
543
|
+
readonly items: {
|
|
544
|
+
readonly type: "object";
|
|
545
|
+
readonly additionalProperties: false;
|
|
546
|
+
readonly required: readonly ["seedUri", "rootUri", "nodes", "truncated", "validation"];
|
|
547
|
+
readonly properties: {
|
|
548
|
+
readonly seedUri: {
|
|
549
|
+
readonly type: "string";
|
|
550
|
+
readonly minLength: 1;
|
|
551
|
+
};
|
|
552
|
+
readonly rootUri: {
|
|
553
|
+
readonly type: readonly ["string", "null"];
|
|
554
|
+
};
|
|
555
|
+
readonly nodes: {
|
|
556
|
+
readonly type: "array";
|
|
557
|
+
readonly items: {
|
|
558
|
+
readonly type: "object";
|
|
559
|
+
readonly additionalProperties: false;
|
|
560
|
+
readonly required: readonly ["state", "uri", "parentUri", "depth", "post"];
|
|
561
|
+
readonly properties: {
|
|
562
|
+
readonly state: {
|
|
563
|
+
readonly enum: readonly ["post", "blocked", "not-found"];
|
|
564
|
+
};
|
|
565
|
+
readonly uri: {
|
|
566
|
+
readonly type: readonly ["string", "null"];
|
|
567
|
+
};
|
|
568
|
+
readonly parentUri: {
|
|
569
|
+
readonly type: readonly ["string", "null"];
|
|
570
|
+
};
|
|
571
|
+
readonly depth: {
|
|
572
|
+
readonly type: "integer";
|
|
573
|
+
readonly minimum: 0;
|
|
574
|
+
};
|
|
575
|
+
readonly post: {
|
|
576
|
+
readonly anyOf: readonly [{
|
|
577
|
+
readonly type: "object";
|
|
578
|
+
readonly additionalProperties: false;
|
|
579
|
+
readonly required: readonly ["uri", "cid", "author", "createdAt", "indexedAt", "timestampUtc", "timestampSource", "text", "languages", "reply", "counters"];
|
|
580
|
+
readonly properties: {
|
|
581
|
+
readonly uri: {
|
|
582
|
+
readonly type: "string";
|
|
583
|
+
readonly minLength: 1;
|
|
584
|
+
};
|
|
585
|
+
readonly cid: {
|
|
586
|
+
readonly type: readonly ["string", "null"];
|
|
587
|
+
};
|
|
588
|
+
readonly author: {
|
|
589
|
+
readonly type: "object";
|
|
590
|
+
readonly additionalProperties: false;
|
|
591
|
+
readonly required: readonly ["did", "handle", "displayName"];
|
|
592
|
+
readonly properties: {
|
|
593
|
+
readonly did: {
|
|
594
|
+
readonly type: readonly ["string", "null"];
|
|
595
|
+
};
|
|
596
|
+
readonly handle: {
|
|
597
|
+
readonly type: readonly ["string", "null"];
|
|
598
|
+
};
|
|
599
|
+
readonly displayName: {
|
|
600
|
+
readonly type: readonly ["string", "null"];
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
readonly createdAt: {
|
|
605
|
+
readonly type: readonly ["string", "null"];
|
|
606
|
+
};
|
|
607
|
+
readonly indexedAt: {
|
|
608
|
+
readonly type: readonly ["string", "null"];
|
|
609
|
+
};
|
|
610
|
+
readonly timestampUtc: {
|
|
611
|
+
readonly type: readonly ["string", "null"];
|
|
612
|
+
};
|
|
613
|
+
readonly timestampSource: {
|
|
614
|
+
readonly enum: readonly ["record.createdAt", "indexedAt", null];
|
|
615
|
+
};
|
|
616
|
+
readonly text: {
|
|
617
|
+
readonly type: "string";
|
|
618
|
+
};
|
|
619
|
+
readonly languages: {
|
|
620
|
+
readonly type: "array";
|
|
621
|
+
readonly items: {
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
readonly minLength: 1;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
readonly reply: {
|
|
627
|
+
readonly anyOf: readonly [{
|
|
628
|
+
readonly type: "object";
|
|
629
|
+
readonly additionalProperties: false;
|
|
630
|
+
readonly required: readonly ["rootUri", "parentUri"];
|
|
631
|
+
readonly properties: {
|
|
632
|
+
readonly rootUri: {
|
|
633
|
+
readonly type: readonly ["string", "null"];
|
|
634
|
+
};
|
|
635
|
+
readonly parentUri: {
|
|
636
|
+
readonly type: readonly ["string", "null"];
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
}, {
|
|
640
|
+
readonly type: "null";
|
|
641
|
+
}];
|
|
642
|
+
};
|
|
643
|
+
readonly counters: {
|
|
644
|
+
readonly type: "object";
|
|
645
|
+
readonly additionalProperties: false;
|
|
646
|
+
readonly required: readonly ["replyCount", "repostCount", "likeCount", "quoteCount"];
|
|
647
|
+
readonly properties: {
|
|
648
|
+
readonly replyCount: {
|
|
649
|
+
readonly type: readonly ["integer", "null"];
|
|
650
|
+
readonly minimum: 0;
|
|
651
|
+
};
|
|
652
|
+
readonly repostCount: {
|
|
653
|
+
readonly type: readonly ["integer", "null"];
|
|
654
|
+
readonly minimum: 0;
|
|
655
|
+
};
|
|
656
|
+
readonly likeCount: {
|
|
657
|
+
readonly type: readonly ["integer", "null"];
|
|
658
|
+
readonly minimum: 0;
|
|
659
|
+
};
|
|
660
|
+
readonly quoteCount: {
|
|
661
|
+
readonly type: readonly ["integer", "null"];
|
|
662
|
+
readonly minimum: 0;
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
}, {
|
|
668
|
+
readonly type: "null";
|
|
669
|
+
}];
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
readonly truncated: {
|
|
675
|
+
readonly type: "boolean";
|
|
676
|
+
};
|
|
677
|
+
readonly validation: {
|
|
678
|
+
readonly type: "object";
|
|
679
|
+
readonly additionalProperties: false;
|
|
680
|
+
readonly required: readonly ["maxDepth", "maxBranchingFactor", "orphanCount", "missingNodeCount", "issues"];
|
|
681
|
+
readonly properties: {
|
|
682
|
+
readonly maxDepth: {
|
|
683
|
+
readonly type: "integer";
|
|
684
|
+
readonly minimum: 0;
|
|
685
|
+
};
|
|
686
|
+
readonly maxBranchingFactor: {
|
|
687
|
+
readonly type: "integer";
|
|
688
|
+
readonly minimum: 0;
|
|
689
|
+
};
|
|
690
|
+
readonly orphanCount: {
|
|
691
|
+
readonly type: "integer";
|
|
692
|
+
readonly minimum: 0;
|
|
693
|
+
};
|
|
694
|
+
readonly missingNodeCount: {
|
|
695
|
+
readonly type: "integer";
|
|
696
|
+
readonly minimum: 0;
|
|
697
|
+
};
|
|
698
|
+
readonly issues: {
|
|
699
|
+
readonly type: "array";
|
|
700
|
+
readonly maxItems: 100;
|
|
701
|
+
readonly items: {
|
|
702
|
+
readonly type: "string";
|
|
703
|
+
readonly minLength: 1;
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
readonly failures: {
|
|
712
|
+
readonly type: "array";
|
|
713
|
+
readonly items: {
|
|
714
|
+
readonly type: "object";
|
|
715
|
+
readonly additionalProperties: false;
|
|
716
|
+
readonly required: readonly ["seedUri", "code"];
|
|
717
|
+
readonly properties: {
|
|
718
|
+
readonly seedUri: {
|
|
719
|
+
readonly type: "string";
|
|
720
|
+
readonly minLength: 1;
|
|
721
|
+
};
|
|
722
|
+
readonly code: {
|
|
723
|
+
readonly type: "string";
|
|
724
|
+
readonly minLength: 1;
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
readonly stopReason: {
|
|
730
|
+
readonly enum: readonly ["completed", "no-results", "max-pages", "max-records", "partial"];
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
};
|