@platforma-sdk/block-tools 2.7.18 → 2.7.20

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.
@@ -4,11 +4,11 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
4
4
  title: z.ZodString;
5
5
  description: z.ZodString;
6
6
  longDescription: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
7
- type: "explicit-string";
8
- content: string;
9
- } | {
10
7
  type: "relative";
11
8
  path: string;
9
+ } | {
10
+ type: "explicit-string";
11
+ content: string;
12
12
  }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13
13
  type: z.ZodLiteral<"explicit-string">;
14
14
  content: z.ZodString;
@@ -59,11 +59,11 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
59
59
  file: string;
60
60
  }>>;
61
61
  changelog: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
62
- type: "explicit-string";
63
- content: string;
64
- } | {
65
62
  type: "relative";
66
63
  path: string;
64
+ } | {
65
+ type: "explicit-string";
66
+ content: string;
67
67
  }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
68
68
  type: z.ZodLiteral<"explicit-string">;
69
69
  content: z.ZodString;
@@ -114,12 +114,12 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
114
114
  file: string;
115
115
  }>>;
116
116
  logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
117
+ type: "relative";
118
+ path: string;
119
+ } | {
117
120
  type: "explicit-base64";
118
121
  mimeType: string;
119
122
  content: string;
120
- } | {
121
- type: "relative";
122
- path: string;
123
123
  }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
124
124
  type: z.ZodLiteral<"explicit-base64">;
125
125
  mimeType: z.ZodString;
@@ -183,12 +183,12 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
183
183
  name: z.ZodString;
184
184
  url: z.ZodString;
185
185
  logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
186
+ type: "relative";
187
+ path: string;
188
+ } | {
186
189
  type: "explicit-base64";
187
190
  mimeType: string;
188
191
  content: string;
189
- } | {
190
- type: "relative";
191
- path: string;
192
192
  }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
193
193
  type: z.ZodLiteral<"explicit-base64">;
194
194
  mimeType: z.ZodString;
@@ -248,12 +248,12 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
248
248
  name: z.ZodString;
249
249
  url: z.ZodString;
250
250
  logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
251
+ type: "relative";
252
+ path: string;
253
+ } | {
251
254
  type: "explicit-base64";
252
255
  mimeType: string;
253
256
  content: string;
254
- } | {
255
- type: "relative";
256
- path: string;
257
257
  }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
258
258
  type: z.ZodLiteral<"explicit-base64">;
259
259
  mimeType: z.ZodString;
@@ -313,12 +313,12 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
313
313
  name: z.ZodString;
314
314
  url: z.ZodString;
315
315
  logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
316
+ type: "relative";
317
+ path: string;
318
+ } | {
316
319
  type: "explicit-base64";
317
320
  mimeType: string;
318
321
  content: string;
319
- } | {
320
- type: "relative";
321
- path: string;
322
322
  }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
323
323
  type: z.ZodLiteral<"explicit-base64">;
324
324
  mimeType: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/block-tools",
3
- "version": "2.7.18",
3
+ "version": "2.7.20",
4
4
  "description": "Utility to manipulate Platforma Blocks and Block Registry",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -32,13 +32,13 @@
32
32
  "undici": "~7.16.0",
33
33
  "yaml": "^2.8.0",
34
34
  "zod": "~3.25.76",
35
- "@milaboratories/pl-model-middle-layer": "1.18.9",
35
+ "@milaboratories/pl-model-middle-layer": "1.19.0",
36
36
  "@milaboratories/pl-http": "1.2.4",
37
+ "@milaboratories/pl-model-common": "1.40.0",
37
38
  "@milaboratories/resolve-helper": "1.1.3",
38
- "@milaboratories/pl-model-common": "1.38.0",
39
- "@milaboratories/ts-helpers-oclif": "1.1.40",
40
39
  "@milaboratories/ts-helpers": "1.8.1",
41
- "@platforma-sdk/blocks-deps-updater": "2.2.0"
40
+ "@platforma-sdk/blocks-deps-updater": "2.2.0",
41
+ "@milaboratories/ts-helpers-oclif": "1.1.40"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-node-resolve": "^16.0.1",
@@ -53,10 +53,10 @@
53
53
  "vite": "^8.0.6",
54
54
  "vite-plugin-dts": "^4.5.3",
55
55
  "vitest": "^4.1.3",
56
- "@milaboratories/build-configs": "2.0.0",
57
56
  "@milaboratories/oclif-index": "1.1.1",
58
- "@milaboratories/ts-configs": "1.2.3",
59
- "@milaboratories/ts-builder": "1.3.2"
57
+ "@milaboratories/build-configs": "2.0.0",
58
+ "@milaboratories/ts-builder": "1.4.0",
59
+ "@milaboratories/ts-configs": "1.2.3"
60
60
  },
61
61
  "oclif": {
62
62
  "bin": "block-tools",