@secondlayer/shared 0.10.1 → 0.11.0
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/dist/src/db/index.d.ts +181 -2
- package/dist/src/db/queries/accounts.d.ts +158 -2
- package/dist/src/db/queries/accounts.js +17 -1
- package/dist/src/db/queries/accounts.js.map +3 -3
- package/dist/src/db/queries/integrity.d.ts +151 -1
- package/dist/src/db/queries/marketplace.d.ts +463 -0
- package/dist/src/db/queries/marketplace.js +142 -0
- package/dist/src/db/queries/marketplace.js.map +10 -0
- package/dist/src/db/queries/metrics.d.ts +151 -1
- package/dist/src/db/queries/projects.d.ts +423 -0
- package/dist/src/db/queries/projects.js +47 -0
- package/dist/src/db/queries/projects.js.map +10 -0
- package/dist/src/db/queries/subgraph-gaps.d.ts +151 -1
- package/dist/src/db/queries/subgraphs.d.ts +158 -6
- package/dist/src/db/queries/subgraphs.js +16 -13
- package/dist/src/db/queries/subgraphs.js.map +3 -3
- package/dist/src/db/queries/usage.d.ts +151 -1
- package/dist/src/db/queries/workflows.d.ts +439 -0
- package/dist/src/db/queries/workflows.js +115 -0
- package/dist/src/db/queries/workflows.js.map +11 -0
- package/dist/src/db/schema.d.ts +181 -2
- package/dist/src/index.d.ts +251 -10
- package/dist/src/index.js +91 -72
- package/dist/src/index.js.map +4 -3
- package/dist/src/node/hiro-pg-client.js +5 -3
- package/dist/src/node/hiro-pg-client.js.map +3 -3
- package/dist/src/node/local-client.d.ts +155 -1
- package/dist/src/node/local-client.js +19 -9
- package/dist/src/node/local-client.js.map +3 -3
- package/dist/src/schemas/index.d.ts +71 -9
- package/dist/src/schemas/index.js +93 -74
- package/dist/src/schemas/index.js.map +4 -3
- package/dist/src/schemas/marketplace.d.ts +63 -0
- package/dist/src/schemas/marketplace.js +39 -0
- package/dist/src/schemas/marketplace.js.map +10 -0
- package/dist/src/schemas/workflows.d.ts +66 -0
- package/dist/src/schemas/workflows.js +39 -0
- package/dist/src/schemas/workflows.js.map +10 -0
- package/dist/src/types.d.ts +3 -0
- package/migrations/0021_tx_function_args_result.ts +27 -0
- package/migrations/0022_marketplace.ts +88 -0
- package/migrations/0023_projects.ts +149 -0
- package/migrations/0024_chat_sessions.ts +51 -0
- package/migrations/0025_chat_session_summary.ts +15 -0
- package/migrations/0026_workflows.ts +204 -0
- package/migrations/0027_workflow_cursors.ts +16 -0
- package/migrations/0028_subgraph_account_scoping.ts +116 -0
- package/package.json +22 -2
|
@@ -18,6 +18,8 @@ interface TransactionsTable {
|
|
|
18
18
|
status: string;
|
|
19
19
|
contract_id: string | null;
|
|
20
20
|
function_name: string | null;
|
|
21
|
+
function_args: Generated<unknown | null>;
|
|
22
|
+
raw_result: Generated<string | null>;
|
|
21
23
|
raw_tx: string;
|
|
22
24
|
created_at: Generated<Date>;
|
|
23
25
|
}
|
|
@@ -39,6 +41,7 @@ interface StreamsTable {
|
|
|
39
41
|
endpoint_url: string;
|
|
40
42
|
signing_secret: string | null;
|
|
41
43
|
api_key_id: string;
|
|
44
|
+
project_id: string | null;
|
|
42
45
|
created_at: Generated<Date>;
|
|
43
46
|
updated_at: Generated<Date>;
|
|
44
47
|
}
|
|
@@ -100,7 +103,13 @@ interface SubgraphsTable {
|
|
|
100
103
|
last_error_at: Date | null;
|
|
101
104
|
total_processed: Generated<number>;
|
|
102
105
|
total_errors: Generated<number>;
|
|
103
|
-
api_key_id: string;
|
|
106
|
+
api_key_id: string | null;
|
|
107
|
+
account_id: string;
|
|
108
|
+
project_id: string | null;
|
|
109
|
+
is_public: Generated<boolean>;
|
|
110
|
+
tags: Generated<string[]>;
|
|
111
|
+
description: string | null;
|
|
112
|
+
forked_from_id: string | null;
|
|
104
113
|
created_at: Generated<Date>;
|
|
105
114
|
updated_at: Generated<Date>;
|
|
106
115
|
}
|
|
@@ -131,6 +140,10 @@ interface AccountsTable {
|
|
|
131
140
|
id: Generated<string>;
|
|
132
141
|
email: string;
|
|
133
142
|
plan: Generated<string>;
|
|
143
|
+
display_name: string | null;
|
|
144
|
+
bio: string | null;
|
|
145
|
+
avatar_url: string | null;
|
|
146
|
+
slug: string | null;
|
|
134
147
|
created_at: Generated<Date>;
|
|
135
148
|
}
|
|
136
149
|
interface SessionsTable {
|
|
@@ -231,6 +244,131 @@ interface SubgraphHealthSnapshotsTable {
|
|
|
231
244
|
last_processed_block: number | null;
|
|
232
245
|
captured_at: Generated<Date>;
|
|
233
246
|
}
|
|
247
|
+
interface SubgraphUsageDailyTable {
|
|
248
|
+
subgraph_id: string;
|
|
249
|
+
date: string;
|
|
250
|
+
query_count: Generated<number>;
|
|
251
|
+
}
|
|
252
|
+
interface ProjectsTable {
|
|
253
|
+
id: Generated<string>;
|
|
254
|
+
name: string;
|
|
255
|
+
slug: string;
|
|
256
|
+
account_id: string;
|
|
257
|
+
settings: Generated<Record<string, unknown>>;
|
|
258
|
+
network: Generated<string>;
|
|
259
|
+
node_rpc: string | null;
|
|
260
|
+
created_at: Generated<Date>;
|
|
261
|
+
updated_at: Generated<Date>;
|
|
262
|
+
}
|
|
263
|
+
interface TeamMembersTable {
|
|
264
|
+
id: Generated<string>;
|
|
265
|
+
project_id: string;
|
|
266
|
+
account_id: string;
|
|
267
|
+
role: Generated<string>;
|
|
268
|
+
invited_by: string | null;
|
|
269
|
+
created_at: Generated<Date>;
|
|
270
|
+
}
|
|
271
|
+
interface TeamInvitationsTable {
|
|
272
|
+
id: Generated<string>;
|
|
273
|
+
project_id: string;
|
|
274
|
+
email: string;
|
|
275
|
+
role: Generated<string>;
|
|
276
|
+
token: string;
|
|
277
|
+
invited_by: string | null;
|
|
278
|
+
expires_at: Date;
|
|
279
|
+
accepted_at: Date | null;
|
|
280
|
+
created_at: Generated<Date>;
|
|
281
|
+
}
|
|
282
|
+
interface ChatSessionsTable {
|
|
283
|
+
id: Generated<string>;
|
|
284
|
+
account_id: string;
|
|
285
|
+
title: string | null;
|
|
286
|
+
summary: unknown | null;
|
|
287
|
+
created_at: Generated<Date>;
|
|
288
|
+
updated_at: Generated<Date>;
|
|
289
|
+
}
|
|
290
|
+
interface ChatMessagesTable {
|
|
291
|
+
id: Generated<string>;
|
|
292
|
+
chat_session_id: string;
|
|
293
|
+
role: string;
|
|
294
|
+
parts: unknown;
|
|
295
|
+
metadata: unknown | null;
|
|
296
|
+
created_at: Generated<Date>;
|
|
297
|
+
}
|
|
298
|
+
interface WorkflowDefinitionsTable {
|
|
299
|
+
id: Generated<string>;
|
|
300
|
+
name: string;
|
|
301
|
+
version: Generated<string>;
|
|
302
|
+
status: Generated<string>;
|
|
303
|
+
trigger_type: string;
|
|
304
|
+
trigger_config: unknown;
|
|
305
|
+
handler_path: string;
|
|
306
|
+
retries_config: unknown | null;
|
|
307
|
+
timeout_ms: number | null;
|
|
308
|
+
api_key_id: string;
|
|
309
|
+
project_id: string | null;
|
|
310
|
+
created_at: Generated<Date>;
|
|
311
|
+
updated_at: Generated<Date>;
|
|
312
|
+
}
|
|
313
|
+
interface WorkflowRunsTable {
|
|
314
|
+
id: Generated<string>;
|
|
315
|
+
definition_id: string;
|
|
316
|
+
status: Generated<string>;
|
|
317
|
+
trigger_type: string;
|
|
318
|
+
trigger_data: unknown | null;
|
|
319
|
+
dedup_key: string | null;
|
|
320
|
+
error: string | null;
|
|
321
|
+
started_at: Date | null;
|
|
322
|
+
completed_at: Date | null;
|
|
323
|
+
duration_ms: number | null;
|
|
324
|
+
total_ai_tokens: Generated<number>;
|
|
325
|
+
created_at: Generated<Date>;
|
|
326
|
+
}
|
|
327
|
+
interface WorkflowStepsTable {
|
|
328
|
+
id: Generated<string>;
|
|
329
|
+
run_id: string;
|
|
330
|
+
step_index: number;
|
|
331
|
+
step_id: string;
|
|
332
|
+
step_type: string;
|
|
333
|
+
status: Generated<string>;
|
|
334
|
+
input: unknown | null;
|
|
335
|
+
output: unknown | null;
|
|
336
|
+
error: string | null;
|
|
337
|
+
retry_count: Generated<number>;
|
|
338
|
+
ai_tokens_used: Generated<number>;
|
|
339
|
+
started_at: Date | null;
|
|
340
|
+
completed_at: Date | null;
|
|
341
|
+
duration_ms: number | null;
|
|
342
|
+
created_at: Generated<Date>;
|
|
343
|
+
}
|
|
344
|
+
interface WorkflowQueueTable {
|
|
345
|
+
id: Generated<string>;
|
|
346
|
+
run_id: string;
|
|
347
|
+
status: Generated<string>;
|
|
348
|
+
attempts: Generated<number>;
|
|
349
|
+
max_attempts: Generated<number>;
|
|
350
|
+
scheduled_for: Generated<Date>;
|
|
351
|
+
locked_at: Date | null;
|
|
352
|
+
locked_by: string | null;
|
|
353
|
+
error: string | null;
|
|
354
|
+
created_at: Generated<Date>;
|
|
355
|
+
completed_at: Date | null;
|
|
356
|
+
}
|
|
357
|
+
interface WorkflowSchedulesTable {
|
|
358
|
+
id: Generated<string>;
|
|
359
|
+
definition_id: string;
|
|
360
|
+
cron_expr: string;
|
|
361
|
+
timezone: Generated<string>;
|
|
362
|
+
next_run_at: Date;
|
|
363
|
+
last_run_at: Date | null;
|
|
364
|
+
enabled: Generated<boolean>;
|
|
365
|
+
created_at: Generated<Date>;
|
|
366
|
+
}
|
|
367
|
+
interface WorkflowCursorsTable {
|
|
368
|
+
name: string;
|
|
369
|
+
block_height: Generated<number>;
|
|
370
|
+
updated_at: Generated<Date>;
|
|
371
|
+
}
|
|
234
372
|
interface Database {
|
|
235
373
|
blocks: BlocksTable;
|
|
236
374
|
transactions: TransactionsTable;
|
|
@@ -254,6 +392,18 @@ interface Database {
|
|
|
254
392
|
subgraph_processing_stats: SubgraphProcessingStatsTable;
|
|
255
393
|
subgraph_table_snapshots: SubgraphTableSnapshotsTable;
|
|
256
394
|
subgraph_gaps: SubgraphGapsTable;
|
|
395
|
+
subgraph_usage_daily: SubgraphUsageDailyTable;
|
|
396
|
+
projects: ProjectsTable;
|
|
397
|
+
team_members: TeamMembersTable;
|
|
398
|
+
team_invitations: TeamInvitationsTable;
|
|
399
|
+
chat_sessions: ChatSessionsTable;
|
|
400
|
+
chat_messages: ChatMessagesTable;
|
|
401
|
+
workflow_definitions: WorkflowDefinitionsTable;
|
|
402
|
+
workflow_runs: WorkflowRunsTable;
|
|
403
|
+
workflow_steps: WorkflowStepsTable;
|
|
404
|
+
workflow_queue: WorkflowQueueTable;
|
|
405
|
+
workflow_schedules: WorkflowSchedulesTable;
|
|
406
|
+
workflow_cursors: WorkflowCursorsTable;
|
|
257
407
|
}
|
|
258
408
|
/** Matches the NewBlockPayload shape expected by the indexer's /new_block endpoint */
|
|
259
409
|
interface ReplayBlockPayload {
|
|
@@ -277,6 +427,10 @@ interface ReplayTransactionPayload {
|
|
|
277
427
|
tx_index: number;
|
|
278
428
|
tx_type?: string;
|
|
279
429
|
sender_address?: string;
|
|
430
|
+
raw_result?: string | null;
|
|
431
|
+
contract_call?: {
|
|
432
|
+
function_args: string[]
|
|
433
|
+
};
|
|
280
434
|
}
|
|
281
435
|
interface ReplayEventPayload {
|
|
282
436
|
txid: string;
|
|
@@ -33,14 +33,24 @@ class LocalClient {
|
|
|
33
33
|
burn_block_timestamp: block.timestamp,
|
|
34
34
|
miner_txid: "",
|
|
35
35
|
timestamp: block.timestamp,
|
|
36
|
-
transactions: transactions.map((tx) =>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
transactions: transactions.map((tx) => {
|
|
37
|
+
const entry = {
|
|
38
|
+
txid: tx.tx_id,
|
|
39
|
+
raw_tx: tx.raw_tx,
|
|
40
|
+
status: tx.status,
|
|
41
|
+
tx_index: tx.tx_index,
|
|
42
|
+
tx_type: tx.type,
|
|
43
|
+
sender_address: tx.sender,
|
|
44
|
+
raw_result: tx.raw_result ?? null
|
|
45
|
+
};
|
|
46
|
+
if (tx.function_args) {
|
|
47
|
+
const args = typeof tx.function_args === "string" ? JSON.parse(tx.function_args) : tx.function_args;
|
|
48
|
+
if (Array.isArray(args)) {
|
|
49
|
+
entry.contract_call = { function_args: args };
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return entry;
|
|
53
|
+
}),
|
|
44
54
|
events: events.map((evt) => {
|
|
45
55
|
const data = evt.data ?? {};
|
|
46
56
|
const eventType = evt.type;
|
|
@@ -70,5 +80,5 @@ export {
|
|
|
70
80
|
LocalClient
|
|
71
81
|
};
|
|
72
82
|
|
|
73
|
-
//# debugId=
|
|
83
|
+
//# debugId=431DDE218D6D481C64756E2164756E21
|
|
74
84
|
//# sourceMappingURL=local-client.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/node/local-client.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"/**\n * Local replay client — reconstructs NewBlockPayload from our own Postgres.\n *\n * Used for re-orgs, reprocessing, and self-serve replay after genesis sync.\n * Eliminates need for self-hosted Hiro API for blocks already in our DB.\n */\n\nimport type { Kysely } from \"kysely\";\nimport type { Database } from \"../db/types.ts\";\n\n/** Matches the NewBlockPayload shape expected by the indexer's /new_block endpoint */\nexport interface ReplayBlockPayload {\n\tblock_hash: string;\n\tblock_height: number;\n\tindex_block_hash: string;\n\tparent_block_hash: string;\n\tparent_index_block_hash: string;\n\tburn_block_hash: string;\n\tburn_block_height: number;\n\tburn_block_timestamp: number;\n\tminer_txid: string;\n\ttimestamp: number;\n\ttransactions: ReplayTransactionPayload[];\n\tevents: ReplayEventPayload[];\n}\n\ninterface ReplayTransactionPayload {\n\ttxid: string;\n\traw_tx: string;\n\tstatus: string;\n\ttx_index: number;\n\ttx_type?: string;\n\tsender_address?: string;\n}\n\ninterface ReplayEventPayload {\n\ttxid: string;\n\tevent_index: number;\n\tcommitted: boolean;\n\ttype: string;\n\t[key: string]: unknown;\n}\n\nexport class LocalClient {\n\t/**\n\t * Reconstruct a NewBlockPayload from local DB for replay.\n\t * Returns null if block not found.\n\t */\n\tasync getBlockForReplay(\n\t\tdb: Kysely<Database>,\n\t\theight: number,\n\t): Promise<ReplayBlockPayload | null> {\n\t\tconst block = await db\n\t\t\t.selectFrom(\"blocks\")\n\t\t\t.selectAll()\n\t\t\t.where(\"height\", \"=\", height)\n\t\t\t.where(\"canonical\", \"=\", true)\n\t\t\t.executeTakeFirst();\n\n\t\tif (!block) return null;\n\n\t\tconst transactions = await db\n\t\t\t.selectFrom(\"transactions\")\n\t\t\t.selectAll()\n\t\t\t.where(\"block_height\", \"=\", height)\n\t\t\t.orderBy(\"tx_index\", \"asc\")\n\t\t\t.execute();\n\n\t\tconst events = await db\n\t\t\t.selectFrom(\"events\")\n\t\t\t.selectAll()\n\t\t\t.where(\"block_height\", \"=\", height)\n\t\t\t.orderBy(\"event_index\", \"asc\")\n\t\t\t.execute();\n\n\t\treturn {\n\t\t\tblock_hash: block.hash,\n\t\t\tblock_height: block.height,\n\t\t\t// Not stored in our DB — not needed by parser/deliveries\n\t\t\tindex_block_hash: \"\",\n\t\t\tparent_block_hash: block.parent_hash,\n\t\t\tparent_index_block_hash: \"\",\n\t\t\tburn_block_hash: \"\",\n\t\t\tburn_block_height: block.burn_block_height,\n\t\t\tburn_block_timestamp: block.timestamp,\n\t\t\tminer_txid: \"\",\n\t\t\ttimestamp: block.timestamp,\n\t\t\ttransactions: transactions.map((tx) =>
|
|
5
|
+
"/**\n * Local replay client — reconstructs NewBlockPayload from our own Postgres.\n *\n * Used for re-orgs, reprocessing, and self-serve replay after genesis sync.\n * Eliminates need for self-hosted Hiro API for blocks already in our DB.\n */\n\nimport type { Kysely } from \"kysely\";\nimport type { Database } from \"../db/types.ts\";\n\n/** Matches the NewBlockPayload shape expected by the indexer's /new_block endpoint */\nexport interface ReplayBlockPayload {\n\tblock_hash: string;\n\tblock_height: number;\n\tindex_block_hash: string;\n\tparent_block_hash: string;\n\tparent_index_block_hash: string;\n\tburn_block_hash: string;\n\tburn_block_height: number;\n\tburn_block_timestamp: number;\n\tminer_txid: string;\n\ttimestamp: number;\n\ttransactions: ReplayTransactionPayload[];\n\tevents: ReplayEventPayload[];\n}\n\ninterface ReplayTransactionPayload {\n\ttxid: string;\n\traw_tx: string;\n\tstatus: string;\n\ttx_index: number;\n\ttx_type?: string;\n\tsender_address?: string;\n\traw_result?: string | null;\n\tcontract_call?: { function_args: string[] };\n}\n\ninterface ReplayEventPayload {\n\ttxid: string;\n\tevent_index: number;\n\tcommitted: boolean;\n\ttype: string;\n\t[key: string]: unknown;\n}\n\nexport class LocalClient {\n\t/**\n\t * Reconstruct a NewBlockPayload from local DB for replay.\n\t * Returns null if block not found.\n\t */\n\tasync getBlockForReplay(\n\t\tdb: Kysely<Database>,\n\t\theight: number,\n\t): Promise<ReplayBlockPayload | null> {\n\t\tconst block = await db\n\t\t\t.selectFrom(\"blocks\")\n\t\t\t.selectAll()\n\t\t\t.where(\"height\", \"=\", height)\n\t\t\t.where(\"canonical\", \"=\", true)\n\t\t\t.executeTakeFirst();\n\n\t\tif (!block) return null;\n\n\t\tconst transactions = await db\n\t\t\t.selectFrom(\"transactions\")\n\t\t\t.selectAll()\n\t\t\t.where(\"block_height\", \"=\", height)\n\t\t\t.orderBy(\"tx_index\", \"asc\")\n\t\t\t.execute();\n\n\t\tconst events = await db\n\t\t\t.selectFrom(\"events\")\n\t\t\t.selectAll()\n\t\t\t.where(\"block_height\", \"=\", height)\n\t\t\t.orderBy(\"event_index\", \"asc\")\n\t\t\t.execute();\n\n\t\treturn {\n\t\t\tblock_hash: block.hash,\n\t\t\tblock_height: block.height,\n\t\t\t// Not stored in our DB — not needed by parser/deliveries\n\t\t\tindex_block_hash: \"\",\n\t\t\tparent_block_hash: block.parent_hash,\n\t\t\tparent_index_block_hash: \"\",\n\t\t\tburn_block_hash: \"\",\n\t\t\tburn_block_height: block.burn_block_height,\n\t\t\tburn_block_timestamp: block.timestamp,\n\t\t\tminer_txid: \"\",\n\t\t\ttimestamp: block.timestamp,\n\t\t\ttransactions: transactions.map((tx) => {\n\t\t\t\tconst entry: ReplayTransactionPayload = {\n\t\t\t\t\ttxid: tx.tx_id,\n\t\t\t\t\traw_tx: tx.raw_tx,\n\t\t\t\t\tstatus: tx.status,\n\t\t\t\t\ttx_index: tx.tx_index,\n\t\t\t\t\ttx_type: tx.type,\n\t\t\t\t\tsender_address: tx.sender,\n\t\t\t\t\traw_result: tx.raw_result ?? null,\n\t\t\t\t};\n\t\t\t\t// Include function_args if stored (for contract_call txs)\n\t\t\t\tif (tx.function_args) {\n\t\t\t\t\tconst args = typeof tx.function_args === \"string\"\n\t\t\t\t\t\t? JSON.parse(tx.function_args)\n\t\t\t\t\t\t: tx.function_args;\n\t\t\t\t\tif (Array.isArray(args)) {\n\t\t\t\t\t\tentry.contract_call = { function_args: args };\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn entry;\n\t\t\t}),\n\t\t\tevents: events.map((evt) => {\n\t\t\t\tconst data = (evt.data ?? {}) as Record<string, unknown>;\n\t\t\t\tconst eventType = evt.type;\n\n\t\t\t\t// Reconstruct the flat event structure the indexer expects:\n\t\t\t\t// { txid, event_index, committed, type, [type_key]: data }\n\t\t\t\tconst payload: ReplayEventPayload = {\n\t\t\t\t\ttxid: evt.tx_id,\n\t\t\t\t\tevent_index: evt.event_index,\n\t\t\t\t\tcommitted: true,\n\t\t\t\t\ttype: eventType,\n\t\t\t\t};\n\n\t\t\t\t// Attach event-specific data under the correct key\n\t\t\t\tif (eventType && data) {\n\t\t\t\t\tpayload[eventType] = data;\n\t\t\t\t}\n\n\t\t\t\treturn payload;\n\t\t\t}),\n\t\t};\n\t}\n\n\t/** Get highest block height in local DB */\n\tasync getChainTip(db: Kysely<Database>): Promise<number> {\n\t\tconst row = await db\n\t\t\t.selectFrom(\"blocks\")\n\t\t\t.select((eb) => eb.fn.max(\"height\").as(\"max_height\"))\n\t\t\t.where(\"canonical\", \"=\", true)\n\t\t\t.executeTakeFirst();\n\t\treturn Number(row?.max_height ?? 0);\n\t}\n\n\t/** Check if a specific block height exists in local DB */\n\tasync hasBlock(db: Kysely<Database>, height: number): Promise<boolean> {\n\t\tconst row = await db\n\t\t\t.selectFrom(\"blocks\")\n\t\t\t.select(\"height\")\n\t\t\t.where(\"height\", \"=\", height)\n\t\t\t.where(\"canonical\", \"=\", true)\n\t\t\t.executeTakeFirst();\n\t\treturn !!row;\n\t}\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": ";;;;;;;;;;;;;;;;;
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";;;;;;;;;;;;;;;;;AA6CO,MAAM,YAAY;AAAA,OAKlB,kBAAiB,CACtB,IACA,QACqC;AAAA,IACrC,MAAM,QAAQ,MAAM,GAClB,WAAW,QAAQ,EACnB,UAAU,EACV,MAAM,UAAU,KAAK,MAAM,EAC3B,MAAM,aAAa,KAAK,IAAI,EAC5B,iBAAiB;AAAA,IAEnB,IAAI,CAAC;AAAA,MAAO,OAAO;AAAA,IAEnB,MAAM,eAAe,MAAM,GACzB,WAAW,cAAc,EACzB,UAAU,EACV,MAAM,gBAAgB,KAAK,MAAM,EACjC,QAAQ,YAAY,KAAK,EACzB,QAAQ;AAAA,IAEV,MAAM,SAAS,MAAM,GACnB,WAAW,QAAQ,EACnB,UAAU,EACV,MAAM,gBAAgB,KAAK,MAAM,EACjC,QAAQ,eAAe,KAAK,EAC5B,QAAQ;AAAA,IAEV,OAAO;AAAA,MACN,YAAY,MAAM;AAAA,MAClB,cAAc,MAAM;AAAA,MAEpB,kBAAkB;AAAA,MAClB,mBAAmB,MAAM;AAAA,MACzB,yBAAyB;AAAA,MACzB,iBAAiB;AAAA,MACjB,mBAAmB,MAAM;AAAA,MACzB,sBAAsB,MAAM;AAAA,MAC5B,YAAY;AAAA,MACZ,WAAW,MAAM;AAAA,MACjB,cAAc,aAAa,IAAI,CAAC,OAAO;AAAA,QACtC,MAAM,QAAkC;AAAA,UACvC,MAAM,GAAG;AAAA,UACT,QAAQ,GAAG;AAAA,UACX,QAAQ,GAAG;AAAA,UACX,UAAU,GAAG;AAAA,UACb,SAAS,GAAG;AAAA,UACZ,gBAAgB,GAAG;AAAA,UACnB,YAAY,GAAG,cAAc;AAAA,QAC9B;AAAA,QAEA,IAAI,GAAG,eAAe;AAAA,UACrB,MAAM,OAAO,OAAO,GAAG,kBAAkB,WACtC,KAAK,MAAM,GAAG,aAAa,IAC3B,GAAG;AAAA,UACN,IAAI,MAAM,QAAQ,IAAI,GAAG;AAAA,YACxB,MAAM,gBAAgB,EAAE,eAAe,KAAK;AAAA,UAC7C;AAAA,QACD;AAAA,QACA,OAAO;AAAA,OACP;AAAA,MACD,QAAQ,OAAO,IAAI,CAAC,QAAQ;AAAA,QAC3B,MAAM,OAAQ,IAAI,QAAQ,CAAC;AAAA,QAC3B,MAAM,YAAY,IAAI;AAAA,QAItB,MAAM,UAA8B;AAAA,UACnC,MAAM,IAAI;AAAA,UACV,aAAa,IAAI;AAAA,UACjB,WAAW;AAAA,UACX,MAAM;AAAA,QACP;AAAA,QAGA,IAAI,aAAa,MAAM;AAAA,UACtB,QAAQ,aAAa;AAAA,QACtB;AAAA,QAEA,OAAO;AAAA,OACP;AAAA,IACF;AAAA;AAAA,OAIK,YAAW,CAAC,IAAuC;AAAA,IACxD,MAAM,MAAM,MAAM,GAChB,WAAW,QAAQ,EACnB,OAAO,CAAC,OAAO,GAAG,GAAG,IAAI,QAAQ,EAAE,GAAG,YAAY,CAAC,EACnD,MAAM,aAAa,KAAK,IAAI,EAC5B,iBAAiB;AAAA,IACnB,OAAO,OAAO,KAAK,cAAc,CAAC;AAAA;AAAA,OAI7B,SAAQ,CAAC,IAAsB,QAAkC;AAAA,IACtE,MAAM,MAAM,MAAM,GAChB,WAAW,QAAQ,EACnB,OAAO,QAAQ,EACf,MAAM,UAAU,KAAK,MAAM,EAC3B,MAAM,aAAa,KAAK,IAAI,EAC5B,iBAAiB;AAAA,IACnB,OAAO,CAAC,CAAC;AAAA;AAEX;",
|
|
8
|
+
"debugId": "431DDE218D6D481C64756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
|
@@ -92,6 +92,68 @@ declare const ContractDeployFilterSchema: z.ZodType<ContractDeployFilter>;
|
|
|
92
92
|
declare const PrintEventFilterSchema: z.ZodType<PrintEventFilter>;
|
|
93
93
|
declare const StreamFilterSchema: z.ZodType<StreamFilter>;
|
|
94
94
|
import { z as z2 } from "zod/v4";
|
|
95
|
+
interface PublishSubgraphRequest {
|
|
96
|
+
tags?: string[];
|
|
97
|
+
description?: string;
|
|
98
|
+
}
|
|
99
|
+
interface UpdateProfileRequest {
|
|
100
|
+
display_name?: string;
|
|
101
|
+
bio?: string;
|
|
102
|
+
slug?: string;
|
|
103
|
+
}
|
|
104
|
+
interface ForkSubgraphRequest {
|
|
105
|
+
sourceSubgraphName: string;
|
|
106
|
+
newName?: string;
|
|
107
|
+
}
|
|
108
|
+
declare const PublishSubgraphRequestSchema: z2.ZodType<PublishSubgraphRequest>;
|
|
109
|
+
declare const UpdateProfileRequestSchema: z2.ZodType<UpdateProfileRequest>;
|
|
110
|
+
declare const ForkSubgraphRequestSchema: z2.ZodType<ForkSubgraphRequest>;
|
|
111
|
+
interface MarketplaceCreator {
|
|
112
|
+
displayName: string | null;
|
|
113
|
+
slug: string | null;
|
|
114
|
+
}
|
|
115
|
+
interface MarketplaceSubgraphSummary {
|
|
116
|
+
name: string;
|
|
117
|
+
description: string | null;
|
|
118
|
+
tags: string[];
|
|
119
|
+
creator: MarketplaceCreator;
|
|
120
|
+
status: string;
|
|
121
|
+
version: string;
|
|
122
|
+
tables: string[];
|
|
123
|
+
totalQueries7d: number;
|
|
124
|
+
progress: number;
|
|
125
|
+
createdAt: string;
|
|
126
|
+
}
|
|
127
|
+
interface MarketplaceSubgraphDetail extends MarketplaceSubgraphSummary {
|
|
128
|
+
tableSchemas: Record<string, {
|
|
129
|
+
columns: Record<string, {
|
|
130
|
+
type: string
|
|
131
|
+
nullable?: boolean
|
|
132
|
+
}>
|
|
133
|
+
rowCount: number
|
|
134
|
+
endpoint: string
|
|
135
|
+
}>;
|
|
136
|
+
sources: Record<string, unknown>;
|
|
137
|
+
startBlock: number;
|
|
138
|
+
lastProcessedBlock: number;
|
|
139
|
+
forkedFrom: string | null;
|
|
140
|
+
usage: {
|
|
141
|
+
totalQueries7d: number
|
|
142
|
+
totalQueries30d: number
|
|
143
|
+
daily: Array<{
|
|
144
|
+
date: string
|
|
145
|
+
count: number
|
|
146
|
+
}>
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
interface CreatorProfile {
|
|
150
|
+
displayName: string | null;
|
|
151
|
+
bio: string | null;
|
|
152
|
+
avatarUrl: string | null;
|
|
153
|
+
slug: string | null;
|
|
154
|
+
subgraphs: MarketplaceSubgraphSummary[];
|
|
155
|
+
}
|
|
156
|
+
import { z as z3 } from "zod/v4";
|
|
95
157
|
interface DeploySubgraphRequest {
|
|
96
158
|
name: string;
|
|
97
159
|
version?: string;
|
|
@@ -101,7 +163,7 @@ interface DeploySubgraphRequest {
|
|
|
101
163
|
handlerCode: string;
|
|
102
164
|
reindex?: boolean;
|
|
103
165
|
}
|
|
104
|
-
declare const DeploySubgraphRequestSchema:
|
|
166
|
+
declare const DeploySubgraphRequestSchema: z3.ZodType<DeploySubgraphRequest>;
|
|
105
167
|
interface DeploySubgraphResponse {
|
|
106
168
|
action: "created" | "unchanged" | "updated" | "reindexed";
|
|
107
169
|
subgraphId: string;
|
|
@@ -196,7 +258,7 @@ interface SubgraphQueryParams {
|
|
|
196
258
|
fields?: string;
|
|
197
259
|
filters?: Record<string, string>;
|
|
198
260
|
}
|
|
199
|
-
import { z as
|
|
261
|
+
import { z as z4 } from "zod/v4";
|
|
200
262
|
interface StreamOptions {
|
|
201
263
|
decodeClarityValues: boolean;
|
|
202
264
|
includeRawTx: boolean;
|
|
@@ -271,12 +333,12 @@ interface StreamResponse {
|
|
|
271
333
|
createdAt: string;
|
|
272
334
|
updatedAt: string;
|
|
273
335
|
}
|
|
274
|
-
declare const StreamOptionsSchema:
|
|
275
|
-
declare const CreateStreamSchema:
|
|
276
|
-
declare const UpdateStreamSchema:
|
|
277
|
-
declare const DeliveryPayloadSchema:
|
|
278
|
-
declare const StreamMetricsSchema:
|
|
279
|
-
declare const StreamResponseSchema:
|
|
336
|
+
declare const StreamOptionsSchema: z4.ZodType<StreamOptions>;
|
|
337
|
+
declare const CreateStreamSchema: z4.ZodType<CreateStream>;
|
|
338
|
+
declare const UpdateStreamSchema: z4.ZodType<UpdateStream>;
|
|
339
|
+
declare const DeliveryPayloadSchema: z4.ZodType<DeliveryPayload>;
|
|
340
|
+
declare const StreamMetricsSchema: z4.ZodType<StreamMetricsResponse>;
|
|
341
|
+
declare const StreamResponseSchema: z4.ZodType<StreamResponse>;
|
|
280
342
|
interface CreateStreamResponse {
|
|
281
343
|
stream: StreamResponse;
|
|
282
344
|
signingSecret: string;
|
|
@@ -293,4 +355,4 @@ interface BulkResumeResponse {
|
|
|
293
355
|
resumed: number;
|
|
294
356
|
streams: StreamResponse[];
|
|
295
357
|
}
|
|
296
|
-
export { UpdateStreamSchema, UpdateStream, SubgraphSyncInfo, SubgraphSummary, SubgraphQueryParams, SubgraphGapsResponse, SubgraphGapRange, SubgraphGapEntry, SubgraphDetail, StxTransferFilterSchema, StxTransferFilter, StxMintFilterSchema, StxMintFilter, StxLockFilterSchema, StxLockFilter, StxBurnFilterSchema, StxBurnFilter, StreamResponseSchema, StreamResponse, StreamOptionsSchema, StreamOptions, StreamMetricsSchema, StreamMetricsResponse, StreamFilterSchema, StreamFilter, ReindexResponse, PrintEventFilterSchema, PrintEventFilter, NftTransferFilterSchema, NftTransferFilter, NftMintFilterSchema, NftMintFilter, NftBurnFilterSchema, NftBurnFilter, ListStreamsResponse, FtTransferFilterSchema, FtTransferFilter, FtMintFilterSchema, FtMintFilter, FtBurnFilterSchema, FtBurnFilter, DeploySubgraphResponse, DeploySubgraphRequestSchema, DeploySubgraphRequest, DeliveryPayloadSchema, DeliveryPayload, CreateStreamSchema, CreateStreamResponse, CreateStream, ContractDeployFilterSchema, ContractDeployFilter, ContractCallFilterSchema, ContractCallFilter, BulkResumeResponse, BulkPauseResponse };
|
|
358
|
+
export { UpdateStreamSchema, UpdateStream, UpdateProfileRequestSchema, UpdateProfileRequest, SubgraphSyncInfo, SubgraphSummary, SubgraphQueryParams, SubgraphGapsResponse, SubgraphGapRange, SubgraphGapEntry, SubgraphDetail, StxTransferFilterSchema, StxTransferFilter, StxMintFilterSchema, StxMintFilter, StxLockFilterSchema, StxLockFilter, StxBurnFilterSchema, StxBurnFilter, StreamResponseSchema, StreamResponse, StreamOptionsSchema, StreamOptions, StreamMetricsSchema, StreamMetricsResponse, StreamFilterSchema, StreamFilter, ReindexResponse, PublishSubgraphRequestSchema, PublishSubgraphRequest, PrintEventFilterSchema, PrintEventFilter, NftTransferFilterSchema, NftTransferFilter, NftMintFilterSchema, NftMintFilter, NftBurnFilterSchema, NftBurnFilter, MarketplaceSubgraphSummary, MarketplaceSubgraphDetail, MarketplaceCreator, ListStreamsResponse, FtTransferFilterSchema, FtTransferFilter, FtMintFilterSchema, FtMintFilter, FtBurnFilterSchema, FtBurnFilter, ForkSubgraphRequestSchema, ForkSubgraphRequest, DeploySubgraphResponse, DeploySubgraphRequestSchema, DeploySubgraphRequest, DeliveryPayloadSchema, DeliveryPayload, CreatorProfile, CreateStreamSchema, CreateStreamResponse, CreateStream, ContractDeployFilterSchema, ContractDeployFilter, ContractCallFilterSchema, ContractCallFilter, BulkResumeResponse, BulkPauseResponse };
|
|
@@ -118,98 +118,115 @@ var StreamFilterSchema = z.discriminatedUnion("type", [
|
|
|
118
118
|
PrintEventFilterSchema
|
|
119
119
|
]);
|
|
120
120
|
|
|
121
|
-
// src/schemas/
|
|
121
|
+
// src/schemas/marketplace.ts
|
|
122
122
|
import { z as z2 } from "zod/v4";
|
|
123
|
-
var
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
description: z2.string().optional(),
|
|
127
|
-
sources: z2.record(z2.string(), z2.record(z2.string(), z2.unknown())).refine((s) => Object.keys(s).length > 0, "Must have at least one source"),
|
|
128
|
-
schema: z2.record(z2.string(), z2.unknown()),
|
|
129
|
-
handlerCode: z2.string().max(1048576, "handler code exceeds 1MB limit"),
|
|
130
|
-
reindex: z2.boolean().optional()
|
|
123
|
+
var PublishSubgraphRequestSchema = z2.object({
|
|
124
|
+
tags: z2.array(z2.string().max(30)).max(5).optional(),
|
|
125
|
+
description: z2.string().max(500).optional()
|
|
131
126
|
});
|
|
132
|
-
|
|
127
|
+
var UpdateProfileRequestSchema = z2.object({
|
|
128
|
+
display_name: z2.string().max(50).optional(),
|
|
129
|
+
bio: z2.string().max(300).optional(),
|
|
130
|
+
slug: z2.string().regex(/^[a-z0-9-]+$/, "lowercase alphanumeric + hyphens only").min(3).max(30).optional()
|
|
131
|
+
});
|
|
132
|
+
var ForkSubgraphRequestSchema = z2.object({
|
|
133
|
+
sourceSubgraphName: z2.string(),
|
|
134
|
+
newName: z2.string().regex(/^[a-z0-9-]+$/, "lowercase alphanumeric + hyphens only").max(63).optional()
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
// src/schemas/subgraphs.ts
|
|
133
138
|
import { z as z3 } from "zod/v4";
|
|
134
|
-
var
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
var DeploySubgraphRequestSchema = z3.object({
|
|
140
|
+
name: z3.string().regex(/^[a-z0-9-]+$/, "lowercase alphanumeric + hyphens only").max(63),
|
|
141
|
+
version: z3.string().optional(),
|
|
142
|
+
description: z3.string().optional(),
|
|
143
|
+
sources: z3.record(z3.string(), z3.record(z3.string(), z3.unknown())).refine((s) => Object.keys(s).length > 0, "Must have at least one source"),
|
|
144
|
+
schema: z3.record(z3.string(), z3.unknown()),
|
|
145
|
+
handlerCode: z3.string().max(1048576, "handler code exceeds 1MB limit"),
|
|
146
|
+
reindex: z3.boolean().optional()
|
|
147
|
+
});
|
|
148
|
+
// src/schemas/stream.ts
|
|
149
|
+
import { z as z4 } from "zod/v4";
|
|
150
|
+
var streamOptionsShape = z4.object({
|
|
151
|
+
decodeClarityValues: z4.boolean().default(true),
|
|
152
|
+
includeRawTx: z4.boolean().default(false),
|
|
153
|
+
includeBlockMetadata: z4.boolean().default(true),
|
|
154
|
+
rateLimit: z4.number().int().positive().max(100).default(10),
|
|
155
|
+
timeoutMs: z4.number().int().positive().max(30000).default(1e4),
|
|
156
|
+
maxRetries: z4.number().int().min(0).max(10).default(3)
|
|
141
157
|
});
|
|
142
158
|
var StreamOptionsSchema = streamOptionsShape;
|
|
143
|
-
var CreateStreamSchema =
|
|
144
|
-
name:
|
|
145
|
-
endpointUrl:
|
|
146
|
-
filters:
|
|
159
|
+
var CreateStreamSchema = z4.object({
|
|
160
|
+
name: z4.string().min(1).max(255),
|
|
161
|
+
endpointUrl: z4.string().url(),
|
|
162
|
+
filters: z4.array(StreamFilterSchema).min(1),
|
|
147
163
|
options: streamOptionsShape.optional(),
|
|
148
|
-
startBlock:
|
|
149
|
-
endBlock:
|
|
164
|
+
startBlock: z4.number().int().positive().optional(),
|
|
165
|
+
endBlock: z4.number().int().positive().optional()
|
|
150
166
|
});
|
|
151
|
-
var UpdateStreamSchema =
|
|
152
|
-
name:
|
|
153
|
-
endpointUrl:
|
|
154
|
-
filters:
|
|
167
|
+
var UpdateStreamSchema = z4.object({
|
|
168
|
+
name: z4.string().min(1).max(255).optional(),
|
|
169
|
+
endpointUrl: z4.string().url().optional(),
|
|
170
|
+
filters: z4.array(StreamFilterSchema).min(1).optional(),
|
|
155
171
|
options: streamOptionsShape.partial().optional()
|
|
156
172
|
}).refine((data) => Object.keys(data).length > 0, {
|
|
157
173
|
message: "At least one field must be provided for update"
|
|
158
174
|
});
|
|
159
|
-
var DeliveryPayloadSchema =
|
|
160
|
-
streamId:
|
|
161
|
-
streamName:
|
|
162
|
-
block:
|
|
163
|
-
height:
|
|
164
|
-
hash:
|
|
165
|
-
parentHash:
|
|
166
|
-
burnBlockHeight:
|
|
167
|
-
timestamp:
|
|
175
|
+
var DeliveryPayloadSchema = z4.object({
|
|
176
|
+
streamId: z4.string().uuid(),
|
|
177
|
+
streamName: z4.string(),
|
|
178
|
+
block: z4.object({
|
|
179
|
+
height: z4.number(),
|
|
180
|
+
hash: z4.string(),
|
|
181
|
+
parentHash: z4.string(),
|
|
182
|
+
burnBlockHeight: z4.number(),
|
|
183
|
+
timestamp: z4.number()
|
|
168
184
|
}),
|
|
169
|
-
matches:
|
|
170
|
-
transactions:
|
|
171
|
-
txId:
|
|
172
|
-
type:
|
|
173
|
-
sender:
|
|
174
|
-
status:
|
|
175
|
-
contractId:
|
|
176
|
-
functionName:
|
|
177
|
-
rawTx:
|
|
185
|
+
matches: z4.object({
|
|
186
|
+
transactions: z4.array(z4.object({
|
|
187
|
+
txId: z4.string(),
|
|
188
|
+
type: z4.string(),
|
|
189
|
+
sender: z4.string(),
|
|
190
|
+
status: z4.string(),
|
|
191
|
+
contractId: z4.string().nullable(),
|
|
192
|
+
functionName: z4.string().nullable(),
|
|
193
|
+
rawTx: z4.string().optional()
|
|
178
194
|
})),
|
|
179
|
-
events:
|
|
180
|
-
txId:
|
|
181
|
-
eventIndex:
|
|
182
|
-
type:
|
|
183
|
-
data:
|
|
195
|
+
events: z4.array(z4.object({
|
|
196
|
+
txId: z4.string(),
|
|
197
|
+
eventIndex: z4.number(),
|
|
198
|
+
type: z4.string(),
|
|
199
|
+
data: z4.any()
|
|
184
200
|
}))
|
|
185
201
|
}),
|
|
186
|
-
isBackfill:
|
|
187
|
-
deliveredAt:
|
|
188
|
-
});
|
|
189
|
-
var StreamMetricsSchema =
|
|
190
|
-
totalDeliveries:
|
|
191
|
-
failedDeliveries:
|
|
192
|
-
lastTriggeredAt:
|
|
193
|
-
lastTriggeredBlock:
|
|
194
|
-
errorMessage:
|
|
195
|
-
});
|
|
196
|
-
var StreamResponseSchema =
|
|
197
|
-
id:
|
|
198
|
-
name:
|
|
199
|
-
status:
|
|
200
|
-
endpointUrl:
|
|
201
|
-
filters:
|
|
202
|
+
isBackfill: z4.boolean(),
|
|
203
|
+
deliveredAt: z4.string().datetime()
|
|
204
|
+
});
|
|
205
|
+
var StreamMetricsSchema = z4.object({
|
|
206
|
+
totalDeliveries: z4.number(),
|
|
207
|
+
failedDeliveries: z4.number(),
|
|
208
|
+
lastTriggeredAt: z4.string().datetime().nullable(),
|
|
209
|
+
lastTriggeredBlock: z4.number().nullable(),
|
|
210
|
+
errorMessage: z4.string().nullable()
|
|
211
|
+
});
|
|
212
|
+
var StreamResponseSchema = z4.object({
|
|
213
|
+
id: z4.string().uuid(),
|
|
214
|
+
name: z4.string(),
|
|
215
|
+
status: z4.enum(["inactive", "active", "paused", "failed"]),
|
|
216
|
+
endpointUrl: z4.string().url(),
|
|
217
|
+
filters: z4.array(StreamFilterSchema),
|
|
202
218
|
options: streamOptionsShape,
|
|
203
|
-
totalDeliveries:
|
|
204
|
-
failedDeliveries:
|
|
205
|
-
lastTriggeredAt:
|
|
206
|
-
lastTriggeredBlock:
|
|
207
|
-
errorMessage:
|
|
208
|
-
createdAt:
|
|
209
|
-
updatedAt:
|
|
219
|
+
totalDeliveries: z4.number().int().default(0),
|
|
220
|
+
failedDeliveries: z4.number().int().default(0),
|
|
221
|
+
lastTriggeredAt: z4.string().datetime().nullable().optional(),
|
|
222
|
+
lastTriggeredBlock: z4.number().int().nullable().optional(),
|
|
223
|
+
errorMessage: z4.string().nullable().optional(),
|
|
224
|
+
createdAt: z4.string().datetime(),
|
|
225
|
+
updatedAt: z4.string().datetime()
|
|
210
226
|
});
|
|
211
227
|
export {
|
|
212
228
|
UpdateStreamSchema,
|
|
229
|
+
UpdateProfileRequestSchema,
|
|
213
230
|
StxTransferFilterSchema,
|
|
214
231
|
StxMintFilterSchema,
|
|
215
232
|
StxLockFilterSchema,
|
|
@@ -218,6 +235,7 @@ export {
|
|
|
218
235
|
StreamOptionsSchema,
|
|
219
236
|
StreamMetricsSchema,
|
|
220
237
|
StreamFilterSchema,
|
|
238
|
+
PublishSubgraphRequestSchema,
|
|
221
239
|
PrintEventFilterSchema,
|
|
222
240
|
NftTransferFilterSchema,
|
|
223
241
|
NftMintFilterSchema,
|
|
@@ -225,6 +243,7 @@ export {
|
|
|
225
243
|
FtTransferFilterSchema,
|
|
226
244
|
FtMintFilterSchema,
|
|
227
245
|
FtBurnFilterSchema,
|
|
246
|
+
ForkSubgraphRequestSchema,
|
|
228
247
|
DeploySubgraphRequestSchema,
|
|
229
248
|
DeliveryPayloadSchema,
|
|
230
249
|
CreateStreamSchema,
|
|
@@ -232,5 +251,5 @@ export {
|
|
|
232
251
|
ContractCallFilterSchema
|
|
233
252
|
};
|
|
234
253
|
|
|
235
|
-
//# debugId=
|
|
254
|
+
//# debugId=3A109ACDE2A4A6BF64756E2164756E21
|
|
236
255
|
//# sourceMappingURL=index.js.map
|