@continuous-excellence/ze-great-dashboard-aws 0.30.1 → 0.30.3

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/cli.js CHANGED
@@ -61,6 +61,19 @@ var durationSchema = z.string().regex(/^[1-9][0-9]*(?:ms|s|m|h)$/, {
61
61
  message: 'must be a positive duration like "30s", "5m", or "1h"'
62
62
  }).brand();
63
63
 
64
+ // packages/shared/src/running-animations.ts
65
+ var visibleRunningAnimations = [
66
+ "radial",
67
+ "runway",
68
+ "orbit",
69
+ "signal-field",
70
+ "telemetry-bloom",
71
+ "release-transit",
72
+ "status-weather",
73
+ "falling-shapes",
74
+ "snowman"
75
+ ];
76
+
64
77
  // packages/shared/src/board-config.ts
65
78
  var positionSchema = z2.union([
66
79
  z2.object({
@@ -97,17 +110,6 @@ var httpValueScalarPanelSchema = httpValuePanelIdentitySchema.extend({
97
110
  var httpValueGroupedPanelSchema = httpValuePanelIdentitySchema.extend({
98
111
  facts: z2.array(httpValueFactSchema).min(1).max(4)
99
112
  });
100
- var visibleRunningAnimations = [
101
- "radial",
102
- "runway",
103
- "orbit",
104
- "signal-field",
105
- "telemetry-bloom",
106
- "release-transit",
107
- "status-weather",
108
- "falling-shapes",
109
- "snowman"
110
- ];
111
113
  var runningAnimationSchema = z2.enum([...visibleRunningAnimations, "off"]);
112
114
  var panelSchema = z2.looseObject({
113
115
  /** Presentation-only wall label. `id` remains the stable proxy and allowlist address. */
@@ -271,7 +273,7 @@ var gitlabCiSourceSchema = z2.looseObject({
271
273
  token_env: z2.string().min(1),
272
274
  /** The branch or tag whose newest pipeline the dashboard represents. */
273
275
  branch: z2.string().min(1).optional(),
274
- /** HTTPS GitLab.com or a self-managed instance, optionally below a path prefix. */
276
+ /** HTTPS GitLab instance, optionally below a self-managed path prefix. */
275
277
  url: gitlabInstanceUrlSchema.optional().default("https://gitlab.com")
276
278
  });
277
279
  var sourceSchema = z2.looseObject({ type: z2.string().min(1), ...sourceAuthenticationSchema }).superRefine(exactlyOneGithubAuthenticationMode);
package/dist/index.js CHANGED
@@ -742,6 +742,19 @@ var durationSchema = z.string().regex(/^[1-9][0-9]*(?:ms|s|m|h)$/, {
742
742
  message: 'must be a positive duration like "30s", "5m", or "1h"'
743
743
  }).brand();
744
744
 
745
+ // packages/shared/src/running-animations.ts
746
+ var visibleRunningAnimations = [
747
+ "radial",
748
+ "runway",
749
+ "orbit",
750
+ "signal-field",
751
+ "telemetry-bloom",
752
+ "release-transit",
753
+ "status-weather",
754
+ "falling-shapes",
755
+ "snowman"
756
+ ];
757
+
745
758
  // packages/shared/src/board-config.ts
746
759
  var positionSchema = z2.union([
747
760
  z2.object({
@@ -778,17 +791,6 @@ var httpValueScalarPanelSchema = httpValuePanelIdentitySchema.extend({
778
791
  var httpValueGroupedPanelSchema = httpValuePanelIdentitySchema.extend({
779
792
  facts: z2.array(httpValueFactSchema).min(1).max(4)
780
793
  });
781
- var visibleRunningAnimations = [
782
- "radial",
783
- "runway",
784
- "orbit",
785
- "signal-field",
786
- "telemetry-bloom",
787
- "release-transit",
788
- "status-weather",
789
- "falling-shapes",
790
- "snowman"
791
- ];
792
794
  var runningAnimationSchema = z2.enum([...visibleRunningAnimations, "off"]);
793
795
  var panelSchema = z2.looseObject({
794
796
  /** Presentation-only wall label. `id` remains the stable proxy and allowlist address. */
@@ -952,7 +954,7 @@ var gitlabCiSourceSchema = z2.looseObject({
952
954
  token_env: z2.string().min(1),
953
955
  /** The branch or tag whose newest pipeline the dashboard represents. */
954
956
  branch: z2.string().min(1).optional(),
955
- /** HTTPS GitLab.com or a self-managed instance, optionally below a path prefix. */
957
+ /** HTTPS GitLab instance, optionally below a self-managed path prefix. */
956
958
  url: gitlabInstanceUrlSchema.optional().default("https://gitlab.com")
957
959
  });
958
960
  var sourceSchema = z2.looseObject({ type: z2.string().min(1), ...sourceAuthenticationSchema }).superRefine(exactlyOneGithubAuthenticationMode);
package/dist/lambda.mjs CHANGED
@@ -26039,7 +26039,7 @@ var require_dist_cjs16 = __commonJS({
26039
26039
  Region: { type: "builtInParams", name: "region" },
26040
26040
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
26041
26041
  };
26042
- var version2 = "3.1129.0";
26042
+ var version2 = "3.1130.0";
26043
26043
  var packageInfo = {
26044
26044
  version: version2
26045
26045
  };
@@ -27817,7 +27817,7 @@ var require_dist_cjs17 = __commonJS({
27817
27817
  Region: { type: "builtInParams", name: "region" },
27818
27818
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
27819
27819
  };
27820
- var version2 = "3.1129.0";
27820
+ var version2 = "3.1130.0";
27821
27821
  var packageInfo = {
27822
27822
  version: version2
27823
27823
  };
@@ -51984,7 +51984,7 @@ ${content.join("\n")}
51984
51984
  var version = {
51985
51985
  major: 4,
51986
51986
  minor: 6,
51987
- patch: 1
51987
+ patch: 2
51988
51988
  };
51989
51989
 
51990
51990
  // node_modules/zod/v4/core/schemas.js
@@ -52788,7 +52788,7 @@ function handlePropertyResult(result, final, key, input2, optin, optout) {
52788
52788
  return;
52789
52789
  }
52790
52790
  if (result.value === void 0) {
52791
- if (isPresent) {
52791
+ if (isPresent || optin === "defaulted" && !isOptionalOut) {
52792
52792
  final.value[key] = void 0;
52793
52793
  }
52794
52794
  } else {
@@ -53024,16 +53024,16 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
53024
53024
  doc.write(`
53025
53025
  if (${id}.issues.length) {${prefixStr(id, k5)}
53026
53026
  }
53027
-
53028
- if (${id}.value === undefined) {
53029
- if (${isPresent}) {
53030
- newResult[${k5}] = undefined;
53031
- }
53027
+ `);
53028
+ if (optin === "defaulted") {
53029
+ doc.write(`newResult[${k5}] = ${id}.value;`);
53032
53030
  } else {
53031
+ doc.write(`
53032
+ if (${id}.value !== undefined || ${isPresent}) {
53033
53033
  newResult[${k5}] = ${id}.value;
53034
53034
  }
53035
-
53036
53035
  `);
53036
+ }
53037
53037
  }
53038
53038
  }
53039
53039
  doc.write(`payload.value = newResult;`);
@@ -63093,7 +63093,7 @@ function generateObjectCheck(doc, ctx, schema, accessor, buildsValue = true) {
63093
63093
  }
63094
63094
  }
63095
63095
  const outputVar = newVar(ctx);
63096
- const hasConditionalKeys = allKeys.some((k5) => mayOutputUndefined(propShape[k5]) || dropsWhenAbsent(propShape[k5]));
63096
+ const hasConditionalKeys = allKeys.some((k5) => mayOmitUndefined(propShape[k5]) || dropsWhenAbsent(propShape[k5]));
63097
63097
  if (!buildsValue) {
63098
63098
  if (unknownKeysMode === "schema") {
63099
63099
  const knownSet = keys.length > 0 ? addConstant(ctx, new Set(keys)) : null;
@@ -63120,7 +63120,7 @@ function generateObjectCheck(doc, ctx, schema, accessor, buildsValue = true) {
63120
63120
  const out = propOutputs.get(k5);
63121
63121
  if (dropsWhenAbsent(propShape[k5])) {
63122
63122
  doc.write(`if (${kx} in ${accessor}) ${outputVar}[${kx}] = ${out};`);
63123
- } else if (mayOutputUndefined(propShape[k5])) {
63123
+ } else if (mayOmitUndefined(propShape[k5])) {
63124
63124
  doc.write(`if (${out} !== undefined || ${kx} in ${accessor}) ${outputVar}[${kx}] = ${out};`);
63125
63125
  } else {
63126
63126
  doc.write(`${outputVar}[${kx}] = ${out};`);
@@ -63253,6 +63253,9 @@ function fastPathAcceptsAbsence(schema) {
63253
63253
  function dropsWhenAbsent(schema) {
63254
63254
  return schema._zod.optin === "optional" && schema._zod.optout === "optional";
63255
63255
  }
63256
+ function mayOmitUndefined(schema) {
63257
+ return (schema._zod.optin !== "defaulted" || schema._zod.optout === "optional") && mayOutputUndefined(schema);
63258
+ }
63256
63259
  function mayOutputUndefined(schema) {
63257
63260
  const def = schema._zod.def;
63258
63261
  switch (def.type) {
@@ -69098,6 +69101,19 @@ var durationSchema = external_exports.string().regex(/^[1-9][0-9]*(?:ms|s|m|h)$/
69098
69101
  message: 'must be a positive duration like "30s", "5m", or "1h"'
69099
69102
  }).brand();
69100
69103
 
69104
+ // packages/shared/src/running-animations.ts
69105
+ var visibleRunningAnimations = [
69106
+ "radial",
69107
+ "runway",
69108
+ "orbit",
69109
+ "signal-field",
69110
+ "telemetry-bloom",
69111
+ "release-transit",
69112
+ "status-weather",
69113
+ "falling-shapes",
69114
+ "snowman"
69115
+ ];
69116
+
69101
69117
  // packages/shared/src/board-config.ts
69102
69118
  var positionSchema = external_exports.union([
69103
69119
  external_exports.object({
@@ -69134,17 +69150,6 @@ var httpValueScalarPanelSchema = httpValuePanelIdentitySchema.extend({
69134
69150
  var httpValueGroupedPanelSchema = httpValuePanelIdentitySchema.extend({
69135
69151
  facts: external_exports.array(httpValueFactSchema).min(1).max(4)
69136
69152
  });
69137
- var visibleRunningAnimations = [
69138
- "radial",
69139
- "runway",
69140
- "orbit",
69141
- "signal-field",
69142
- "telemetry-bloom",
69143
- "release-transit",
69144
- "status-weather",
69145
- "falling-shapes",
69146
- "snowman"
69147
- ];
69148
69153
  var runningAnimationSchema = external_exports.enum([...visibleRunningAnimations, "off"]);
69149
69154
  var panelSchema = external_exports.looseObject({
69150
69155
  /** Presentation-only wall label. `id` remains the stable proxy and allowlist address. */
@@ -69308,7 +69313,7 @@ var gitlabCiSourceSchema = external_exports.looseObject({
69308
69313
  token_env: external_exports.string().min(1),
69309
69314
  /** The branch or tag whose newest pipeline the dashboard represents. */
69310
69315
  branch: external_exports.string().min(1).optional(),
69311
- /** HTTPS GitLab.com or a self-managed instance, optionally below a path prefix. */
69316
+ /** HTTPS GitLab instance, optionally below a self-managed path prefix. */
69312
69317
  url: gitlabInstanceUrlSchema.optional().default("https://gitlab.com")
69313
69318
  });
69314
69319
  var sourceSchema = external_exports.looseObject({ type: external_exports.string().min(1), ...sourceAuthenticationSchema }).superRefine(exactlyOneGithubAuthenticationMode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@continuous-excellence/ze-great-dashboard-aws",
3
- "version": "0.30.1",
3
+ "version": "0.30.3",
4
4
  "type": "module",
5
5
  "description": "AWS server runtime and CloudFormation deployment tooling for Ze Great Dashboard.",
6
6
  "keywords": [
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "fflate": "^0.8.3",
38
38
  "yaml": "^2.9.0",
39
- "zod": "^4.6.1"
39
+ "zod": "^4.6.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "esbuild": "^0.28.2",