@platforma-sdk/model 1.37.18 → 1.39.0

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 (38) hide show
  1. package/dist/bconfig/index.d.ts +2 -3
  2. package/dist/bconfig/index.d.ts.map +1 -1
  3. package/dist/bconfig/normalization.d.ts +1 -7
  4. package/dist/bconfig/normalization.d.ts.map +1 -1
  5. package/dist/bconfig/types.d.ts +0 -4
  6. package/dist/bconfig/types.d.ts.map +1 -1
  7. package/dist/bconfig/{utils.d.ts → util.d.ts} +1 -1
  8. package/dist/bconfig/util.d.ts.map +1 -0
  9. package/dist/bconfig/v3.d.ts +3 -32
  10. package/dist/bconfig/v3.d.ts.map +1 -1
  11. package/dist/builder.d.ts +3 -1
  12. package/dist/builder.d.ts.map +1 -1
  13. package/dist/components/PlDataTable.d.ts +50 -69
  14. package/dist/components/PlDataTable.d.ts.map +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/index.js.map +1 -1
  17. package/dist/index.mjs +728 -722
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/render/api.d.ts +5 -2
  20. package/dist/render/api.d.ts.map +1 -1
  21. package/dist/render/internal.d.ts +4 -3
  22. package/dist/render/internal.d.ts.map +1 -1
  23. package/dist/version.d.ts +1 -1
  24. package/dist/version.d.ts.map +1 -1
  25. package/package.json +5 -4
  26. package/src/bconfig/index.ts +2 -3
  27. package/src/bconfig/normalization.ts +2 -105
  28. package/src/bconfig/types.ts +0 -5
  29. package/src/bconfig/v3.ts +3 -41
  30. package/src/builder.ts +21 -2
  31. package/src/components/PlDataTable.ts +158 -171
  32. package/src/render/api.ts +44 -11
  33. package/src/render/internal.ts +15 -3
  34. package/dist/bconfig/container.d.ts +0 -46
  35. package/dist/bconfig/container.d.ts.map +0 -1
  36. package/dist/bconfig/utils.d.ts.map +0 -1
  37. package/src/bconfig/container.ts +0 -58
  38. /package/src/bconfig/{utils.ts → util.ts} +0 -0
@@ -1,58 +0,0 @@
1
- import type { BlockRenderingMode } from '@milaboratories/pl-model-common';
2
- import type { Code, TypedConfigOrString } from './types';
3
- import type { BlockConfigV3 } from './v3';
4
-
5
- /** Container simplifying maintenance of forward and backward compatibility */
6
- export type BlockConfigContainer = {
7
- /** Actual config */
8
- readonly v3: Omit<BlockConfigV3, 'code'>;
9
-
10
- /** Config code bundle */
11
- readonly code?: Code;
12
-
13
- //
14
- // Fields below are used to read previous config versions
15
- //
16
-
17
- /**
18
- * For backward compatibility
19
- * @deprecated
20
- */
21
- readonly sdkVersion?: string;
22
-
23
- /**
24
- * For backward compatibility
25
- * @deprecated
26
- */
27
- readonly renderingMode?: BlockRenderingMode;
28
-
29
- /**
30
- * For backward compatibility
31
- * @deprecated
32
- */
33
- readonly initialArgs?: unknown;
34
-
35
- /**
36
- * For backward compatibility
37
- * @deprecated
38
- */
39
- readonly canRun?: TypedConfigOrString;
40
-
41
- /**
42
- * For backward compatibility
43
- * @deprecated
44
- */
45
- readonly inputsValid?: TypedConfigOrString;
46
-
47
- /**
48
- * For backward compatibility
49
- * @deprecated
50
- */
51
- readonly sections?: TypedConfigOrString;
52
-
53
- /**
54
- * For backward compatibility
55
- * @deprecated
56
- */
57
- readonly outputs?: Record<string, TypedConfigOrString>;
58
- };
File without changes