@embeddable.com/sdk-core 2.4.21 → 2.4.23
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/lib/index.esm.js +25 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +25 -3
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/style.css.template +1 -0
package/lib/index.js
CHANGED
|
@@ -4593,6 +4593,28 @@ async function securityContextValidation(filesList) {
|
|
|
4593
4593
|
}
|
|
4594
4594
|
return errors;
|
|
4595
4595
|
}
|
|
4596
|
+
var MeasureTypeEnum;
|
|
4597
|
+
(function (MeasureTypeEnum) {
|
|
4598
|
+
MeasureTypeEnum["string"] = "string";
|
|
4599
|
+
MeasureTypeEnum["time"] = "time";
|
|
4600
|
+
MeasureTypeEnum["boolean"] = "boolean";
|
|
4601
|
+
MeasureTypeEnum["number"] = "number";
|
|
4602
|
+
MeasureTypeEnum["count"] = "count";
|
|
4603
|
+
MeasureTypeEnum["count_distinct"] = "count_distinct";
|
|
4604
|
+
MeasureTypeEnum["count_distinct_approx"] = "count_distinct_approx";
|
|
4605
|
+
MeasureTypeEnum["sum"] = "sum";
|
|
4606
|
+
MeasureTypeEnum["avg"] = "avg";
|
|
4607
|
+
MeasureTypeEnum["min"] = "min";
|
|
4608
|
+
MeasureTypeEnum["max"] = "max";
|
|
4609
|
+
})(MeasureTypeEnum || (MeasureTypeEnum = {}));
|
|
4610
|
+
var DimensionTypeEnum;
|
|
4611
|
+
(function (DimensionTypeEnum) {
|
|
4612
|
+
DimensionTypeEnum["string"] = "string";
|
|
4613
|
+
DimensionTypeEnum["time"] = "time";
|
|
4614
|
+
DimensionTypeEnum["boolean"] = "boolean";
|
|
4615
|
+
DimensionTypeEnum["number"] = "number";
|
|
4616
|
+
DimensionTypeEnum["geo"] = "geo";
|
|
4617
|
+
})(DimensionTypeEnum || (DimensionTypeEnum = {}));
|
|
4596
4618
|
const cubeModelSchema = z
|
|
4597
4619
|
.object({
|
|
4598
4620
|
cubes: z
|
|
@@ -4601,14 +4623,14 @@ const cubeModelSchema = z
|
|
|
4601
4623
|
dimensions: z
|
|
4602
4624
|
.object({
|
|
4603
4625
|
name: z.string(),
|
|
4604
|
-
type: z.
|
|
4626
|
+
type: z.nativeEnum(DimensionTypeEnum),
|
|
4605
4627
|
})
|
|
4606
4628
|
.array()
|
|
4607
4629
|
.optional(),
|
|
4608
4630
|
measures: z
|
|
4609
4631
|
.object({
|
|
4610
4632
|
name: z.string(),
|
|
4611
|
-
type: z.
|
|
4633
|
+
type: z.nativeEnum(MeasureTypeEnum),
|
|
4612
4634
|
})
|
|
4613
4635
|
.array()
|
|
4614
4636
|
.optional(),
|
|
@@ -20087,7 +20109,7 @@ var push = async () => {
|
|
|
20087
20109
|
const spinnerArchive = ora$1("Building...").start();
|
|
20088
20110
|
const filesList = await findFiles(config.client.srcDir, YAML_OR_JS_FILES);
|
|
20089
20111
|
await archive(config, filesList);
|
|
20090
|
-
spinnerArchive.succeed("Bundling
|
|
20112
|
+
spinnerArchive.succeed("Bundling completed");
|
|
20091
20113
|
const spinnerPushing = ora$1(`Publishing to ${workspaceName} using ${config.pushBaseUrl}...`).start();
|
|
20092
20114
|
await sendBuild(config, { workspaceId, token });
|
|
20093
20115
|
spinnerPushing.succeed(`Published to ${workspaceName} using ${config.pushBaseUrl}`);
|