@herd-labs/sdk 0.0.2 → 0.0.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/live/ActionsServiceLive.d.ts +2 -2
- package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
- package/dist/src/live/AuthServiceLive.d.ts +2 -2
- package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
- package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
- package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
- package/dist/src/live/ContractsServiceLive.d.ts +2 -2
- package/dist/src/live/DocsServiceLive.d.ts +2 -2
- package/dist/src/live/HalServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
- package/dist/src/live/WalletsServiceLive.d.ts +2 -2
- package/dist/src/schemas/actions.d.ts +11 -11
- package/dist/src/schemas/bookmarks.d.ts +24 -24
- package/dist/src/schemas/codeblocks.d.ts +9 -9
- package/dist/src/schemas/collections.d.ts +5 -5
- package/dist/src/schemas/contracts.d.ts +42 -42
- package/dist/src/schemas/hal.d.ts +28 -28
- package/dist/src/schemas/transactions.d.ts +93 -93
- package/dist/src/schemas/wallets.d.ts +78 -78
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { ActionsService } from "../services/ActionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/ActionsServiceLive.d.ts
|
|
7
|
-
declare const ActionsServiceLive: Layer.Layer<ActionsService, never, HerdConfig |
|
|
7
|
+
declare const ActionsServiceLive: Layer.Layer<ActionsService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ActionsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { AdaptersService } from "../services/AdaptersService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient6 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AdaptersServiceLive.d.ts
|
|
7
|
-
declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfig |
|
|
7
|
+
declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfig | _effect_platform_HttpClient6.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AdaptersServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { AuthService } from "../services/AuthService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient9 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AuthServiceLive.d.ts
|
|
7
|
-
declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfig |
|
|
7
|
+
declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfig | _effect_platform_HttpClient9.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AuthServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { BookmarksService } from "../services/BookmarksService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient1 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/BookmarksServiceLive.d.ts
|
|
7
|
-
declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfig |
|
|
7
|
+
declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfig | _effect_platform_HttpClient1.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { BookmarksServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { CodeBlocksService } from "../services/CodeBlocksService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient4 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/CodeBlocksServiceLive.d.ts
|
|
7
|
-
declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfig |
|
|
7
|
+
declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfig | _effect_platform_HttpClient4.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CodeBlocksServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { CollectionsService } from "../services/CollectionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient2 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/CollectionsServiceLive.d.ts
|
|
7
|
-
declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfig |
|
|
7
|
+
declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfig | _effect_platform_HttpClient2.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CollectionsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { ContractsService } from "../services/ContractsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient5 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/ContractsServiceLive.d.ts
|
|
7
|
-
declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfig |
|
|
7
|
+
declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfig | _effect_platform_HttpClient5.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ContractsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { DocsService } from "../services/DocsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/DocsServiceLive.d.ts
|
|
7
|
-
declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfig |
|
|
7
|
+
declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DocsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { HalService } from "../services/HalService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient3 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/HalServiceLive.d.ts
|
|
7
|
-
declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfig |
|
|
7
|
+
declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfig | _effect_platform_HttpClient3.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HalServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { TransactionsService } from "../services/TransactionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient8 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/TransactionsServiceLive.d.ts
|
|
7
|
-
declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfig |
|
|
7
|
+
declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfig | _effect_platform_HttpClient8.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { TransactionsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { WalletsService } from "../services/WalletsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient7 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/WalletsServiceLive.d.ts
|
|
7
|
-
declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfig |
|
|
7
|
+
declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfig | _effect_platform_HttpClient7.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { WalletsServiceLive };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand3 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/actions.d.ts
|
|
5
5
|
declare const ActionExpression_base: Schema.Class<ActionExpression, {
|
|
@@ -28,10 +28,10 @@ declare const ActionExpression_base: Schema.Class<ActionExpression, {
|
|
|
28
28
|
readonly name: string;
|
|
29
29
|
} & {
|
|
30
30
|
readonly intent?: string | undefined;
|
|
31
|
-
} & {
|
|
32
|
-
readonly publishedAt?: string | null | undefined;
|
|
33
31
|
} & {
|
|
34
32
|
readonly expression: unknown;
|
|
33
|
+
} & {
|
|
34
|
+
readonly publishedAt?: string | null | undefined;
|
|
35
35
|
}, {}, {}>;
|
|
36
36
|
declare class ActionExpression extends ActionExpression_base {}
|
|
37
37
|
declare const Action_base: Schema.Class<Action, {
|
|
@@ -104,10 +104,10 @@ declare const ActionVersion_base: Schema.Class<ActionVersion, {
|
|
|
104
104
|
readonly name: string;
|
|
105
105
|
} & {
|
|
106
106
|
readonly intent?: string | undefined;
|
|
107
|
-
} & {
|
|
108
|
-
readonly publishedAt?: string | null | undefined;
|
|
109
107
|
} & {
|
|
110
108
|
readonly expression: unknown;
|
|
109
|
+
} & {
|
|
110
|
+
readonly publishedAt?: string | null | undefined;
|
|
111
111
|
}, {}, {}>;
|
|
112
112
|
declare class ActionVersion extends ActionVersion_base {}
|
|
113
113
|
declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
|
|
@@ -131,7 +131,7 @@ declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
|
|
|
131
131
|
} & {
|
|
132
132
|
readonly offset: number;
|
|
133
133
|
} & {
|
|
134
|
-
readonly scope: readonly ("yours" | "
|
|
134
|
+
readonly scope: readonly ("yours" | "all_published" | "verified")[];
|
|
135
135
|
} & {
|
|
136
136
|
readonly filters?: {
|
|
137
137
|
readonly name?: string | undefined;
|
|
@@ -149,10 +149,10 @@ declare const ActionsSearchResponse_base: Schema.Class<ActionsSearchResponse, {
|
|
|
149
149
|
nextCursor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
150
150
|
}>, never, {
|
|
151
151
|
readonly items: readonly Action[];
|
|
152
|
-
} & {
|
|
153
|
-
readonly nextCursor?: string | null | undefined;
|
|
154
152
|
} & {
|
|
155
153
|
readonly totalCount?: number | undefined;
|
|
154
|
+
} & {
|
|
155
|
+
readonly nextCursor?: string | null | undefined;
|
|
156
156
|
}, {}, {}>;
|
|
157
157
|
declare class ActionsSearchResponse extends ActionsSearchResponse_base {}
|
|
158
158
|
declare const ActionVersionsResponse_base: Schema.Class<ActionVersionsResponse, {
|
|
@@ -233,13 +233,13 @@ declare const RelatedAdaptersSearchParams_base: Schema.Class<RelatedAdaptersSear
|
|
|
233
233
|
}>>;
|
|
234
234
|
scope: Schema.Array$<Schema.Literal<["yours", "verified"]>>;
|
|
235
235
|
}>, never, {
|
|
236
|
-
readonly scope: readonly ("yours" | "verified")[];
|
|
237
|
-
} & {
|
|
238
236
|
readonly contracts: readonly {
|
|
239
|
-
readonly address: string & effect_Brand5.Brand<"EvmAddress">;
|
|
240
237
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
241
238
|
readonly functionSignatures?: readonly string[] | undefined;
|
|
239
|
+
readonly address: string & effect_Brand3.Brand<"EvmAddress">;
|
|
242
240
|
}[];
|
|
241
|
+
} & {
|
|
242
|
+
readonly scope: readonly ("yours" | "verified")[];
|
|
243
243
|
}, {}, {}>;
|
|
244
244
|
declare class RelatedAdaptersSearchParams extends RelatedAdaptersSearchParams_base {}
|
|
245
245
|
declare const CreateActionParams_base: Schema.Class<CreateActionParams, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand0 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/bookmarks.d.ts
|
|
5
5
|
declare const BookmarkObjectType: Schema.Literal<["contract", "transaction", "wallet"]>;
|
|
@@ -23,21 +23,21 @@ declare const ContractBookmark_base: Schema.Class<ContractBookmark, {
|
|
|
23
23
|
createdAt: typeof Schema.String;
|
|
24
24
|
updatedAt: typeof Schema.String;
|
|
25
25
|
}>, never, {
|
|
26
|
-
readonly
|
|
26
|
+
readonly id: string;
|
|
27
27
|
} & {
|
|
28
28
|
readonly blockchain: string;
|
|
29
29
|
} & {
|
|
30
30
|
readonly contractAddress: string;
|
|
31
|
-
} & {
|
|
32
|
-
readonly id: string;
|
|
33
|
-
} & {
|
|
34
|
-
readonly label: string | null;
|
|
35
31
|
} & {
|
|
36
32
|
readonly createdAt: string;
|
|
37
33
|
} & {
|
|
38
34
|
readonly updatedAt: string;
|
|
39
35
|
} & {
|
|
40
36
|
readonly userLabel: string | null;
|
|
37
|
+
} & {
|
|
38
|
+
readonly contractName: string | null;
|
|
39
|
+
} & {
|
|
40
|
+
readonly label: string | null;
|
|
41
41
|
}, {}, {}>;
|
|
42
42
|
declare class ContractBookmark extends ContractBookmark_base {}
|
|
43
43
|
declare const TransactionBookmark_base: Schema.Class<TransactionBookmark, {
|
|
@@ -55,17 +55,17 @@ declare const TransactionBookmark_base: Schema.Class<TransactionBookmark, {
|
|
|
55
55
|
createdAt: typeof Schema.String;
|
|
56
56
|
updatedAt: typeof Schema.String;
|
|
57
57
|
}>, never, {
|
|
58
|
-
readonly blockchain: string;
|
|
59
|
-
} & {
|
|
60
58
|
readonly id: string;
|
|
61
59
|
} & {
|
|
62
|
-
readonly
|
|
60
|
+
readonly blockchain: string;
|
|
63
61
|
} & {
|
|
64
62
|
readonly createdAt: string;
|
|
65
63
|
} & {
|
|
66
64
|
readonly updatedAt: string;
|
|
67
65
|
} & {
|
|
68
66
|
readonly userLabel: string | null;
|
|
67
|
+
} & {
|
|
68
|
+
readonly transactionHash: string;
|
|
69
69
|
}, {}, {}>;
|
|
70
70
|
declare class TransactionBookmark extends TransactionBookmark_base {}
|
|
71
71
|
declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
|
|
@@ -81,8 +81,6 @@ declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
|
|
|
81
81
|
createdAt: typeof Schema.String;
|
|
82
82
|
updatedAt: typeof Schema.String;
|
|
83
83
|
}>, never, {
|
|
84
|
-
readonly walletAddress: string;
|
|
85
|
-
} & {
|
|
86
84
|
readonly id: string;
|
|
87
85
|
} & {
|
|
88
86
|
readonly createdAt: string;
|
|
@@ -90,6 +88,8 @@ declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
|
|
|
90
88
|
readonly updatedAt: string;
|
|
91
89
|
} & {
|
|
92
90
|
readonly userLabel: string | null;
|
|
91
|
+
} & {
|
|
92
|
+
readonly walletAddress: string;
|
|
93
93
|
}, {}, {}>;
|
|
94
94
|
declare class WalletBookmark extends WalletBookmark_base {}
|
|
95
95
|
declare const BookmarksList_base: Schema.Class<BookmarksList, {
|
|
@@ -101,9 +101,9 @@ declare const BookmarksList_base: Schema.Class<BookmarksList, {
|
|
|
101
101
|
transactions: Schema.Array$<typeof TransactionBookmark>;
|
|
102
102
|
wallets: Schema.Array$<typeof WalletBookmark>;
|
|
103
103
|
}>, never, {
|
|
104
|
-
readonly transactions: readonly TransactionBookmark[];
|
|
105
|
-
} & {
|
|
106
104
|
readonly contracts: readonly ContractBookmark[];
|
|
105
|
+
} & {
|
|
106
|
+
readonly transactions: readonly TransactionBookmark[];
|
|
107
107
|
} & {
|
|
108
108
|
readonly wallets: readonly WalletBookmark[];
|
|
109
109
|
}, {}, {}>;
|
|
@@ -138,11 +138,11 @@ declare const AddContractBookmarkParams_base: Schema.Class<AddContractBookmarkPa
|
|
|
138
138
|
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
139
139
|
label: Schema.optional<typeof Schema.String>;
|
|
140
140
|
}>, never, {
|
|
141
|
-
readonly address: string & effect_Brand3.Brand<"EvmAddress">;
|
|
142
|
-
} & {
|
|
143
141
|
readonly blockchain: "ethereum" | "base";
|
|
144
142
|
} & {
|
|
145
143
|
readonly label?: string | undefined;
|
|
144
|
+
} & {
|
|
145
|
+
readonly address: string & effect_Brand0.Brand<"EvmAddress">;
|
|
146
146
|
}, {}, {}>;
|
|
147
147
|
declare class AddContractBookmarkParams extends AddContractBookmarkParams_base {}
|
|
148
148
|
declare const AddTransactionBookmarkParams_base: Schema.Class<AddTransactionBookmarkParams, {
|
|
@@ -154,9 +154,9 @@ declare const AddTransactionBookmarkParams_base: Schema.Class<AddTransactionBook
|
|
|
154
154
|
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
155
155
|
label: Schema.optional<typeof Schema.String>;
|
|
156
156
|
}>, never, {
|
|
157
|
-
readonly blockchain: "ethereum" | "base";
|
|
158
|
-
} & {
|
|
159
157
|
readonly txHash: string;
|
|
158
|
+
} & {
|
|
159
|
+
readonly blockchain: "ethereum" | "base";
|
|
160
160
|
} & {
|
|
161
161
|
readonly label?: string | undefined;
|
|
162
162
|
}, {}, {}>;
|
|
@@ -168,9 +168,9 @@ declare const AddWalletBookmarkParams_base: Schema.Class<AddWalletBookmarkParams
|
|
|
168
168
|
address: Schema.brand<Schema.filter<typeof Schema.String>, "EvmAddress">;
|
|
169
169
|
label: Schema.optional<typeof Schema.String>;
|
|
170
170
|
}>, never, {
|
|
171
|
-
readonly address: string & effect_Brand3.Brand<"EvmAddress">;
|
|
172
|
-
} & {
|
|
173
171
|
readonly label?: string | undefined;
|
|
172
|
+
} & {
|
|
173
|
+
readonly address: string & effect_Brand0.Brand<"EvmAddress">;
|
|
174
174
|
}, {}, {}>;
|
|
175
175
|
declare class AddWalletBookmarkParams extends AddWalletBookmarkParams_base {}
|
|
176
176
|
declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelParams, {
|
|
@@ -186,13 +186,13 @@ declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelPa
|
|
|
186
186
|
blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
187
187
|
label: Schema.NullOr<typeof Schema.String>;
|
|
188
188
|
}>, never, {
|
|
189
|
-
readonly
|
|
189
|
+
readonly txHash?: string | undefined;
|
|
190
190
|
} & {
|
|
191
191
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
192
|
-
} & {
|
|
193
|
-
readonly txHash?: string | undefined;
|
|
194
192
|
} & {
|
|
195
193
|
readonly label: string | null;
|
|
194
|
+
} & {
|
|
195
|
+
readonly address?: string | undefined;
|
|
196
196
|
} & {
|
|
197
197
|
readonly objectType: "contract" | "transaction" | "wallet";
|
|
198
198
|
}, {}, {}>;
|
|
@@ -208,11 +208,11 @@ declare const DeleteBookmarkParams_base: Schema.Class<DeleteBookmarkParams, {
|
|
|
208
208
|
txHash: Schema.optional<typeof Schema.String>;
|
|
209
209
|
blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
210
210
|
}>, never, {
|
|
211
|
-
readonly
|
|
211
|
+
readonly txHash?: string | undefined;
|
|
212
212
|
} & {
|
|
213
213
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
214
214
|
} & {
|
|
215
|
-
readonly
|
|
215
|
+
readonly address?: string | undefined;
|
|
216
216
|
} & {
|
|
217
217
|
readonly objectType: "contract" | "transaction" | "wallet";
|
|
218
218
|
}, {}, {}>;
|
|
@@ -23,14 +23,14 @@ declare const CodeBlockCode_base: Schema.Class<CodeBlockCode, {
|
|
|
23
23
|
readonly name: string;
|
|
24
24
|
} & {
|
|
25
25
|
readonly intent: string;
|
|
26
|
+
} & {
|
|
27
|
+
readonly publishedAt: string | null;
|
|
26
28
|
} & {
|
|
27
29
|
readonly code: string;
|
|
28
30
|
} & {
|
|
29
31
|
readonly valTownFileUrl: string;
|
|
30
32
|
} & {
|
|
31
33
|
readonly arguments?: unknown;
|
|
32
|
-
} & {
|
|
33
|
-
readonly publishedAt: string | null;
|
|
34
34
|
}, {}, {}>;
|
|
35
35
|
declare class CodeBlockCode extends CodeBlockCode_base {}
|
|
36
36
|
declare const CodeBlockVersion_base: Schema.Class<CodeBlockVersion, {
|
|
@@ -68,13 +68,13 @@ declare const CodeBlockDefinition_base: Schema.Class<CodeBlockDefinition, {
|
|
|
68
68
|
allVersions: Schema.optional<Schema.Array$<typeof CodeBlockVersion>>;
|
|
69
69
|
actionId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
70
70
|
}>, never, {
|
|
71
|
-
readonly actionId?: string | null | undefined;
|
|
72
|
-
} & {
|
|
73
71
|
readonly id: string;
|
|
74
72
|
} & {
|
|
75
73
|
readonly name: string;
|
|
76
74
|
} & {
|
|
77
75
|
readonly intent: string;
|
|
76
|
+
} & {
|
|
77
|
+
readonly actionId?: string | null | undefined;
|
|
78
78
|
} & {
|
|
79
79
|
readonly latestCode: CodeBlockCode | null;
|
|
80
80
|
} & {
|
|
@@ -99,12 +99,12 @@ declare const CodeBlocksSearchParams_base: Schema.Class<CodeBlocksSearchParams,
|
|
|
99
99
|
readonly limit: number;
|
|
100
100
|
} & {
|
|
101
101
|
readonly scope: "user" | "public";
|
|
102
|
+
} & {
|
|
103
|
+
readonly cursor?: string | undefined;
|
|
102
104
|
} & {
|
|
103
105
|
readonly filters?: {
|
|
104
106
|
readonly name?: string | undefined;
|
|
105
107
|
} | undefined;
|
|
106
|
-
} & {
|
|
107
|
-
readonly cursor?: string | undefined;
|
|
108
108
|
}, {}, {}>;
|
|
109
109
|
declare class CodeBlocksSearchParams extends CodeBlocksSearchParams_base {}
|
|
110
110
|
declare const CodeBlocksSearchResponse_base: Schema.Class<CodeBlocksSearchResponse, {
|
|
@@ -203,8 +203,8 @@ declare const CodeBlockExecuteResponse_base: Schema.Class<CodeBlockExecuteRespon
|
|
|
203
203
|
readonly response: unknown;
|
|
204
204
|
} & {
|
|
205
205
|
readonly error?: {
|
|
206
|
-
readonly body?: unknown;
|
|
207
206
|
readonly message: string;
|
|
207
|
+
readonly body?: unknown;
|
|
208
208
|
readonly status?: number | undefined;
|
|
209
209
|
} | undefined;
|
|
210
210
|
} & {
|
|
@@ -263,12 +263,12 @@ declare const CreateCodeVersionResponse_base: Schema.Class<CreateCodeVersionResp
|
|
|
263
263
|
readonly name: string;
|
|
264
264
|
} & {
|
|
265
265
|
readonly intent: string;
|
|
266
|
+
} & {
|
|
267
|
+
readonly publishedAt: string | null;
|
|
266
268
|
} & {
|
|
267
269
|
readonly code: string;
|
|
268
270
|
} & {
|
|
269
271
|
readonly valTownFileUrl: string;
|
|
270
|
-
} & {
|
|
271
|
-
readonly publishedAt: string | null;
|
|
272
272
|
}, {}, {}>;
|
|
273
273
|
declare class CreateCodeVersionResponse extends CreateCodeVersionResponse_base {}
|
|
274
274
|
declare const UpdateCodeBlockMetadataParams_base: Schema.Class<UpdateCodeBlockMetadataParams, {
|
|
@@ -11,10 +11,10 @@ declare const CollectionSpecItem_base: Schema.Class<CollectionSpecItem, {
|
|
|
11
11
|
expressionRef: typeof Schema.String;
|
|
12
12
|
}>, never, {
|
|
13
13
|
readonly id: string;
|
|
14
|
-
} & {
|
|
15
|
-
readonly type: "action" | "adapter";
|
|
16
14
|
} & {
|
|
17
15
|
readonly expressionRef: string;
|
|
16
|
+
} & {
|
|
17
|
+
readonly type: "action" | "adapter";
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
declare class CollectionSpecItem extends CollectionSpecItem_base {}
|
|
20
20
|
declare const CollectionSpec_base: Schema.Class<CollectionSpec, {
|
|
@@ -96,7 +96,7 @@ declare const CollectionsSearchParams_base: Schema.Class<CollectionsSearchParams
|
|
|
96
96
|
} & {
|
|
97
97
|
readonly offset: number;
|
|
98
98
|
} & {
|
|
99
|
-
readonly scope?: readonly ("yours" | "
|
|
99
|
+
readonly scope?: readonly ("yours" | "verified" | "all")[] | undefined;
|
|
100
100
|
} & {
|
|
101
101
|
readonly filters?: {
|
|
102
102
|
readonly name?: string | undefined;
|
|
@@ -149,8 +149,8 @@ declare const CreateCollectionParams_base: Schema.Class<CreateCollectionParams,
|
|
|
149
149
|
readonly spec: {
|
|
150
150
|
readonly items: readonly {
|
|
151
151
|
readonly id: string;
|
|
152
|
-
readonly type: "action" | "adapter";
|
|
153
152
|
readonly expressionRef: string;
|
|
153
|
+
readonly type: "action" | "adapter";
|
|
154
154
|
}[];
|
|
155
155
|
readonly version: "1.0";
|
|
156
156
|
};
|
|
@@ -230,8 +230,8 @@ declare const UpdateCollectionParams_base: Schema.Class<UpdateCollectionParams,
|
|
|
230
230
|
readonly spec?: {
|
|
231
231
|
readonly items: readonly {
|
|
232
232
|
readonly id: string;
|
|
233
|
-
readonly type: "action" | "adapter";
|
|
234
233
|
readonly expressionRef: string;
|
|
234
|
+
readonly type: "action" | "adapter";
|
|
235
235
|
}[];
|
|
236
236
|
readonly version: "1.0";
|
|
237
237
|
} | undefined;
|