@milaboratories/milaboratories.ui-examples.model 1.2.10 → 1.2.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/milaboratories.ui-examples.model",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "Block model",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -8,13 +8,13 @@
8
8
  "types": "dist/index.d.ts",
9
9
  "dependencies": {
10
10
  "zod": "~3.23.8",
11
- "@platforma-sdk/model": "1.40.6"
11
+ "@platforma-sdk/model": "1.41.0"
12
12
  },
13
13
  "devDependencies": {
14
14
  "typescript": "~5.6.3",
15
15
  "vite": "^6.3.5",
16
16
  "tsup": "~8.3.5",
17
- "@platforma-sdk/block-tools": "2.5.70"
17
+ "@platforma-sdk/block-tools": "2.5.71"
18
18
  },
19
19
  "tsup": {
20
20
  "entry": [
package/src/index.ts CHANGED
@@ -58,6 +58,10 @@ export type UiState = {
58
58
  id: string;
59
59
  label: string;
60
60
  }[];
61
+ datasets: {
62
+ id: string;
63
+ label: string;
64
+ }[];
61
65
  };
62
66
 
63
67
  export const platforma = BlockModel.create('Heavy')
@@ -70,6 +74,7 @@ export const platforma = BlockModel.create('Heavy')
70
74
  state: createPlDataTableStateV2(),
71
75
  },
72
76
  dynamicSections: [],
77
+ datasets: [],
73
78
  })
74
79
 
75
80
  .argsValid((ctx) => {
@@ -311,6 +316,7 @@ export const platforma = BlockModel.create('Heavy')
311
316
  return [
312
317
  { type: 'link', href: '/loaders', label: 'Loaders' },
313
318
  { type: 'link', href: '/', label: 'Icons/Masks' },
319
+ { type: 'link', href: '/state', label: 'State' },
314
320
  { type: 'link', href: '/layout', label: 'Layout' },
315
321
  { type: 'link', href: '/form-components', label: 'Form Components' },
316
322
  { type: 'link', href: '/log-view', label: 'PlLogView' },
@@ -351,7 +357,7 @@ export const platforma = BlockModel.create('Heavy')
351
357
  ];
352
358
  })
353
359
 
354
- .done();
360
+ .done(2); // api version 2
355
361
 
356
362
  export type BlockOutputs = InferOutputsType<typeof platforma>;
357
363
  export type Href = InferHrefType<typeof platforma>;