@milaboratories/pl-model-middle-layer 1.32.0 → 1.32.2

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.
Files changed (63) hide show
  1. package/dist/block_meta/block_components.d.ts +8 -10
  2. package/dist/block_meta/block_components.d.ts.map +1 -1
  3. package/dist/block_meta/block_description.d.ts +80 -82
  4. package/dist/block_meta/block_description.d.ts.map +1 -1
  5. package/dist/block_meta/block_id.d.ts +10 -12
  6. package/dist/block_meta/block_id.d.ts.map +1 -1
  7. package/dist/block_meta/block_manifest.d.ts +13 -15
  8. package/dist/block_meta/block_manifest.d.ts.map +1 -1
  9. package/dist/block_meta/block_meta.d.ts +10 -12
  10. package/dist/block_meta/block_meta.d.ts.map +1 -1
  11. package/dist/block_meta/common.d.ts +2 -3
  12. package/dist/block_meta/common.d.ts.map +1 -1
  13. package/dist/block_meta/content_conversion.d.ts +2 -4
  14. package/dist/block_meta/content_conversion.d.ts.map +1 -1
  15. package/dist/block_meta/content_types.d.ts +29 -28
  16. package/dist/block_meta/content_types.d.ts.map +1 -1
  17. package/dist/block_meta/semver.d.ts +1 -3
  18. package/dist/block_meta/semver.d.ts.map +1 -1
  19. package/dist/block_registry/block_pack_spec.d.ts +16 -18
  20. package/dist/block_registry/block_pack_spec.d.ts.map +1 -1
  21. package/dist/block_registry/overview.d.ts +137 -139
  22. package/dist/block_registry/overview.d.ts.map +1 -1
  23. package/dist/block_registry/registry_spec.d.ts +16 -18
  24. package/dist/block_registry/registry_spec.d.ts.map +1 -1
  25. package/dist/block_settings.d.ts +5 -5
  26. package/dist/block_settings.d.ts.map +1 -1
  27. package/dist/block_state.d.ts +9 -7
  28. package/dist/block_state.d.ts.map +1 -1
  29. package/dist/index.d.ts +3 -0
  30. package/dist/json.d.ts +5 -7
  31. package/dist/json.d.ts.map +1 -1
  32. package/dist/pframe/internal_api/api_factory.d.ts +10 -12
  33. package/dist/pframe/internal_api/api_factory.d.ts.map +1 -1
  34. package/dist/pframe/internal_api/api_read.d.ts +2 -4
  35. package/dist/pframe/internal_api/api_read.d.ts.map +1 -1
  36. package/dist/pframe/internal_api/common.d.ts +6 -8
  37. package/dist/pframe/internal_api/common.d.ts.map +1 -1
  38. package/dist/pframe/internal_api/create_table.d.ts +9 -11
  39. package/dist/pframe/internal_api/create_table.d.ts.map +1 -1
  40. package/dist/pframe/internal_api/delete_column.d.ts +2 -4
  41. package/dist/pframe/internal_api/delete_column.d.ts.map +1 -1
  42. package/dist/pframe/internal_api/discover_columns.d.ts +11 -12
  43. package/dist/pframe/internal_api/discover_columns.d.ts.map +1 -1
  44. package/dist/pframe/internal_api/find_columns.d.ts +5 -7
  45. package/dist/pframe/internal_api/find_columns.d.ts.map +1 -1
  46. package/dist/pframe/internal_api/http_helpers.d.ts +87 -53
  47. package/dist/pframe/internal_api/http_helpers.d.ts.map +1 -1
  48. package/dist/pframe/internal_api/index.d.ts +0 -2
  49. package/dist/pframe/internal_api/pframe.d.ts +8 -7
  50. package/dist/pframe/internal_api/pframe.d.ts.map +1 -1
  51. package/dist/pframe/internal_api/table.d.ts +1 -3
  52. package/dist/pframe/internal_api/table.d.ts.map +1 -1
  53. package/dist/project.d.ts +1 -2
  54. package/dist/project.d.ts.map +1 -1
  55. package/dist/project_list.d.ts +1 -3
  56. package/dist/project_list.d.ts.map +1 -1
  57. package/dist/project_overview.d.ts +25 -15
  58. package/dist/project_overview.d.ts.map +1 -1
  59. package/dist/storage_debug_view.d.ts +1 -2
  60. package/dist/storage_debug_view.d.ts.map +1 -1
  61. package/dist/update_info.d.ts +3 -3
  62. package/dist/update_info.d.ts.map +1 -1
  63. package/package.json +7 -7
@@ -1,7 +1,6 @@
1
1
  import { ContentAbsoluteUrl, ContentAnyLocal, ContentExplicitOrRelative, ContentRelative } from "./content_types.js";
2
-
3
2
  //#region src/block_meta/content_conversion.d.ts
4
- declare function mapRemoteToAbsolute(rootUrl: string): <T extends ContentAnyLocal>(value: T) => Exclude<T, ContentRelative> | ContentAbsoluteUrl;
3
+ export declare function mapRemoteToAbsolute(rootUrl: string): <T extends ContentAnyLocal>(value: T) => Exclude<T, ContentRelative> | ContentAbsoluteUrl;
5
4
  /**
6
5
  * Creates transformer of relative content paths, that adds a specific prefix to the relative path.
7
6
  *
@@ -9,7 +8,6 @@ declare function mapRemoteToAbsolute(rootUrl: string): <T extends ContentAnyLoca
9
8
  *
10
9
  * @param prefix prefix to add to the relative path, slash at the end will be added automatically if missed
11
10
  */
12
- declare function addPrefixToRelative(prefix: string): <T extends ContentExplicitOrRelative>(value: T) => T;
11
+ export declare function addPrefixToRelative(prefix: string): <T extends ContentExplicitOrRelative>(value: T) => T;
13
12
  //#endregion
14
- export { addPrefixToRelative, mapRemoteToAbsolute };
15
13
  //# sourceMappingURL=content_conversion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"content_conversion.d.ts","names":[],"sources":["../../src/block_meta/content_conversion.ts"],"mappings":";;;iBAOgB,mBAAA,CACd,OAAA,sBACY,eAAA,EAAiB,KAAA,EAAO,CAAA,KAAM,OAAA,CAAQ,CAAA,EAAG,eAAA,IAAmB,kBAAA;;AAF1E;;;;;;iBAiBgB,mBAAA,CACd,MAAA,sBACY,yBAAA,EAA2B,KAAA,EAAO,CAAA,KAAM,CAAA"}
1
+ {"version":3,"file":"content_conversion.d.ts","names":[],"sources":["../../src/block_meta/content_conversion.ts"],"mappings":";;wBAOgB,oBACd,mBACE,UAAU,iBAAiB,OAAO,MAAM,QAAQ,GAAG,mBAAmB;;;;;;;;wBAe1D,oBACd,kBACE,UAAU,2BAA2B,OAAO,MAAM"}
@@ -1,30 +1,32 @@
1
1
  import { z } from "zod";
2
-
3
2
  //#region src/block_meta/content_types.d.ts
4
3
  /** Inlined plain string (e.g. a short text snippet or markdown body). */
5
- type ContentExplicitString = {
4
+ export type ContentExplicitString = {
6
5
  type: "explicit-string";
7
6
  content: string;
8
7
  };
9
8
  /** Inlined binary blob carried as base64 (e.g. a serialized logo image). */
10
- type ContentExplicitBase64 = {
11
- type: "explicit-base64"; /** MIME type used to interpret `content`. */
12
- mimeType: string; /** Base64-encoded binary payload. */
9
+ export type ContentExplicitBase64 = {
10
+ type: "explicit-base64";
11
+ /** MIME type used to interpret `content`. */
12
+ mimeType: string;
13
+ /** Base64-encoded binary payload. */
13
14
  content: string;
14
15
  };
15
16
  /** Inlined binary blob carried as raw bytes. Wire form only; not used in JSON. */
16
- type ContentExplicitBytes = {
17
- type: "explicit-bytes"; /** MIME type used to interpret `content`. */
17
+ export type ContentExplicitBytes = {
18
+ type: "explicit-bytes";
19
+ /** MIME type used to interpret `content`. */
18
20
  mimeType: string;
19
21
  content: Uint8Array;
20
22
  };
21
23
  /** Reference to a file by path relative to the carrying structure. */
22
- type ContentRelative = {
24
+ export type ContentRelative = {
23
25
  type: "relative";
24
26
  path: string;
25
27
  };
26
28
  /** Reference to a file at an absolute local path. */
27
- type ContentAbsoluteFile = {
29
+ export type ContentAbsoluteFile = {
28
30
  type: "absolute-file";
29
31
  file: string;
30
32
  };
@@ -33,34 +35,34 @@ type ContentAbsoluteFile = {
33
35
  * delivered as folders; the desktop "add block" dialog reads such folders on
34
36
  * demand instead of pulling every UI bundle eagerly.
35
37
  */
36
- type ContentAbsoluteFolder = {
38
+ export type ContentAbsoluteFolder = {
37
39
  type: "absolute-folder";
38
40
  folder: string;
39
41
  };
40
42
  /** Reference to a file by remote URL (e.g. served from the registry). */
41
- type ContentAbsoluteUrl = {
43
+ export type ContentAbsoluteUrl = {
42
44
  type: "absolute-url";
43
45
  url: string;
44
46
  };
45
47
  /** Canonical union of every content carrier shape used across the platform. */
46
- type Content = ContentExplicitString | ContentExplicitBase64 | ContentExplicitBytes | ContentRelative | ContentAbsoluteFile | ContentAbsoluteFolder | ContentAbsoluteUrl;
48
+ export type Content = ContentExplicitString | ContentExplicitBase64 | ContentExplicitBytes | ContentRelative | ContentAbsoluteFile | ContentAbsoluteFolder | ContentAbsoluteUrl;
47
49
  /** Inlined or relative-path content (text/binary inlined, or relative path). */
48
- type ContentExplicitOrRelative = ContentExplicitString | ContentExplicitBase64 | ContentRelative;
50
+ export type ContentExplicitOrRelative = ContentExplicitString | ContentExplicitBase64 | ContentRelative;
49
51
  /** Any locally-resolvable content (inlined, relative path, or absolute file). */
50
- type ContentAnyLocal = ContentExplicitString | ContentExplicitBase64 | ContentRelative | ContentAbsoluteFile;
52
+ export type ContentAnyLocal = ContentExplicitString | ContentExplicitBase64 | ContentRelative | ContentAbsoluteFile;
51
53
  /** Text content available locally (inlined, relative path, or absolute file). */
52
- type ContentAnyTextLocal = ContentExplicitString | ContentRelative | ContentAbsoluteFile;
54
+ export type ContentAnyTextLocal = ContentExplicitString | ContentRelative | ContentAbsoluteFile;
53
55
  /** Binary content available locally (inlined base64, relative path, or absolute file). */
54
- type ContentAnyBinaryLocal = ContentExplicitBase64 | ContentRelative | ContentAbsoluteFile;
56
+ export type ContentAnyBinaryLocal = ContentExplicitBase64 | ContentRelative | ContentAbsoluteFile;
55
57
  /** Binary content fully resolved (inlined base64 or absolute file). */
56
- type ContentAbsoluteBinaryLocal = ContentExplicitBase64 | ContentAbsoluteFile;
58
+ export type ContentAbsoluteBinaryLocal = ContentExplicitBase64 | ContentAbsoluteFile;
57
59
  /** Text content fully resolved (inlined string or absolute file). */
58
- type ContentAbsoluteTextLocal = ContentExplicitString | ContentAbsoluteFile;
60
+ export type ContentAbsoluteTextLocal = ContentExplicitString | ContentAbsoluteFile;
59
61
  /** Binary content in manifest form (inlined base64 or path relative to the manifest). */
60
- type ContentRelativeBinary = ContentExplicitBase64 | ContentRelative;
62
+ export type ContentRelativeBinary = ContentExplicitBase64 | ContentRelative;
61
63
  /** Text content in manifest form (inlined string or path relative to the manifest). */
62
- type ContentRelativeText = ContentExplicitString | ContentRelative;
63
- declare const ContentExplicitBase64: z.ZodObject<{
64
+ export type ContentRelativeText = ContentExplicitString | ContentRelative;
65
+ export declare const ContentExplicitBase64: z.ZodObject<{
64
66
  type: z.ZodLiteral<"explicit-base64">;
65
67
  mimeType: z.ZodString;
66
68
  content: z.ZodString;
@@ -73,7 +75,7 @@ declare const ContentExplicitBase64: z.ZodObject<{
73
75
  mimeType: string;
74
76
  content: string;
75
77
  }>;
76
- declare const ContentExplicitBytes: z.ZodObject<{
78
+ export declare const ContentExplicitBytes: z.ZodObject<{
77
79
  type: z.ZodLiteral<"explicit-bytes">;
78
80
  mimeType: z.ZodString;
79
81
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
@@ -86,7 +88,7 @@ declare const ContentExplicitBytes: z.ZodObject<{
86
88
  mimeType: string;
87
89
  content: Uint8Array<ArrayBuffer>;
88
90
  }>;
89
- declare const ContentRelative: z.ZodObject<{
91
+ export declare const ContentRelative: z.ZodObject<{
90
92
  type: z.ZodLiteral<"relative">;
91
93
  path: z.ZodString;
92
94
  }, "strict", z.ZodTypeAny, {
@@ -96,7 +98,7 @@ declare const ContentRelative: z.ZodObject<{
96
98
  type: "relative";
97
99
  path: string;
98
100
  }>;
99
- declare const ContentRelativeBinary: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
101
+ export declare const ContentRelativeBinary: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
100
102
  type: z.ZodLiteral<"explicit-base64">;
101
103
  mimeType: z.ZodString;
102
104
  content: z.ZodString;
@@ -118,7 +120,7 @@ declare const ContentRelativeBinary: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
118
120
  type: "relative";
119
121
  path: string;
120
122
  }>]>;
121
- declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
123
+ export declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
122
124
  type: z.ZodLiteral<"explicit-string">;
123
125
  content: z.ZodString;
124
126
  }, "strict", z.ZodTypeAny, {
@@ -137,7 +139,7 @@ declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
137
139
  type: "relative";
138
140
  path: string;
139
141
  }>]>;
140
- declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
142
+ export declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
141
143
  type: z.ZodLiteral<"explicit-base64">;
142
144
  mimeType: z.ZodString;
143
145
  content: z.ZodString;
@@ -168,7 +170,7 @@ declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, Co
168
170
  type: "absolute-file";
169
171
  file: string;
170
172
  }>]>]>;
171
- declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
173
+ export declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
172
174
  type: z.ZodLiteral<"explicit-string">;
173
175
  content: z.ZodString;
174
176
  }, "strict", z.ZodTypeAny, {
@@ -197,5 +199,4 @@ declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, Cont
197
199
  file: string;
198
200
  }>]>]>;
199
201
  //#endregion
200
- export { Content, ContentAbsoluteBinaryLocal, ContentAbsoluteFile, ContentAbsoluteFolder, ContentAbsoluteTextLocal, ContentAbsoluteUrl, ContentAnyBinaryLocal, ContentAnyLocal, ContentAnyTextLocal, ContentExplicitBase64, ContentExplicitBytes, ContentExplicitOrRelative, ContentExplicitString, ContentRelative, ContentRelativeBinary, ContentRelativeText, DescriptionContentBinary, DescriptionContentText };
201
202
  //# sourceMappingURL=content_types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"content_types.d.ts","names":[],"sources":["../../src/block_meta/content_types.ts"],"mappings":";;;;KAUY,qBAAA;EACV,IAAA;EACA,OAAO;AAAA;;KAIG,qBAAA;EACV,IAAA,qB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A,CAAA,CAAA,SAAA,EAAA,qBAAA,WAAA,CAAA,CAAA,qBAAA,UAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWxB,sBAAA,EAAsB,CAAA,CAAA,QAAA,EAAA,CAAA,CAAA,UAAA,CAAA,CAAA,CAAA,SAAA,EAAA,mBAAA,WAAA,CAAA,CAAA,qBAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"content_types.d.ts","names":[],"sources":["../../src/block_meta/content_types.ts"],"mappings":";;;YAUY;EACV;EACA;;;YAIU;EACV;;EAEA;;EAEA;;;YAIU;EACV;;EAEA;EACA,SAAS;;;YAIC;EACV;EACA;;;YAIU;EACV;EACA;;;;;;;YAQU;EACV;EACA;;;YAIU;EACV;EACA;;;YAIU,UACR,wBACA,wBACA,uBACA,kBACA,sBACA,wBACA;;YAQQ,4BACR,wBACA,wBACA;;YAGQ,kBACR,wBACA,wBACA,kBACA;;YAGQ,sBAAsB,wBAAwB,kBAAkB;;YAGhE,wBAAwB,wBAAwB,kBAAkB;;YAGlE,6BAA6B,wBAAwB;;YAGrD,2BAA2B,wBAAwB;;YAGnD,wBAAwB,wBAAwB;;YAGhD,sBAAsB,wBAAwB;qBAkB7C,uBAAqB,EAAA;;;;;;;;;;;;;qBAQrB,sBAAoB,EAAA;;;;;;;;;;;;;qBAQpB,iBAAe,EAAA;;;;;;;;;;qBAcf,uBAAqB,EAAA,+BAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;qBAKrB,qBAAmB,EAAA,+BAAA,EAAA;;;;;;;;;;;;;;;;;;;qBAYnB,0BAAwB,EAAA,UAAA,EAAA,WAAA,EAAA,WAAA,gCAAA,EAAA,+BAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAWxB,wBAAsB,EAAA,UAAA,EAAA,WAAA,EAAA,WAAA,8BAAA,EAAA,+BAAA,EAAA"}
@@ -1,7 +1,5 @@
1
1
  import { z } from "zod";
2
-
3
2
  //#region src/block_meta/semver.d.ts
4
- declare const SemVer: z.ZodString;
3
+ export declare const SemVer: z.ZodString;
5
4
  //#endregion
6
- export { SemVer };
7
5
  //# sourceMappingURL=semver.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"semver.d.ts","names":[],"sources":["../../src/block_meta/semver.ts"],"mappings":";;;cAIa,MAAA,EAAM,CAAA,CAAA,SAKhB"}
1
+ {"version":3,"file":"semver.d.ts","names":[],"sources":["../../src/block_meta/semver.ts"],"mappings":";;qBAIa,QAAM,EAAA"}
@@ -1,9 +1,8 @@
1
1
  import { z } from "zod";
2
-
3
2
  //#region src/block_registry/block_pack_spec.d.ts
4
3
  /** Block pack from local folder, to be used during block development. Old layout.
5
4
  * @deprecated don't use */
6
- declare const BlockPackDevV1: z.ZodObject<{
5
+ export declare const BlockPackDevV1: z.ZodObject<{
7
6
  type: z.ZodLiteral<"dev-v1">;
8
7
  folder: z.ZodString;
9
8
  mtime: z.ZodOptional<z.ZodString>;
@@ -17,9 +16,9 @@ declare const BlockPackDevV1: z.ZodObject<{
17
16
  mtime?: string | undefined;
18
17
  }>;
19
18
  /** @deprecated don't use */
20
- type BlockPackDevV1 = z.infer<typeof BlockPackDevV1>;
19
+ export type BlockPackDevV1 = z.infer<typeof BlockPackDevV1>;
21
20
  /** Block pack from local folder, to be used during block development. New layout. */
22
- declare const BlockPackDevV2: z.ZodObject<{
21
+ export declare const BlockPackDevV2: z.ZodObject<{
23
22
  type: z.ZodLiteral<"dev-v2">;
24
23
  folder: z.ZodString;
25
24
  mtime: z.ZodOptional<z.ZodString>;
@@ -32,12 +31,12 @@ declare const BlockPackDevV2: z.ZodObject<{
32
31
  folder: string;
33
32
  mtime?: string | undefined;
34
33
  }>;
35
- type BlockPackDevV2 = z.infer<typeof BlockPackDevV2>;
34
+ export type BlockPackDevV2 = z.infer<typeof BlockPackDevV2>;
36
35
  /** Block pack consumed from an npm-installed package's `block-pack/` folder
37
36
  * (manifest + ui.tgz). Emitted by the facade's engine-generated BlockPointer.
38
37
  * Self-describes its pack location (`packUrl`, `rootUrl`) rather than carrying
39
38
  * `dev-v2`'s `folder`. */
40
- declare const BlockPackFromPackV2: z.ZodObject<{
39
+ export declare const BlockPackFromPackV2: z.ZodObject<{
41
40
  type: z.ZodLiteral<"from-pack-v2">;
42
41
  /** `file:` URL of the block-pack directory itself — it directly contains
43
42
  * `manifest.json`, `ui.tgz`, `model.json`, `published.json`, … This is a URL,
@@ -58,21 +57,21 @@ declare const BlockPackFromPackV2: z.ZodObject<{
58
57
  }, "strip", z.ZodTypeAny, {
59
58
  type: "from-pack-v2";
60
59
  packUrl: string;
61
- mtime?: string | undefined;
62
60
  rootUrl?: string | undefined;
61
+ mtime?: string | undefined;
63
62
  }, {
64
63
  type: "from-pack-v2";
65
64
  packUrl: string;
66
- mtime?: string | undefined;
67
65
  rootUrl?: string | undefined;
66
+ mtime?: string | undefined;
68
67
  }>;
69
- type BlockPackFromPackV2 = z.infer<typeof BlockPackFromPackV2>;
68
+ export type BlockPackFromPackV2 = z.infer<typeof BlockPackFromPackV2>;
70
69
  /**
71
70
  * Block pack from registry with version 2 layout, to be loaded directly
72
71
  * from the client.
73
72
  * @deprecated don't use
74
73
  * */
75
- declare const BlockPackFromRegistryV1: z.ZodObject<{
74
+ export declare const BlockPackFromRegistryV1: z.ZodObject<{
76
75
  type: z.ZodLiteral<"from-registry-v1">;
77
76
  registryUrl: z.ZodString;
78
77
  id: z.ZodObject<{
@@ -106,10 +105,10 @@ declare const BlockPackFromRegistryV1: z.ZodObject<{
106
105
  };
107
106
  }>;
108
107
  /** @deprecated don't use */
109
- type BlockPackFromRegistryV1 = z.infer<typeof BlockPackFromRegistryV1>;
108
+ export type BlockPackFromRegistryV1 = z.infer<typeof BlockPackFromRegistryV1>;
110
109
  /** Block pack from registry with version 2 layout, to be loaded directly
111
110
  * from the client. */
112
- declare const BlockPackFromRegistryV2: z.ZodObject<{
111
+ export declare const BlockPackFromRegistryV2: z.ZodObject<{
113
112
  type: z.ZodLiteral<"from-registry-v2">;
114
113
  registryUrl: z.ZodString;
115
114
  id: z.ZodObject<{
@@ -145,9 +144,9 @@ declare const BlockPackFromRegistryV2: z.ZodObject<{
145
144
  };
146
145
  channel?: string | undefined;
147
146
  }>;
148
- type BlockPackFromRegistryV2 = z.infer<typeof BlockPackFromRegistryV2>;
147
+ export type BlockPackFromRegistryV2 = z.infer<typeof BlockPackFromRegistryV2>;
149
148
  /** Information about block origin, can be used to instantiate new blocks */
150
- declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
149
+ export declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
151
150
  type: z.ZodLiteral<"dev-v1">;
152
151
  folder: z.ZodString;
153
152
  mtime: z.ZodOptional<z.ZodString>;
@@ -192,13 +191,13 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
192
191
  }, "strip", z.ZodTypeAny, {
193
192
  type: "from-pack-v2";
194
193
  packUrl: string;
195
- mtime?: string | undefined;
196
194
  rootUrl?: string | undefined;
195
+ mtime?: string | undefined;
197
196
  }, {
198
197
  type: "from-pack-v2";
199
198
  packUrl: string;
200
- mtime?: string | undefined;
201
199
  rootUrl?: string | undefined;
200
+ mtime?: string | undefined;
202
201
  }>, z.ZodObject<{
203
202
  type: z.ZodLiteral<"from-registry-v1">;
204
203
  registryUrl: z.ZodString;
@@ -267,7 +266,6 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
267
266
  };
268
267
  channel?: string | undefined;
269
268
  }>]>;
270
- type BlockPackSpec = z.infer<typeof BlockPackSpec>;
269
+ export type BlockPackSpec = z.infer<typeof BlockPackSpec>;
271
270
  //#endregion
272
- export { BlockPackDevV1, BlockPackDevV2, BlockPackFromPackV2, BlockPackFromRegistryV1, BlockPackFromRegistryV2, BlockPackSpec };
273
271
  //# sourceMappingURL=block_pack_spec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"block_pack_spec.d.ts","names":[],"sources":["../../src/block_registry/block_pack_spec.ts"],"mappings":";;;;;cAKa,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;;;KAMf,cAAA,GAAiB,CAAA,CAAE,KAAK,QAAQ,cAAA;;cAG/B,cAAA,EAAc,CAAA,CAAA,SAAA;;;;;;;;;;;;;KAKf,cAAA,GAAiB,CAAA,CAAE,KAAK,QAAQ,cAAA;;;;;cAM/B,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;AAd0B;AAG1D;;;;;;;;;;;;;;;;;;;;KA8BY,mBAAA,GAAsB,CAAA,CAAE,KAAK,QAAQ,mBAAA;;;;;;cAOpC,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAMxB,uBAAA,GAA0B,CAAA,CAAE,KAAK,QAAQ,uBAAA;;;cAIxC,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAMxB,uBAAA,GAA0B,CAAA,CAAE,KAAK,QAAQ,uBAAA;;cAGxC,aAAA,EAAa,CAAA,CAAA,qBAAA,UAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAOd,aAAA,GAAgB,CAAA,CAAE,KAAK,QAAQ,aAAA"}
1
+ {"version":3,"file":"block_pack_spec.d.ts","names":[],"sources":["../../src/block_registry/block_pack_spec.ts"],"mappings":";;;;qBAKa,gBAAc,EAAA;;;;;;;;;;;;;;YAMf,iBAAiB,EAAE,aAAa;;qBAG/B,gBAAc,EAAA;;;;;;;;;;;;;YAKf,iBAAiB,EAAE,aAAa;;;;;qBAM/B,qBAAmB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA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