@lightdash/common 0.1853.1 → 0.1854.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/cjs/schemas/json/lightdash-project-config-1.0.json +4 -0
- package/dist/cjs/types/lightdashProjectConfig.d.ts +2 -1
- package/dist/cjs/types/lightdashProjectConfig.d.ts.map +1 -1
- package/dist/cjs/types/lightdashProjectConfig.js.map +1 -1
- package/dist/esm/schemas/json/lightdash-project-config-1.0.json +4 -0
- package/dist/esm/types/lightdashProjectConfig.d.ts +2 -1
- package/dist/esm/types/lightdashProjectConfig.d.ts.map +1 -1
- package/dist/esm/types/lightdashProjectConfig.js.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/types/lightdashProjectConfig.d.ts +2 -1
- package/dist/types/types/lightdashProjectConfig.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -84,6 +84,10 @@
|
|
|
84
84
|
"description": "Whether the parameter input will be a multi select",
|
|
85
85
|
"type": "boolean"
|
|
86
86
|
},
|
|
87
|
+
"allow_custom_values": {
|
|
88
|
+
"description": "Whether users can input custom values beyond predefined options",
|
|
89
|
+
"type": "boolean"
|
|
90
|
+
},
|
|
87
91
|
"options_from_dimension": {
|
|
88
92
|
"description": "Get parameter options from a dimension in a model",
|
|
89
93
|
"type": "object",
|
|
@@ -11,9 +11,10 @@ type SpotlightConfig = {
|
|
|
11
11
|
export type LightdashProjectParameter = {
|
|
12
12
|
label: string;
|
|
13
13
|
description?: string;
|
|
14
|
-
options?: string[];
|
|
15
14
|
default?: string | string[];
|
|
16
15
|
multiple?: boolean;
|
|
16
|
+
allow_custom_values?: boolean;
|
|
17
|
+
options?: string[];
|
|
17
18
|
options_from_dimension?: {
|
|
18
19
|
model: string;
|
|
19
20
|
dimension: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightdashProjectConfig.d.ts","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,eAAe,GAAG;IACnB,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC,UAAU,CAAC,EAAE;QACT,CAAC,cAAc,EAAE,MAAM,GAAG,iBAAiB,CAAC;KAC/C,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"lightdashProjectConfig.d.ts","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,eAAe,GAAG;IACnB,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC,UAAU,CAAC,EAAE;QACT,CAAC,cAAc,EAAE,MAAM,GAAG,iBAAiB,CAAC;KAC/C,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,sBAAsB,CAAC,EAAE;QAErB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACrB,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACjC,SAAS,EAAE,eAAe,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,eAEtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightdashProjectConfig.js","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"lightdashProjectConfig.js","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":";;;AA+Ba,QAAA,wBAAwB,GAAoB;IACrD,kBAAkB,EAAE,MAAM;CAC7B,CAAC"}
|
|
@@ -84,6 +84,10 @@
|
|
|
84
84
|
"description": "Whether the parameter input will be a multi select",
|
|
85
85
|
"type": "boolean"
|
|
86
86
|
},
|
|
87
|
+
"allow_custom_values": {
|
|
88
|
+
"description": "Whether users can input custom values beyond predefined options",
|
|
89
|
+
"type": "boolean"
|
|
90
|
+
},
|
|
87
91
|
"options_from_dimension": {
|
|
88
92
|
"description": "Get parameter options from a dimension in a model",
|
|
89
93
|
"type": "object",
|
|
@@ -11,9 +11,10 @@ type SpotlightConfig = {
|
|
|
11
11
|
export type LightdashProjectParameter = {
|
|
12
12
|
label: string;
|
|
13
13
|
description?: string;
|
|
14
|
-
options?: string[];
|
|
15
14
|
default?: string | string[];
|
|
16
15
|
multiple?: boolean;
|
|
16
|
+
allow_custom_values?: boolean;
|
|
17
|
+
options?: string[];
|
|
17
18
|
options_from_dimension?: {
|
|
18
19
|
model: string;
|
|
19
20
|
dimension: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightdashProjectConfig.d.ts","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAA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AAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightdashProjectConfig.js","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lightdashProjectConfig.js","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":"AA+BA,MAAM,CAAC,MAAM,wBAAwB,GAAoB;IACrD,kBAAkB,EAAE,MAAM;CAC7B,CAAC"}
|