@milaboratories/pl-model-middle-layer 1.31.0 → 1.32.1
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/block_meta/block_components.d.ts +8 -10
- package/dist/block_meta/block_components.d.ts.map +1 -1
- package/dist/block_meta/block_description.cjs +5 -1
- package/dist/block_meta/block_description.cjs.map +1 -1
- package/dist/block_meta/block_description.d.ts +91 -82
- package/dist/block_meta/block_description.d.ts.map +1 -1
- package/dist/block_meta/block_description.js +5 -2
- package/dist/block_meta/block_description.js.map +1 -1
- package/dist/block_meta/block_id.d.ts +10 -12
- package/dist/block_meta/block_id.d.ts.map +1 -1
- package/dist/block_meta/block_manifest.d.ts +25 -15
- package/dist/block_meta/block_manifest.d.ts.map +1 -1
- package/dist/block_meta/block_meta.d.ts +10 -12
- package/dist/block_meta/block_meta.d.ts.map +1 -1
- package/dist/block_meta/common.d.ts +2 -3
- package/dist/block_meta/common.d.ts.map +1 -1
- package/dist/block_meta/content_conversion.d.ts +2 -4
- package/dist/block_meta/content_conversion.d.ts.map +1 -1
- package/dist/block_meta/content_types.d.ts +29 -28
- package/dist/block_meta/content_types.d.ts.map +1 -1
- package/dist/block_meta/index.cjs +1 -0
- package/dist/block_meta/index.d.ts +2 -2
- package/dist/block_meta/index.js +2 -2
- package/dist/block_meta/semver.d.ts +1 -3
- package/dist/block_meta/semver.d.ts.map +1 -1
- package/dist/block_registry/block_pack_spec.d.ts +16 -18
- package/dist/block_registry/block_pack_spec.d.ts.map +1 -1
- package/dist/block_registry/overview.d.ts +137 -139
- package/dist/block_registry/overview.d.ts.map +1 -1
- package/dist/block_registry/registry_spec.d.ts +16 -18
- package/dist/block_registry/registry_spec.d.ts.map +1 -1
- package/dist/block_settings.d.ts +5 -5
- package/dist/block_settings.d.ts.map +1 -1
- package/dist/block_state.d.ts +9 -7
- package/dist/block_state.d.ts.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.js +2 -2
- package/dist/json.d.ts +5 -7
- package/dist/json.d.ts.map +1 -1
- package/dist/pframe/internal_api/api_factory.d.ts +10 -12
- package/dist/pframe/internal_api/api_factory.d.ts.map +1 -1
- package/dist/pframe/internal_api/api_read.d.ts +2 -4
- package/dist/pframe/internal_api/api_read.d.ts.map +1 -1
- package/dist/pframe/internal_api/common.d.ts +6 -8
- package/dist/pframe/internal_api/common.d.ts.map +1 -1
- package/dist/pframe/internal_api/create_table.d.ts +9 -11
- package/dist/pframe/internal_api/create_table.d.ts.map +1 -1
- package/dist/pframe/internal_api/delete_column.d.ts +2 -4
- package/dist/pframe/internal_api/delete_column.d.ts.map +1 -1
- package/dist/pframe/internal_api/discover_columns.d.ts +11 -12
- package/dist/pframe/internal_api/discover_columns.d.ts.map +1 -1
- package/dist/pframe/internal_api/find_columns.d.ts +5 -7
- package/dist/pframe/internal_api/find_columns.d.ts.map +1 -1
- package/dist/pframe/internal_api/http_helpers.d.ts +87 -53
- package/dist/pframe/internal_api/http_helpers.d.ts.map +1 -1
- package/dist/pframe/internal_api/index.d.ts +0 -2
- package/dist/pframe/internal_api/pframe.d.ts +8 -7
- package/dist/pframe/internal_api/pframe.d.ts.map +1 -1
- package/dist/pframe/internal_api/table.d.ts +1 -3
- package/dist/pframe/internal_api/table.d.ts.map +1 -1
- package/dist/project.d.ts +1 -2
- package/dist/project.d.ts.map +1 -1
- package/dist/project_list.d.ts +1 -3
- package/dist/project_list.d.ts.map +1 -1
- package/dist/project_overview.d.ts +25 -15
- package/dist/project_overview.d.ts.map +1 -1
- package/dist/storage_debug_view.d.ts +1 -2
- package/dist/storage_debug_view.d.ts.map +1 -1
- package/dist/update_info.d.ts +3 -3
- package/dist/update_info.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/block_meta/block_description.ts +11 -1
|
@@ -2,15 +2,14 @@ import { ContentRelative } from "./content_types.js";
|
|
|
2
2
|
import { BlockPackId } from "./block_id.js";
|
|
3
3
|
import { BlockComponents } from "./block_components.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
|
|
6
5
|
//#region src/block_meta/block_manifest.d.ts
|
|
7
|
-
type BlockComponentsManifest = BlockComponents<ContentRelative, ContentRelative>;
|
|
6
|
+
export type BlockComponentsManifest = BlockComponents<ContentRelative, ContentRelative>;
|
|
8
7
|
/**
|
|
9
8
|
* Block-components shape stored in a manifest. The consolidator always writes
|
|
10
9
|
* the wrapped `{type: "workflow-v1", main: ...}` form, so the manifest schema
|
|
11
10
|
* accepts the wrapped form only.
|
|
12
11
|
*/
|
|
13
|
-
declare const BlockComponentsManifest: z.ZodObject<{
|
|
12
|
+
export declare const BlockComponentsManifest: z.ZodObject<{
|
|
14
13
|
workflow: z.ZodObject<{
|
|
15
14
|
type: z.ZodLiteral<"workflow-v1">;
|
|
16
15
|
main: z.ZodObject<{
|
|
@@ -89,7 +88,7 @@ declare const BlockComponentsManifest: z.ZodObject<{
|
|
|
89
88
|
path: string;
|
|
90
89
|
};
|
|
91
90
|
}>;
|
|
92
|
-
declare const BlockPackMetaManifest: z.ZodObject<{
|
|
91
|
+
export declare const BlockPackMetaManifest: z.ZodObject<{
|
|
93
92
|
title: z.ZodString;
|
|
94
93
|
description: z.ZodString;
|
|
95
94
|
longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -534,9 +533,9 @@ declare const BlockPackMetaManifest: z.ZodObject<{
|
|
|
534
533
|
supportedPlatforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>, "many">>;
|
|
535
534
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
536
535
|
}, z.ZodTypeAny, "passthrough">>;
|
|
537
|
-
type BlockPackMetaManifest = z.infer<typeof BlockPackMetaManifest>;
|
|
536
|
+
export type BlockPackMetaManifest = z.infer<typeof BlockPackMetaManifest>;
|
|
538
537
|
/** Block description to be used in block manifest */
|
|
539
|
-
declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
538
|
+
export declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
540
539
|
id: z.ZodObject<{
|
|
541
540
|
organization: z.ZodString;
|
|
542
541
|
name: z.ZodString;
|
|
@@ -1075,6 +1074,7 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
1075
1074
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1076
1075
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1077
1076
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
1077
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
1078
1078
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1079
1079
|
id: z.ZodObject<{
|
|
1080
1080
|
organization: z.ZodString;
|
|
@@ -1614,6 +1614,7 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
1614
1614
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1615
1615
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1616
1616
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
1617
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
1617
1618
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1618
1619
|
id: z.ZodObject<{
|
|
1619
1620
|
organization: z.ZodString;
|
|
@@ -2153,10 +2154,11 @@ declare const BlockPackDescriptionManifest: z.ZodObject<{
|
|
|
2153
2154
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2154
2155
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2155
2156
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
2157
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
2156
2158
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2157
|
-
type BlockPackDescriptionManifest = z.infer<typeof BlockPackDescriptionManifest>;
|
|
2158
|
-
declare const Sha256Schema: z.ZodString;
|
|
2159
|
-
declare const ManifestFileInfo: z.ZodObject<{
|
|
2159
|
+
export type BlockPackDescriptionManifest = z.infer<typeof BlockPackDescriptionManifest>;
|
|
2160
|
+
export declare const Sha256Schema: z.ZodString;
|
|
2161
|
+
export declare const ManifestFileInfo: z.ZodObject<{
|
|
2160
2162
|
name: z.ZodString;
|
|
2161
2163
|
size: z.ZodNumber;
|
|
2162
2164
|
sha256: z.ZodString;
|
|
@@ -2169,8 +2171,8 @@ declare const ManifestFileInfo: z.ZodObject<{
|
|
|
2169
2171
|
size: number;
|
|
2170
2172
|
sha256: string;
|
|
2171
2173
|
}>;
|
|
2172
|
-
type ManifestFileInfo = z.infer<typeof ManifestFileInfo>;
|
|
2173
|
-
declare const BlockPackManifest: z.ZodObject<{
|
|
2174
|
+
export type ManifestFileInfo = z.infer<typeof ManifestFileInfo>;
|
|
2175
|
+
export declare const BlockPackManifest: z.ZodObject<{
|
|
2174
2176
|
schema: z.ZodLiteral<"v2">;
|
|
2175
2177
|
description: z.ZodObject<{
|
|
2176
2178
|
id: z.ZodObject<{
|
|
@@ -2711,6 +2713,7 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
2711
2713
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2712
2714
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2713
2715
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
2716
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
2714
2717
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2715
2718
|
id: z.ZodObject<{
|
|
2716
2719
|
organization: z.ZodString;
|
|
@@ -3250,6 +3253,7 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
3250
3253
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3251
3254
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3252
3255
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
3256
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
3253
3257
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3254
3258
|
id: z.ZodObject<{
|
|
3255
3259
|
organization: z.ZodString;
|
|
@@ -3789,6 +3793,7 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
3789
3793
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3790
3794
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3791
3795
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
3796
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
3792
3797
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3793
3798
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3794
3799
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -4345,6 +4350,7 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
4345
4350
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4346
4351
|
}, z.ZodTypeAny, "passthrough">>;
|
|
4347
4352
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
4353
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
4348
4354
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4349
4355
|
id: z.ZodObject<{
|
|
4350
4356
|
organization: z.ZodString;
|
|
@@ -4884,6 +4890,7 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
4884
4890
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4885
4891
|
}, z.ZodTypeAny, "passthrough">>;
|
|
4886
4892
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
4893
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
4887
4894
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4888
4895
|
id: z.ZodObject<{
|
|
4889
4896
|
organization: z.ZodString;
|
|
@@ -5423,6 +5430,7 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
5423
5430
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5424
5431
|
}, z.ZodTypeAny, "passthrough">>;
|
|
5425
5432
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
5433
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
5426
5434
|
}, z.ZodTypeAny, "passthrough">>;
|
|
5427
5435
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
5428
5436
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -5979,6 +5987,7 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
5979
5987
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5980
5988
|
}, z.ZodTypeAny, "passthrough">>;
|
|
5981
5989
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
5990
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
5982
5991
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5983
5992
|
id: z.ZodObject<{
|
|
5984
5993
|
organization: z.ZodString;
|
|
@@ -6518,6 +6527,7 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
6518
6527
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6519
6528
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6520
6529
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
6530
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
6521
6531
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6522
6532
|
id: z.ZodObject<{
|
|
6523
6533
|
organization: z.ZodString;
|
|
@@ -7057,6 +7067,7 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
7057
7067
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7058
7068
|
}, z.ZodTypeAny, "passthrough">>;
|
|
7059
7069
|
featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, import("@milaboratories/pl-model-common").BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
|
|
7070
|
+
kind: z.ZodOptional<z.ZodEffects<z.ZodString, import("@milaboratories/pl-model-common").BlockKindReference, string>>;
|
|
7060
7071
|
}, z.ZodTypeAny, "passthrough">>;
|
|
7061
7072
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
7062
7073
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -7073,13 +7084,12 @@ declare const BlockPackManifest: z.ZodObject<{
|
|
|
7073
7084
|
sha256: string;
|
|
7074
7085
|
}>, "many">;
|
|
7075
7086
|
}, z.ZodTypeAny, "passthrough">>;
|
|
7076
|
-
type BlockPackManifest = z.infer<typeof BlockPackManifest>;
|
|
7077
|
-
declare const BlockPackManifestFile = "manifest.json";
|
|
7078
|
-
declare function overrideManifestVersion<T extends {
|
|
7087
|
+
export type BlockPackManifest = z.infer<typeof BlockPackManifest>;
|
|
7088
|
+
export declare const BlockPackManifestFile = "manifest.json";
|
|
7089
|
+
export declare function overrideManifestVersion<T extends {
|
|
7079
7090
|
description: {
|
|
7080
7091
|
id: BlockPackId;
|
|
7081
7092
|
};
|
|
7082
7093
|
}>(manifest: T, newVersion: string): T;
|
|
7083
7094
|
//#endregion
|
|
7084
|
-
export { BlockComponentsManifest, BlockPackDescriptionManifest, BlockPackManifest, BlockPackManifestFile, BlockPackMetaManifest, ManifestFileInfo, Sha256Schema, overrideManifestVersion };
|
|
7085
7095
|
//# sourceMappingURL=block_manifest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block_manifest.d.ts","names":[],"sources":["../../src/block_meta/block_manifest.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"block_manifest.d.ts","names":[],"sources":["../../src/block_meta/block_manifest.ts"],"mappings":";;;;;YASY,0BAA0B,gBAAgB,iBAAiB;;;;;;qBAO1D,yBAAuB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAMvB,uBAAqB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YACtB,wBAAwB,EAAE,aAAa;;qBAGtC,8BAA4B,EAAA;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAQlB,oBAAoB,EAAE,aAAa;qBAElC;wBAEG,wBAAwB;EAAY;IAAe,IAAI;;GACrE,UAAU,GACV,qBACC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ContentRelativeBinary, ContentRelativeText } from "./content_types.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
|
|
4
3
|
//#region src/block_meta/block_meta.d.ts
|
|
5
|
-
declare const BlockPlatform: z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>;
|
|
6
|
-
type BlockPlatform = z.infer<typeof BlockPlatform>;
|
|
4
|
+
export declare const BlockPlatform: z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>;
|
|
5
|
+
export type BlockPlatform = z.infer<typeof BlockPlatform>;
|
|
7
6
|
/**
|
|
8
7
|
* Static metadata a block author ships: title, descriptions, logos, social
|
|
9
8
|
* links, and capability requirements. Parameterized by the carriers used for
|
|
@@ -20,7 +19,7 @@ type BlockPlatform = z.infer<typeof BlockPlatform>;
|
|
|
20
19
|
* round-trip behavior. Combined with the `require-latest @platforma-sdk/block-tools`
|
|
21
20
|
* CI gate, this future-proofs every subsequent field addition.
|
|
22
21
|
*/
|
|
23
|
-
type BlockPackMeta<LongString, Binary> = {
|
|
22
|
+
export type BlockPackMeta<LongString, Binary> = {
|
|
24
23
|
title: string;
|
|
25
24
|
description: string;
|
|
26
25
|
longDescription?: LongString;
|
|
@@ -41,7 +40,7 @@ type BlockPackMeta<LongString, Binary> = {
|
|
|
41
40
|
supportedPlatforms?: BlockPlatform[];
|
|
42
41
|
requiredCapabilities?: string[];
|
|
43
42
|
};
|
|
44
|
-
declare function BlockPackMeta<const LongStringType extends z.ZodTypeAny, const BinaryType extends z.ZodTypeAny>(longString: LongStringType, binary: BinaryType): z.ZodObject<{
|
|
43
|
+
export declare function BlockPackMeta<const LongStringType extends z.ZodTypeAny, const BinaryType extends z.ZodTypeAny>(longString: LongStringType, binary: BinaryType): z.ZodObject<{
|
|
45
44
|
title: z.ZodString;
|
|
46
45
|
description: z.ZodString;
|
|
47
46
|
longDescription: z.ZodOptional<LongStringType>;
|
|
@@ -204,7 +203,7 @@ declare function BlockPackMeta<const LongStringType extends z.ZodTypeAny, const
|
|
|
204
203
|
*/
|
|
205
204
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
206
205
|
}, z.ZodTypeAny, "passthrough">>;
|
|
207
|
-
declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
206
|
+
export declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
208
207
|
title: z.ZodString;
|
|
209
208
|
description: z.ZodString;
|
|
210
209
|
longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -889,8 +888,8 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
889
888
|
*/
|
|
890
889
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
891
890
|
}, z.ZodTypeAny, "passthrough">>;
|
|
892
|
-
type BlockPackMetaDescriptionRaw = z.infer<typeof BlockPackMetaDescriptionRaw>;
|
|
893
|
-
declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
|
|
891
|
+
export type BlockPackMetaDescriptionRaw = z.infer<typeof BlockPackMetaDescriptionRaw>;
|
|
892
|
+
export declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
|
|
894
893
|
title: z.ZodString;
|
|
895
894
|
description: z.ZodString;
|
|
896
895
|
longDescription: z.ZodOptional<z.ZodString>;
|
|
@@ -1197,8 +1196,8 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
|
|
|
1197
1196
|
*/
|
|
1198
1197
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1199
1198
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1200
|
-
type BlockPackMetaEmbeddedBase64 = z.infer<typeof BlockPackMetaEmbeddedBase64>;
|
|
1201
|
-
declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
|
|
1199
|
+
export type BlockPackMetaEmbeddedBase64 = z.infer<typeof BlockPackMetaEmbeddedBase64>;
|
|
1200
|
+
export declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
|
|
1202
1201
|
title: z.ZodString;
|
|
1203
1202
|
description: z.ZodString;
|
|
1204
1203
|
longDescription: z.ZodOptional<z.ZodString>;
|
|
@@ -1505,7 +1504,6 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
|
|
|
1505
1504
|
*/
|
|
1506
1505
|
requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1507
1506
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1508
|
-
type BlockPackMetaEmbeddedBytes = z.infer<typeof BlockPackMetaEmbeddedBytes>;
|
|
1507
|
+
export type BlockPackMetaEmbeddedBytes = z.infer<typeof BlockPackMetaEmbeddedBytes>;
|
|
1509
1508
|
//#endregion
|
|
1510
|
-
export { BlockPackMeta, BlockPackMetaDescriptionRaw, BlockPackMetaEmbeddedBase64, BlockPackMetaEmbeddedBytes, BlockPlatform };
|
|
1511
1509
|
//# sourceMappingURL=block_meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block_meta.d.ts","names":[],"sources":["../../src/block_meta/block_meta.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"block_meta.d.ts","names":[],"sources":["../../src/block_meta/block_meta.ts"],"mappings":";;;qBAQa,eAAa,EAAA;YAQd,gBAAgB,EAAE,aAAa;;;;;;;;;;;;;;;;;YAkB/B,cAAc,YAAY;EACpC;EACA;EACA,kBAAkB;EAClB,YAAY;EACZ,OAAO;EACP;EACA;EACA;EACA;EACA;IACE;IACA;IACA,OAAO;;EAET;EACA;EACA;EACA,qBAAqB;EACrB;;wBAGc,oBACR,uBAAuB,EAAE,kBACzB,mBAAmB,EAAE,YAC3B,YAAY,gBAAgB,QAAQ,aAAU,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAwDnC,6BAA2B,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAC3B,6BAA6B,EAAE,aAAa"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
//#region src/block_meta/common.d.ts
|
|
2
|
-
type ContextType = "local" | "remote";
|
|
3
|
-
type ContentType = "text" | "binary";
|
|
2
|
+
export type ContextType = "local" | "remote";
|
|
3
|
+
export type ContentType = "text" | "binary";
|
|
4
4
|
//#endregion
|
|
5
|
-
export { ContentType, ContextType };
|
|
6
5
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","names":[],"sources":["../../src/block_meta/common.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"common.d.ts","names":[],"sources":["../../src/block_meta/common.ts"],"mappings":";YAAY;YACA"}
|
|
@@ -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":"
|
|
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";
|
|
12
|
-
|
|
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";
|
|
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":"
|
|
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"}
|
|
@@ -8,6 +8,7 @@ const require_block_description = require("./block_description.cjs");
|
|
|
8
8
|
const require_block_manifest = require("./block_manifest.cjs");
|
|
9
9
|
exports.BlockComponentsDescriptionRaw = require_block_components.BlockComponentsDescriptionRaw;
|
|
10
10
|
exports.BlockComponentsManifest = require_block_manifest.BlockComponentsManifest;
|
|
11
|
+
exports.BlockKindRef = require_block_description.BlockKindRef;
|
|
11
12
|
exports.BlockPackDescriptionFromPackageJsonRaw = require_block_description.BlockPackDescriptionFromPackageJsonRaw;
|
|
12
13
|
exports.BlockPackDescriptionManifest = require_block_manifest.BlockPackDescriptionManifest;
|
|
13
14
|
exports.BlockPackDescriptionRaw = require_block_description.BlockPackDescriptionRaw;
|
|
@@ -5,6 +5,6 @@ import { addPrefixToRelative, mapRemoteToAbsolute } from "./content_conversion.j
|
|
|
5
5
|
import { BlockPackId, BlockPackIdNoVersion, blockPackIdEquals, blockPackIdNoVersionEquals, blockPackIdNoVersionToString, blockPackIdToString } from "./block_id.js";
|
|
6
6
|
import { BlockComponents, BlockComponentsDescriptionRaw, Workflow, WorkflowSchemaV1, WorkflowV1 } from "./block_components.js";
|
|
7
7
|
import { BlockPackMeta, BlockPackMetaDescriptionRaw, BlockPackMetaEmbeddedBase64, BlockPackMetaEmbeddedBytes, BlockPlatform } from "./block_meta.js";
|
|
8
|
-
import { BlockPackDescription, BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionRaw, CreateBlockPackDescriptionSchema, FeatureFlags, overrideDescriptionVersion } from "./block_description.js";
|
|
8
|
+
import { BlockKindRef, BlockPackDescription, BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionRaw, CreateBlockPackDescriptionSchema, FeatureFlags, overrideDescriptionVersion } from "./block_description.js";
|
|
9
9
|
import { BlockComponentsManifest, BlockPackDescriptionManifest, BlockPackManifest, BlockPackManifestFile, BlockPackMetaManifest, ManifestFileInfo, Sha256Schema, overrideManifestVersion } from "./block_manifest.js";
|
|
10
|
-
export { BlockComponents, BlockComponentsDescriptionRaw, BlockComponentsManifest, BlockPackDescription, BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionManifest, BlockPackDescriptionRaw, BlockPackId, BlockPackIdNoVersion, BlockPackManifest, BlockPackManifestFile, BlockPackMeta, BlockPackMetaDescriptionRaw, BlockPackMetaEmbeddedBase64, BlockPackMetaEmbeddedBytes, BlockPackMetaManifest, BlockPlatform, Content, ContentAbsoluteBinaryLocal, ContentAbsoluteFile, ContentAbsoluteFolder, ContentAbsoluteTextLocal, ContentAbsoluteUrl, ContentAnyBinaryLocal, ContentAnyLocal, ContentAnyTextLocal, ContentExplicitBase64, ContentExplicitBytes, ContentExplicitOrRelative, ContentExplicitString, ContentRelative, ContentRelativeBinary, ContentRelativeText, ContentType, ContextType, CreateBlockPackDescriptionSchema, DescriptionContentBinary, DescriptionContentText, FeatureFlags, ManifestFileInfo, SemVer, Sha256Schema, Workflow, WorkflowSchemaV1, WorkflowV1, addPrefixToRelative, blockPackIdEquals, blockPackIdNoVersionEquals, blockPackIdNoVersionToString, blockPackIdToString, mapRemoteToAbsolute, overrideDescriptionVersion, overrideManifestVersion };
|
|
10
|
+
export { BlockComponents, BlockComponentsDescriptionRaw, BlockComponentsManifest, BlockKindRef, BlockPackDescription, BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionManifest, BlockPackDescriptionRaw, BlockPackId, BlockPackIdNoVersion, BlockPackManifest, BlockPackManifestFile, BlockPackMeta, BlockPackMetaDescriptionRaw, BlockPackMetaEmbeddedBase64, BlockPackMetaEmbeddedBytes, BlockPackMetaManifest, BlockPlatform, Content, ContentAbsoluteBinaryLocal, ContentAbsoluteFile, ContentAbsoluteFolder, ContentAbsoluteTextLocal, ContentAbsoluteUrl, ContentAnyBinaryLocal, ContentAnyLocal, ContentAnyTextLocal, ContentExplicitBase64, ContentExplicitBytes, ContentExplicitOrRelative, ContentExplicitString, ContentRelative, ContentRelativeBinary, ContentRelativeText, ContentType, ContextType, CreateBlockPackDescriptionSchema, DescriptionContentBinary, DescriptionContentText, FeatureFlags, ManifestFileInfo, SemVer, Sha256Schema, Workflow, WorkflowSchemaV1, WorkflowV1, addPrefixToRelative, blockPackIdEquals, blockPackIdNoVersionEquals, blockPackIdNoVersionToString, blockPackIdToString, mapRemoteToAbsolute, overrideDescriptionVersion, overrideManifestVersion };
|
package/dist/block_meta/index.js
CHANGED
|
@@ -4,6 +4,6 @@ import { addPrefixToRelative, mapRemoteToAbsolute } from "./content_conversion.j
|
|
|
4
4
|
import { BlockPackId, BlockPackIdNoVersion, blockPackIdEquals, blockPackIdNoVersionEquals, blockPackIdNoVersionToString, blockPackIdToString } from "./block_id.js";
|
|
5
5
|
import { BlockComponentsDescriptionRaw, WorkflowSchemaV1 } from "./block_components.js";
|
|
6
6
|
import { BlockPackMeta, BlockPackMetaDescriptionRaw, BlockPackMetaEmbeddedBase64, BlockPackMetaEmbeddedBytes, BlockPlatform } from "./block_meta.js";
|
|
7
|
-
import { BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionRaw, CreateBlockPackDescriptionSchema, FeatureFlags, overrideDescriptionVersion } from "./block_description.js";
|
|
7
|
+
import { BlockKindRef, BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionRaw, CreateBlockPackDescriptionSchema, FeatureFlags, overrideDescriptionVersion } from "./block_description.js";
|
|
8
8
|
import { BlockComponentsManifest, BlockPackDescriptionManifest, BlockPackManifest, BlockPackManifestFile, BlockPackMetaManifest, ManifestFileInfo, Sha256Schema, overrideManifestVersion } from "./block_manifest.js";
|
|
9
|
-
export { BlockComponentsDescriptionRaw, BlockComponentsManifest, BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionManifest, BlockPackDescriptionRaw, BlockPackId, BlockPackIdNoVersion, BlockPackManifest, BlockPackManifestFile, BlockPackMeta, BlockPackMetaDescriptionRaw, BlockPackMetaEmbeddedBase64, BlockPackMetaEmbeddedBytes, BlockPackMetaManifest, BlockPlatform, ContentExplicitBase64, ContentExplicitBytes, ContentRelative, ContentRelativeBinary, ContentRelativeText, CreateBlockPackDescriptionSchema, DescriptionContentBinary, DescriptionContentText, FeatureFlags, ManifestFileInfo, SemVer, Sha256Schema, WorkflowSchemaV1, addPrefixToRelative, blockPackIdEquals, blockPackIdNoVersionEquals, blockPackIdNoVersionToString, blockPackIdToString, mapRemoteToAbsolute, overrideDescriptionVersion, overrideManifestVersion };
|
|
9
|
+
export { BlockComponentsDescriptionRaw, BlockComponentsManifest, BlockKindRef, BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionManifest, BlockPackDescriptionRaw, BlockPackId, BlockPackIdNoVersion, BlockPackManifest, BlockPackManifestFile, BlockPackMeta, BlockPackMetaDescriptionRaw, BlockPackMetaEmbeddedBase64, BlockPackMetaEmbeddedBytes, BlockPackMetaManifest, BlockPlatform, ContentExplicitBase64, ContentExplicitBytes, ContentRelative, ContentRelativeBinary, ContentRelativeText, CreateBlockPackDescriptionSchema, DescriptionContentBinary, DescriptionContentText, FeatureFlags, ManifestFileInfo, SemVer, Sha256Schema, WorkflowSchemaV1, addPrefixToRelative, blockPackIdEquals, blockPackIdNoVersionEquals, blockPackIdNoVersionToString, blockPackIdToString, mapRemoteToAbsolute, overrideDescriptionVersion, overrideManifestVersion };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semver.d.ts","names":[],"sources":["../../src/block_meta/semver.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"semver.d.ts","names":[],"sources":["../../src/block_meta/semver.ts"],"mappings":";;qBAIa,QAAM,EAAA"}
|