@secondlayer/subgraphs 0.9.2 → 0.9.3
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/index.d.ts +1 -1
- package/dist/src/runtime/block-processor.d.ts +1 -1
- package/dist/src/runtime/catchup.d.ts +1 -1
- package/dist/src/runtime/context.d.ts +1 -1
- package/dist/src/runtime/reindex.d.ts +1 -1
- package/dist/src/runtime/reorg.d.ts +1 -1
- package/dist/src/runtime/runner.d.ts +1 -1
- package/dist/src/schema/index.d.ts +1 -1
- package/dist/src/types.d.ts +1 -1
- package/dist/src/validate.d.ts +1 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ interface TxMeta {
|
|
|
111
111
|
/** Scalar types that can appear as row values */
|
|
112
112
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
113
113
|
/** Value or computed function that receives existing row */
|
|
114
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
114
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
115
115
|
/** Context passed to subgraph handlers during event processing */
|
|
116
116
|
interface SubgraphContext {
|
|
117
117
|
block: {
|
|
@@ -111,7 +111,7 @@ interface TxMeta {
|
|
|
111
111
|
/** Scalar types that can appear as row values */
|
|
112
112
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
113
113
|
/** Value or computed function that receives existing row */
|
|
114
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
114
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
115
115
|
/** Context passed to subgraph handlers during event processing */
|
|
116
116
|
interface SubgraphContext {
|
|
117
117
|
block: {
|
|
@@ -111,7 +111,7 @@ interface TxMeta {
|
|
|
111
111
|
/** Scalar types that can appear as row values */
|
|
112
112
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
113
113
|
/** Value or computed function that receives existing row */
|
|
114
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
114
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
115
115
|
/** Context passed to subgraph handlers during event processing */
|
|
116
116
|
interface SubgraphContext {
|
|
117
117
|
block: {
|
|
@@ -21,7 +21,7 @@ type SubgraphSchema = Record<string, SubgraphTable>;
|
|
|
21
21
|
/** Scalar types that can appear as row values */
|
|
22
22
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
23
23
|
/** Value or computed function that receives existing row */
|
|
24
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
24
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
25
25
|
import { Database } from "@secondlayer/shared/db";
|
|
26
26
|
import { Kysely, Transaction } from "kysely";
|
|
27
27
|
type AnyDb = Kysely<Database> | Transaction<Database>;
|
|
@@ -111,7 +111,7 @@ interface TxMeta {
|
|
|
111
111
|
/** Scalar types that can appear as row values */
|
|
112
112
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
113
113
|
/** Value or computed function that receives existing row */
|
|
114
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
114
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
115
115
|
/** Context passed to subgraph handlers during event processing */
|
|
116
116
|
interface SubgraphContext {
|
|
117
117
|
block: {
|
|
@@ -111,7 +111,7 @@ interface TxMeta {
|
|
|
111
111
|
/** Scalar types that can appear as row values */
|
|
112
112
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
113
113
|
/** Value or computed function that receives existing row */
|
|
114
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
114
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
115
115
|
/** Context passed to subgraph handlers during event processing */
|
|
116
116
|
interface SubgraphContext {
|
|
117
117
|
block: {
|
|
@@ -111,7 +111,7 @@ interface TxMeta {
|
|
|
111
111
|
/** Scalar types that can appear as row values */
|
|
112
112
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
113
113
|
/** Value or computed function that receives existing row */
|
|
114
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
114
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
115
115
|
/** Context passed to subgraph handlers during event processing */
|
|
116
116
|
interface SubgraphContext {
|
|
117
117
|
block: {
|
|
@@ -111,7 +111,7 @@ interface TxMeta {
|
|
|
111
111
|
/** Scalar types that can appear as row values */
|
|
112
112
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
113
113
|
/** Value or computed function that receives existing row */
|
|
114
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
114
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
115
115
|
/** Context passed to subgraph handlers during event processing */
|
|
116
116
|
interface SubgraphContext {
|
|
117
117
|
block: {
|
package/dist/src/types.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ interface TxMeta {
|
|
|
111
111
|
/** Scalar types that can appear as row values */
|
|
112
112
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
113
113
|
/** Value or computed function that receives existing row */
|
|
114
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
114
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
115
115
|
/** Context passed to subgraph handlers during event processing */
|
|
116
116
|
interface SubgraphContext {
|
|
117
117
|
block: {
|
package/dist/src/validate.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ interface TxMeta {
|
|
|
111
111
|
/** Scalar types that can appear as row values */
|
|
112
112
|
type RowValue = string | number | bigint | boolean | null | undefined | Record<string, unknown> | unknown[];
|
|
113
113
|
/** Value or computed function that receives existing row */
|
|
114
|
-
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) =>
|
|
114
|
+
type ComputedValue = RowValue | ((existing: Record<string, unknown> | null) => unknown);
|
|
115
115
|
/** Context passed to subgraph handlers during event processing */
|
|
116
116
|
interface SubgraphContext {
|
|
117
117
|
block: {
|