@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.
- package/dist/bconfig/index.d.ts +2 -3
- package/dist/bconfig/index.d.ts.map +1 -1
- package/dist/bconfig/normalization.d.ts +1 -7
- package/dist/bconfig/normalization.d.ts.map +1 -1
- package/dist/bconfig/types.d.ts +0 -4
- package/dist/bconfig/types.d.ts.map +1 -1
- package/dist/bconfig/{utils.d.ts → util.d.ts} +1 -1
- package/dist/bconfig/util.d.ts.map +1 -0
- package/dist/bconfig/v3.d.ts +3 -32
- package/dist/bconfig/v3.d.ts.map +1 -1
- package/dist/builder.d.ts +3 -1
- package/dist/builder.d.ts.map +1 -1
- package/dist/components/PlDataTable.d.ts +50 -69
- package/dist/components/PlDataTable.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +728 -722
- package/dist/index.mjs.map +1 -1
- package/dist/render/api.d.ts +5 -2
- package/dist/render/api.d.ts.map +1 -1
- package/dist/render/internal.d.ts +4 -3
- package/dist/render/internal.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/bconfig/index.ts +2 -3
- package/src/bconfig/normalization.ts +2 -105
- package/src/bconfig/types.ts +0 -5
- package/src/bconfig/v3.ts +3 -41
- package/src/builder.ts +21 -2
- package/src/components/PlDataTable.ts +158 -171
- package/src/render/api.ts +44 -11
- package/src/render/internal.ts +15 -3
- package/dist/bconfig/container.d.ts +0 -46
- package/dist/bconfig/container.d.ts.map +0 -1
- package/dist/bconfig/utils.d.ts.map +0 -1
- package/src/bconfig/container.ts +0 -58
- /package/src/bconfig/{utils.ts → util.ts} +0 -0
package/src/bconfig/container.ts
DELETED
|
@@ -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
|