@powerhousedao/vetra 6.0.0-dev.252 → 6.0.0-dev.254
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/document-models/app-module/index.d.ts +3 -339
- package/dist/document-models/app-module/index.d.ts.map +1 -1
- package/dist/document-models/document-editor/index.d.ts +3 -315
- package/dist/document-models/document-editor/index.d.ts.map +1 -1
- package/dist/document-models/index.d.ts +5 -5
- package/dist/document-models/processor-module/index.d.ts +3 -347
- package/dist/document-models/processor-module/index.d.ts.map +1 -1
- package/dist/document-models/subgraph-module/index.d.ts +3 -286
- package/dist/document-models/subgraph-module/index.d.ts.map +1 -1
- package/dist/document-models/vetra-package/index.d.ts +3 -376
- package/dist/document-models/vetra-package/index.d.ts.map +1 -1
- package/dist/index-BdmD5tsW.d.ts +393 -0
- package/dist/index-BdmD5tsW.d.ts.map +1 -0
- package/dist/index-BfK0fsx4.d.ts +424 -0
- package/dist/index-BfK0fsx4.d.ts.map +1 -0
- package/dist/index.d.ts +136 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/module-BYEvqA47.d.ts +357 -0
- package/dist/module-BYEvqA47.d.ts.map +1 -0
- package/dist/module-CCqD26Hf.d.ts +478 -0
- package/dist/module-CCqD26Hf.d.ts.map +1 -0
- package/dist/module-CpP8D2Hl.d.ts +437 -0
- package/dist/module-CpP8D2Hl.d.ts.map +1 -0
- package/package.json +8 -8
- package/dist/module-BoX1rWiq.d.ts +0 -6
- package/dist/module-BoX1rWiq.d.ts.map +0 -1
- package/dist/module-CG6K37P8.d.ts +0 -6
- package/dist/module-CG6K37P8.d.ts.map +0 -1
- package/dist/module-Cr-9knz_.d.ts +0 -6
- package/dist/module-Cr-9knz_.d.ts.map +0 -1
- package/dist/module-DhhQLYnQ.d.ts +0 -6
- package/dist/module-DhhQLYnQ.d.ts.map +0 -1
- package/dist/module-J-kGIl1E.d.ts +0 -6
- package/dist/module-J-kGIl1E.d.ts.map +0 -1
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { t as VetraPackage } from "../../module-
|
|
2
|
-
import {
|
|
3
|
-
import * as z$1 from "zod";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
1
|
+
import { $ as VetraPackageDocument, A as vetraPackageDocumentType, At as SetPackageDescriptionAction, B as creators_d_exports, C as isDefinedNonNullAny, Ct as VetraPackageAction, D as defaultGlobalState, Dt as SetPackageAuthorNameAction, E as createVetraPackageDocument, Et as SetPackageAuthorAction, F as assertIsVetraPackageState, G as setPackageCategory, H as setPackageAuthor, I as isVetraPackageDocument, J as setPackageName, K as setPackageDescription, L as isVetraPackageState, M as VetraPackageDocumentSchema, Mt as SetPackageNameAction, N as VetraPackagePHStateSchema, Nt as SetPackageNpmUrlAction, O as defaultLocalState, Ot as SetPackageAuthorWebsiteAction, P as assertIsVetraPackageDocument, Pt as VetraPackageBaseOperationsAction, Q as actions, R as documentModel, S as definedNonNullAnySchema, St as VetraPackageState, T as createState, Tt as RemovePackageKeywordAction, U as setPackageAuthorName, V as removePackageKeyword, W as setPackageAuthorWebsite, X as VetraPackageController, Y as setPackageNpmUrl, Z as VetraPackageBaseOperationsOperations, _ as SetPackageDescriptionInputSchema, _t as SetPackageCategoryInput, a as useVetraPackageDocumentsInSelectedDrive, at as Incremental, b as SetPackageNpmUrlInputSchema, bt as SetPackageNameInput, c as initialLocalState, ct as MakeEmpty, d as KeywordSchema, dt as Maybe, et as VetraPackageLocalState, f as RemovePackageKeywordInputSchema, ft as RemovePackageKeywordInput, g as SetPackageCategoryInputSchema, gt as SetPackageAuthorWebsiteInput, h as SetPackageAuthorWebsiteInputSchema, ht as SetPackageAuthorNameInput, i as useVetraPackageDocumentById, it as Exact, j as VetraPackageDocumentHeaderSchema, jt as SetPackageGithubUrlAction, k as defaultPHState, kt as SetPackageCategoryAction, l as AddPackageKeywordInputSchema, lt as MakeMaybe, m as SetPackageAuthorNameInputSchema, mt as SetPackageAuthorInput, n as utils, nt as AddPackageKeywordInput, o as useVetraPackageDocumentsInSelectedFolder, ot as InputMaybe, p as SetPackageAuthorInputSchema, pt as Scalars, q as setPackageGithubUrl, r as useSelectedVetraPackageDocument, rt as Author, s as initialGlobalState, st as Keyword, t as VetraPackage, tt as VetraPackagePHState, u as AuthorSchema, ut as MakeOptional, v as SetPackageGithubUrlInputSchema, vt as SetPackageDescriptionInput, w as reducer, wt as AddPackageKeywordAction, x as VetraPackageStateSchema, xt as SetPackageNpmUrlInput, y as SetPackageNameInputSchema, yt as SetPackageGithubUrlInput, z as addPackageKeyword } from "../../module-CCqD26Hf.js";
|
|
2
|
+
import { UpgradeManifest } from "document-model";
|
|
6
3
|
|
|
7
4
|
//#region document-models/vetra-package/upgrades/versions.d.ts
|
|
8
5
|
declare const supportedVersions: readonly [1];
|
|
@@ -11,375 +8,5 @@ declare const latestVersion: 1;
|
|
|
11
8
|
//#region document-models/vetra-package/upgrades/upgrade-manifest.d.ts
|
|
12
9
|
declare const vetraPackageUpgradeManifest: UpgradeManifest<typeof supportedVersions>;
|
|
13
10
|
//#endregion
|
|
14
|
-
|
|
15
|
-
/** Actions for the VetraPackage document model */
|
|
16
|
-
declare const actions: any;
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region document-models/vetra-package/v1/gen/schema/types.d.ts
|
|
19
|
-
type Maybe<T> = T | null | undefined;
|
|
20
|
-
type InputMaybe<T> = T | null | undefined;
|
|
21
|
-
type Exact<T extends {
|
|
22
|
-
[key: string]: unknown;
|
|
23
|
-
}> = { [K in keyof T]: T[K] };
|
|
24
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
25
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
26
|
-
type MakeEmpty<T extends {
|
|
27
|
-
[key: string]: unknown;
|
|
28
|
-
}, K extends keyof T> = { [_ in K]?: never };
|
|
29
|
-
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
|
|
30
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
31
|
-
type Scalars = {
|
|
32
|
-
ID: {
|
|
33
|
-
input: string;
|
|
34
|
-
output: string;
|
|
35
|
-
};
|
|
36
|
-
String: {
|
|
37
|
-
input: string;
|
|
38
|
-
output: string;
|
|
39
|
-
};
|
|
40
|
-
Boolean: {
|
|
41
|
-
input: boolean;
|
|
42
|
-
output: boolean;
|
|
43
|
-
};
|
|
44
|
-
Int: {
|
|
45
|
-
input: number;
|
|
46
|
-
output: number;
|
|
47
|
-
};
|
|
48
|
-
Float: {
|
|
49
|
-
input: number;
|
|
50
|
-
output: number;
|
|
51
|
-
};
|
|
52
|
-
Address: {
|
|
53
|
-
input: `${string}:0x${string}`;
|
|
54
|
-
output: `${string}:0x${string}`;
|
|
55
|
-
};
|
|
56
|
-
Amount: {
|
|
57
|
-
input: {
|
|
58
|
-
unit?: string;
|
|
59
|
-
value?: number;
|
|
60
|
-
};
|
|
61
|
-
output: {
|
|
62
|
-
unit?: string;
|
|
63
|
-
value?: number;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
Amount_Crypto: {
|
|
67
|
-
input: {
|
|
68
|
-
unit: string;
|
|
69
|
-
value: string;
|
|
70
|
-
};
|
|
71
|
-
output: {
|
|
72
|
-
unit: string;
|
|
73
|
-
value: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
Amount_Currency: {
|
|
77
|
-
input: {
|
|
78
|
-
unit: string;
|
|
79
|
-
value: string;
|
|
80
|
-
};
|
|
81
|
-
output: {
|
|
82
|
-
unit: string;
|
|
83
|
-
value: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
Amount_Fiat: {
|
|
87
|
-
input: {
|
|
88
|
-
unit: string;
|
|
89
|
-
value: number;
|
|
90
|
-
};
|
|
91
|
-
output: {
|
|
92
|
-
unit: string;
|
|
93
|
-
value: number;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
Amount_Money: {
|
|
97
|
-
input: number;
|
|
98
|
-
output: number;
|
|
99
|
-
};
|
|
100
|
-
Amount_Percentage: {
|
|
101
|
-
input: number;
|
|
102
|
-
output: number;
|
|
103
|
-
};
|
|
104
|
-
Amount_Tokens: {
|
|
105
|
-
input: number;
|
|
106
|
-
output: number;
|
|
107
|
-
};
|
|
108
|
-
Attachment: {
|
|
109
|
-
input: string;
|
|
110
|
-
output: string;
|
|
111
|
-
};
|
|
112
|
-
Currency: {
|
|
113
|
-
input: string;
|
|
114
|
-
output: string;
|
|
115
|
-
};
|
|
116
|
-
Date: {
|
|
117
|
-
input: string;
|
|
118
|
-
output: string;
|
|
119
|
-
};
|
|
120
|
-
DateTime: {
|
|
121
|
-
input: string;
|
|
122
|
-
output: string;
|
|
123
|
-
};
|
|
124
|
-
EmailAddress: {
|
|
125
|
-
input: string;
|
|
126
|
-
output: string;
|
|
127
|
-
};
|
|
128
|
-
EthereumAddress: {
|
|
129
|
-
input: string;
|
|
130
|
-
output: string;
|
|
131
|
-
};
|
|
132
|
-
OID: {
|
|
133
|
-
input: string;
|
|
134
|
-
output: string;
|
|
135
|
-
};
|
|
136
|
-
OLabel: {
|
|
137
|
-
input: string;
|
|
138
|
-
output: string;
|
|
139
|
-
};
|
|
140
|
-
PHID: {
|
|
141
|
-
input: string;
|
|
142
|
-
output: string;
|
|
143
|
-
};
|
|
144
|
-
URL: {
|
|
145
|
-
input: string;
|
|
146
|
-
output: string;
|
|
147
|
-
};
|
|
148
|
-
Unknown: {
|
|
149
|
-
input: unknown;
|
|
150
|
-
output: unknown;
|
|
151
|
-
};
|
|
152
|
-
Upload: {
|
|
153
|
-
input: File;
|
|
154
|
-
output: File;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
type AddPackageKeywordInput = {
|
|
158
|
-
id: Scalars["String"]["input"];
|
|
159
|
-
label: Scalars["String"]["input"];
|
|
160
|
-
};
|
|
161
|
-
/** Author/maintainer of the Vetra Package. */
|
|
162
|
-
type Author = {
|
|
163
|
-
/** Display name of the author or organization. */name: Maybe<Scalars["String"]["output"]>; /** Author's website URL. */
|
|
164
|
-
website: Maybe<Scalars["URL"]["output"]>;
|
|
165
|
-
};
|
|
166
|
-
/** A single search keyword attached to the package. */
|
|
167
|
-
type Keyword = {
|
|
168
|
-
/** Stable identifier for the keyword entry; used to remove it. */id: Scalars["OID"]["output"]; /** Display label for the keyword (e.g. 'invoicing', 'defi'). */
|
|
169
|
-
label: Scalars["String"]["output"];
|
|
170
|
-
};
|
|
171
|
-
type RemovePackageKeywordInput = {
|
|
172
|
-
id: Scalars["String"]["input"];
|
|
173
|
-
};
|
|
174
|
-
type SetPackageAuthorInput = {
|
|
175
|
-
name?: InputMaybe<Scalars["OID"]["input"]>;
|
|
176
|
-
website?: InputMaybe<Scalars["URL"]["input"]>;
|
|
177
|
-
};
|
|
178
|
-
type SetPackageAuthorNameInput = {
|
|
179
|
-
name: Scalars["String"]["input"];
|
|
180
|
-
};
|
|
181
|
-
type SetPackageAuthorWebsiteInput = {
|
|
182
|
-
website: Scalars["URL"]["input"];
|
|
183
|
-
};
|
|
184
|
-
type SetPackageCategoryInput = {
|
|
185
|
-
category: Scalars["String"]["input"];
|
|
186
|
-
};
|
|
187
|
-
type SetPackageDescriptionInput = {
|
|
188
|
-
description: Scalars["String"]["input"];
|
|
189
|
-
};
|
|
190
|
-
type SetPackageGithubUrlInput = {
|
|
191
|
-
url: Scalars["URL"]["input"];
|
|
192
|
-
};
|
|
193
|
-
type SetPackageNameInput = {
|
|
194
|
-
name: Scalars["String"]["input"];
|
|
195
|
-
};
|
|
196
|
-
type SetPackageNpmUrlInput = {
|
|
197
|
-
url: Scalars["URL"]["input"];
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* Package metadata used to publish a Vetra Reactor Package to npm and surface
|
|
201
|
-
* it inside Connect/Switchboard. All fields are optional so a package can be
|
|
202
|
-
* created empty and filled in incrementally during development.
|
|
203
|
-
*/
|
|
204
|
-
type VetraPackageState = {
|
|
205
|
-
/** Author/maintainer information surfaced in the published package metadata. */author: Author; /** Free-form category label used to group packages in directories (e.g. 'Finance', 'Productivity'). */
|
|
206
|
-
category: Maybe<Scalars["String"]["output"]>; /** One-paragraph summary of what the package provides. Shown on package listing pages. */
|
|
207
|
-
description: Maybe<Scalars["String"]["output"]>; /** Public source code URL (typically a GitHub repository). */
|
|
208
|
-
githubUrl: Maybe<Scalars["URL"]["output"]>; /** Search keywords associated with the package. Each keyword has a stable id so it can be removed individually. */
|
|
209
|
-
keywords: Array<Keyword>; /** Human-readable package name (e.g. 'Pizza Plaza'). Distinct from the npm package id. */
|
|
210
|
-
name: Maybe<Scalars["String"]["output"]>; /** Published npm package URL. Set once the package has been released. */
|
|
211
|
-
npmUrl: Maybe<Scalars["URL"]["output"]>;
|
|
212
|
-
};
|
|
213
|
-
//#endregion
|
|
214
|
-
//#region document-models/vetra-package/v1/gen/types.d.ts
|
|
215
|
-
type VetraPackageLocalState = Record<PropertyKey, never>;
|
|
216
|
-
type VetraPackagePHState = PHBaseState & {
|
|
217
|
-
global: VetraPackageState;
|
|
218
|
-
local: VetraPackageLocalState;
|
|
219
|
-
};
|
|
220
|
-
type VetraPackageDocument = PHDocument<VetraPackagePHState>;
|
|
221
|
-
//#endregion
|
|
222
|
-
//#region document-models/vetra-package/v1/gen/base-operations/actions.d.ts
|
|
223
|
-
type SetPackageNameAction = Action & {
|
|
224
|
-
type: "SET_PACKAGE_NAME";
|
|
225
|
-
input: SetPackageNameInput;
|
|
226
|
-
};
|
|
227
|
-
type SetPackageDescriptionAction = Action & {
|
|
228
|
-
type: "SET_PACKAGE_DESCRIPTION";
|
|
229
|
-
input: SetPackageDescriptionInput;
|
|
230
|
-
};
|
|
231
|
-
type SetPackageCategoryAction = Action & {
|
|
232
|
-
type: "SET_PACKAGE_CATEGORY";
|
|
233
|
-
input: SetPackageCategoryInput;
|
|
234
|
-
};
|
|
235
|
-
type SetPackageAuthorAction = Action & {
|
|
236
|
-
type: "SET_PACKAGE_AUTHOR";
|
|
237
|
-
input: SetPackageAuthorInput;
|
|
238
|
-
};
|
|
239
|
-
type SetPackageAuthorNameAction = Action & {
|
|
240
|
-
type: "SET_PACKAGE_AUTHOR_NAME";
|
|
241
|
-
input: SetPackageAuthorNameInput;
|
|
242
|
-
};
|
|
243
|
-
type SetPackageAuthorWebsiteAction = Action & {
|
|
244
|
-
type: "SET_PACKAGE_AUTHOR_WEBSITE";
|
|
245
|
-
input: SetPackageAuthorWebsiteInput;
|
|
246
|
-
};
|
|
247
|
-
type AddPackageKeywordAction = Action & {
|
|
248
|
-
type: "ADD_PACKAGE_KEYWORD";
|
|
249
|
-
input: AddPackageKeywordInput;
|
|
250
|
-
};
|
|
251
|
-
type RemovePackageKeywordAction = Action & {
|
|
252
|
-
type: "REMOVE_PACKAGE_KEYWORD";
|
|
253
|
-
input: RemovePackageKeywordInput;
|
|
254
|
-
};
|
|
255
|
-
type SetPackageGithubUrlAction = Action & {
|
|
256
|
-
type: "SET_PACKAGE_GITHUB_URL";
|
|
257
|
-
input: SetPackageGithubUrlInput;
|
|
258
|
-
};
|
|
259
|
-
type SetPackageNpmUrlAction = Action & {
|
|
260
|
-
type: "SET_PACKAGE_NPM_URL";
|
|
261
|
-
input: SetPackageNpmUrlInput;
|
|
262
|
-
};
|
|
263
|
-
type VetraPackageBaseOperationsAction = SetPackageNameAction | SetPackageDescriptionAction | SetPackageCategoryAction | SetPackageAuthorAction | SetPackageAuthorNameAction | SetPackageAuthorWebsiteAction | AddPackageKeywordAction | RemovePackageKeywordAction | SetPackageGithubUrlAction | SetPackageNpmUrlAction;
|
|
264
|
-
//#endregion
|
|
265
|
-
//#region document-models/vetra-package/v1/gen/actions.d.ts
|
|
266
|
-
type VetraPackageAction = VetraPackageBaseOperationsAction;
|
|
267
|
-
//#endregion
|
|
268
|
-
//#region document-models/vetra-package/v1/gen/base-operations/operations.d.ts
|
|
269
|
-
interface VetraPackageBaseOperationsOperations {
|
|
270
|
-
setPackageNameOperation: (state: VetraPackageState, action: SetPackageNameAction, dispatch?: SignalDispatch) => void;
|
|
271
|
-
setPackageDescriptionOperation: (state: VetraPackageState, action: SetPackageDescriptionAction, dispatch?: SignalDispatch) => void;
|
|
272
|
-
setPackageCategoryOperation: (state: VetraPackageState, action: SetPackageCategoryAction, dispatch?: SignalDispatch) => void;
|
|
273
|
-
setPackageAuthorOperation: (state: VetraPackageState, action: SetPackageAuthorAction, dispatch?: SignalDispatch) => void;
|
|
274
|
-
setPackageAuthorNameOperation: (state: VetraPackageState, action: SetPackageAuthorNameAction, dispatch?: SignalDispatch) => void;
|
|
275
|
-
setPackageAuthorWebsiteOperation: (state: VetraPackageState, action: SetPackageAuthorWebsiteAction, dispatch?: SignalDispatch) => void;
|
|
276
|
-
addPackageKeywordOperation: (state: VetraPackageState, action: AddPackageKeywordAction, dispatch?: SignalDispatch) => void;
|
|
277
|
-
removePackageKeywordOperation: (state: VetraPackageState, action: RemovePackageKeywordAction, dispatch?: SignalDispatch) => void;
|
|
278
|
-
setPackageGithubUrlOperation: (state: VetraPackageState, action: SetPackageGithubUrlAction, dispatch?: SignalDispatch) => void;
|
|
279
|
-
setPackageNpmUrlOperation: (state: VetraPackageState, action: SetPackageNpmUrlAction, dispatch?: SignalDispatch) => void;
|
|
280
|
-
}
|
|
281
|
-
//#endregion
|
|
282
|
-
//#region document-models/vetra-package/v1/gen/controller.d.ts
|
|
283
|
-
declare const VetraPackageController: any;
|
|
284
|
-
declare namespace creators_d_exports {
|
|
285
|
-
export { addPackageKeyword, removePackageKeyword, setPackageAuthor, setPackageAuthorName, setPackageAuthorWebsite, setPackageCategory, setPackageDescription, setPackageGithubUrl, setPackageName, setPackageNpmUrl };
|
|
286
|
-
}
|
|
287
|
-
declare const setPackageName: (input: SetPackageNameInput) => any;
|
|
288
|
-
declare const setPackageDescription: (input: SetPackageDescriptionInput) => any;
|
|
289
|
-
declare const setPackageCategory: (input: SetPackageCategoryInput) => any;
|
|
290
|
-
declare const setPackageAuthor: (input: SetPackageAuthorInput) => any;
|
|
291
|
-
declare const setPackageAuthorName: (input: SetPackageAuthorNameInput) => any;
|
|
292
|
-
declare const setPackageAuthorWebsite: (input: SetPackageAuthorWebsiteInput) => any;
|
|
293
|
-
declare const addPackageKeyword: (input: AddPackageKeywordInput) => any;
|
|
294
|
-
declare const removePackageKeyword: (input: RemovePackageKeywordInput) => any;
|
|
295
|
-
declare const setPackageGithubUrl: (input: SetPackageGithubUrlInput) => any;
|
|
296
|
-
declare const setPackageNpmUrl: (input: SetPackageNpmUrlInput) => any;
|
|
297
|
-
//#endregion
|
|
298
|
-
//#region document-models/vetra-package/v1/gen/document-model.d.ts
|
|
299
|
-
declare const documentModel: DocumentModelGlobalState;
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region document-models/vetra-package/v1/gen/document-schema.d.ts
|
|
302
|
-
/** Schema for validating the header object of a VetraPackage document */
|
|
303
|
-
declare const VetraPackageDocumentHeaderSchema: any;
|
|
304
|
-
/** Schema for validating the state object of a VetraPackage document */
|
|
305
|
-
declare const VetraPackagePHStateSchema: any;
|
|
306
|
-
declare const VetraPackageDocumentSchema: z.ZodObject<{
|
|
307
|
-
header: any;
|
|
308
|
-
state: any;
|
|
309
|
-
initialState: any;
|
|
310
|
-
}, z.core.$strip>;
|
|
311
|
-
/** Simple helper function to check if a state object is a VetraPackage document state object */
|
|
312
|
-
declare function isVetraPackageState(state: unknown): state is VetraPackagePHState;
|
|
313
|
-
/** Simple helper function to assert that a document state object is a VetraPackage document state object */
|
|
314
|
-
declare function assertIsVetraPackageState(state: unknown): asserts state is VetraPackagePHState;
|
|
315
|
-
/** Simple helper function to check if a document is a VetraPackage document */
|
|
316
|
-
declare function isVetraPackageDocument(document: unknown): document is VetraPackageDocument;
|
|
317
|
-
/** Simple helper function to assert that a document is a VetraPackage document */
|
|
318
|
-
declare function assertIsVetraPackageDocument(document: unknown): asserts document is VetraPackageDocument;
|
|
319
|
-
//#endregion
|
|
320
|
-
//#region document-models/vetra-package/v1/gen/document-type.d.ts
|
|
321
|
-
/**
|
|
322
|
-
* WARNING: DO NOT EDIT
|
|
323
|
-
* This file is auto-generated and updated by codegen
|
|
324
|
-
*/
|
|
325
|
-
declare const vetraPackageDocumentType = "powerhouse/package";
|
|
326
|
-
//#endregion
|
|
327
|
-
//#region document-models/vetra-package/v1/gen/ph-factories.d.ts
|
|
328
|
-
declare function defaultGlobalState(): VetraPackageState;
|
|
329
|
-
declare function defaultLocalState(): VetraPackageLocalState;
|
|
330
|
-
declare function defaultPHState(): VetraPackagePHState;
|
|
331
|
-
declare function createState(baseState?: Partial<PHBaseState>, globalState?: Partial<VetraPackageState>, localState?: Partial<VetraPackageLocalState>): VetraPackagePHState;
|
|
332
|
-
/**
|
|
333
|
-
* Creates a VetraPackageDocument with custom global and local state
|
|
334
|
-
* This properly handles the PHBaseState requirements while allowing
|
|
335
|
-
* document-specific state to be set.
|
|
336
|
-
*/
|
|
337
|
-
declare function createVetraPackageDocument(state?: Partial<{
|
|
338
|
-
auth?: Partial<PHAuthState>;
|
|
339
|
-
document?: Partial<PHDocumentState>;
|
|
340
|
-
global?: Partial<VetraPackageState>;
|
|
341
|
-
local?: Partial<VetraPackageLocalState>;
|
|
342
|
-
}>): VetraPackageDocument;
|
|
343
|
-
//#endregion
|
|
344
|
-
//#region document-models/vetra-package/v1/gen/reducer.d.ts
|
|
345
|
-
declare const reducer: Reducer<VetraPackagePHState>;
|
|
346
|
-
//#endregion
|
|
347
|
-
//#region document-models/vetra-package/v1/gen/schema/zod.d.ts
|
|
348
|
-
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]> }>;
|
|
349
|
-
type definedNonNullAny = {};
|
|
350
|
-
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
351
|
-
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
352
|
-
declare function AddPackageKeywordInputSchema(): z$1.ZodObject<Properties<AddPackageKeywordInput>>;
|
|
353
|
-
declare function AuthorSchema(): z$1.ZodObject<Properties<Author>>;
|
|
354
|
-
declare function KeywordSchema(): z$1.ZodObject<Properties<Keyword>>;
|
|
355
|
-
declare function RemovePackageKeywordInputSchema(): z$1.ZodObject<Properties<RemovePackageKeywordInput>>;
|
|
356
|
-
declare function SetPackageAuthorInputSchema(): z$1.ZodObject<Properties<SetPackageAuthorInput>>;
|
|
357
|
-
declare function SetPackageAuthorNameInputSchema(): z$1.ZodObject<Properties<SetPackageAuthorNameInput>>;
|
|
358
|
-
declare function SetPackageAuthorWebsiteInputSchema(): z$1.ZodObject<Properties<SetPackageAuthorWebsiteInput>>;
|
|
359
|
-
declare function SetPackageCategoryInputSchema(): z$1.ZodObject<Properties<SetPackageCategoryInput>>;
|
|
360
|
-
declare function SetPackageDescriptionInputSchema(): z$1.ZodObject<Properties<SetPackageDescriptionInput>>;
|
|
361
|
-
declare function SetPackageGithubUrlInputSchema(): z$1.ZodObject<Properties<SetPackageGithubUrlInput>>;
|
|
362
|
-
declare function SetPackageNameInputSchema(): z$1.ZodObject<Properties<SetPackageNameInput>>;
|
|
363
|
-
declare function SetPackageNpmUrlInputSchema(): z$1.ZodObject<Properties<SetPackageNpmUrlInput>>;
|
|
364
|
-
declare function VetraPackageStateSchema(): z$1.ZodObject<Properties<VetraPackageState>>;
|
|
365
|
-
//#endregion
|
|
366
|
-
//#region document-models/vetra-package/v1/gen/utils.d.ts
|
|
367
|
-
declare const initialGlobalState: VetraPackageState;
|
|
368
|
-
declare const initialLocalState: VetraPackageLocalState;
|
|
369
|
-
//#endregion
|
|
370
|
-
//#region document-models/vetra-package/v1/hooks.d.ts
|
|
371
|
-
/** Hook to get a VetraPackage document by its id */
|
|
372
|
-
declare function useVetraPackageDocumentById(documentId: string | null | undefined): [VetraPackageDocument, DocumentDispatch<VetraPackageAction>] | [undefined, undefined];
|
|
373
|
-
/** Hook to get the selected VetraPackage document */
|
|
374
|
-
declare function useSelectedVetraPackageDocument(): [VetraPackageDocument, DocumentDispatch<VetraPackageAction>];
|
|
375
|
-
/** Hook to get all VetraPackage documents in the selected drive */
|
|
376
|
-
declare function useVetraPackageDocumentsInSelectedDrive(): any;
|
|
377
|
-
/** Hook to get all VetraPackage documents in the selected folder */
|
|
378
|
-
declare function useVetraPackageDocumentsInSelectedFolder(): any;
|
|
379
|
-
//#endregion
|
|
380
|
-
//#region document-models/vetra-package/v1/utils.d.ts
|
|
381
|
-
/** Utils for the VetraPackage document model */
|
|
382
|
-
declare const utils: DocumentModelUtils<VetraPackagePHState>;
|
|
383
|
-
//#endregion
|
|
384
|
-
export { AddPackageKeywordAction, AddPackageKeywordInput, AddPackageKeywordInputSchema, Author, AuthorSchema, Exact, Incremental, InputMaybe, Keyword, KeywordSchema, MakeEmpty, MakeMaybe, MakeOptional, Maybe, RemovePackageKeywordAction, RemovePackageKeywordInput, RemovePackageKeywordInputSchema, Scalars, SetPackageAuthorAction, SetPackageAuthorInput, SetPackageAuthorInputSchema, SetPackageAuthorNameAction, SetPackageAuthorNameInput, SetPackageAuthorNameInputSchema, SetPackageAuthorWebsiteAction, SetPackageAuthorWebsiteInput, SetPackageAuthorWebsiteInputSchema, SetPackageCategoryAction, SetPackageCategoryInput, SetPackageCategoryInputSchema, SetPackageDescriptionAction, SetPackageDescriptionInput, SetPackageDescriptionInputSchema, SetPackageGithubUrlAction, SetPackageGithubUrlInput, SetPackageGithubUrlInputSchema, SetPackageNameAction, SetPackageNameInput, SetPackageNameInputSchema, SetPackageNpmUrlAction, SetPackageNpmUrlInput, SetPackageNpmUrlInputSchema, VetraPackage, type VetraPackageAction, VetraPackageBaseOperationsAction, VetraPackageBaseOperationsOperations, VetraPackageController, type VetraPackageDocument, VetraPackageDocumentHeaderSchema, VetraPackageDocumentSchema, type VetraPackageState as VetraPackageGlobalState, VetraPackageState, type VetraPackageLocalState, type VetraPackagePHState, VetraPackagePHStateSchema, VetraPackageStateSchema, actions, addPackageKeyword, assertIsVetraPackageDocument, assertIsVetraPackageState, createState, createVetraPackageDocument, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isDefinedNonNullAny, isVetraPackageDocument, isVetraPackageState, latestVersion, reducer, removePackageKeyword, setPackageAuthor, setPackageAuthorName, setPackageAuthorWebsite, setPackageCategory, setPackageDescription, setPackageGithubUrl, setPackageName, setPackageNpmUrl, supportedVersions, useSelectedVetraPackageDocument, useVetraPackageDocumentById, useVetraPackageDocumentsInSelectedDrive, useVetraPackageDocumentsInSelectedFolder, utils, creators_d_exports as vetraPackageBaseOperationsActions, vetraPackageDocumentType, vetraPackageUpgradeManifest };
|
|
11
|
+
export { AddPackageKeywordAction, AddPackageKeywordInput, AddPackageKeywordInputSchema, Author, AuthorSchema, Exact, Incremental, InputMaybe, Keyword, KeywordSchema, MakeEmpty, MakeMaybe, MakeOptional, Maybe, RemovePackageKeywordAction, RemovePackageKeywordInput, RemovePackageKeywordInputSchema, Scalars, SetPackageAuthorAction, SetPackageAuthorInput, SetPackageAuthorInputSchema, SetPackageAuthorNameAction, SetPackageAuthorNameInput, SetPackageAuthorNameInputSchema, SetPackageAuthorWebsiteAction, SetPackageAuthorWebsiteInput, SetPackageAuthorWebsiteInputSchema, SetPackageCategoryAction, SetPackageCategoryInput, SetPackageCategoryInputSchema, SetPackageDescriptionAction, SetPackageDescriptionInput, SetPackageDescriptionInputSchema, SetPackageGithubUrlAction, SetPackageGithubUrlInput, SetPackageGithubUrlInputSchema, SetPackageNameAction, SetPackageNameInput, SetPackageNameInputSchema, SetPackageNpmUrlAction, SetPackageNpmUrlInput, SetPackageNpmUrlInputSchema, VetraPackage, VetraPackageAction, VetraPackageBaseOperationsAction, VetraPackageBaseOperationsOperations, VetraPackageController, VetraPackageDocument, VetraPackageDocumentHeaderSchema, VetraPackageDocumentSchema, VetraPackageState as VetraPackageGlobalState, VetraPackageState, VetraPackageLocalState, VetraPackagePHState, VetraPackagePHStateSchema, VetraPackageStateSchema, actions, addPackageKeyword, assertIsVetraPackageDocument, assertIsVetraPackageState, createState, createVetraPackageDocument, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isDefinedNonNullAny, isVetraPackageDocument, isVetraPackageState, latestVersion, reducer, removePackageKeyword, setPackageAuthor, setPackageAuthorName, setPackageAuthorWebsite, setPackageCategory, setPackageDescription, setPackageGithubUrl, setPackageName, setPackageNpmUrl, supportedVersions, useSelectedVetraPackageDocument, useVetraPackageDocumentById, useVetraPackageDocumentsInSelectedDrive, useVetraPackageDocumentsInSelectedFolder, utils, creators_d_exports as vetraPackageBaseOperationsActions, vetraPackageDocumentType, vetraPackageUpgradeManifest };
|
|
385
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../document-models/vetra-package/upgrades/versions.ts","../../../document-models/vetra-package/upgrades/upgrade-manifest.ts"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../document-models/vetra-package/upgrades/versions.ts","../../../document-models/vetra-package/upgrades/upgrade-manifest.ts"],"mappings":";;;;cAAa,iBAAA;AAAA,cAEA,aAAA;;;cCKA,2BAAA,EAA6B,eAAA,QACjC,iBAAA"}
|