@dbx-tools/shared-genie 0.6.45 → 0.6.48

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.
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * Two related layers live here:
6
6
  *
7
- * 1. Genie wire shapes derived from `@dbx-tools/shared-sdk-model`'s
8
- * generated `dashboards` schemas (regenerated from the upstream
7
+ * 1. Genie wire shapes derived from this package's own generated
8
+ * `dashboards` schemas (regenerated from the upstream
9
9
  * `@databricks/sdk-experimental` `apis/dashboards/model.d.ts`
10
10
  * by the engine's codegen on synth). We extend the SDK schemas where Genie
11
11
  * ships fields on the wire that the SDK doesn't currently type:
@@ -33,18 +33,18 @@
33
33
  * discriminated union.
34
34
  *
35
35
  * Pure types: no runtime imports beyond zod + the generated
36
- * sdk-type schemas, no Node-only code, safe for browser bundles.
36
+ * `dashboards` schemas, no Node-only code, safe for browser bundles.
37
37
  *
38
38
  * @module
39
39
  */
40
40
 
41
41
  import { string } from "@dbx-tools/shared-core";
42
- import { dashboards } from "@dbx-tools/shared-sdk-model";
43
42
  import { z } from "zod";
43
+ import * as dashboards from "./dashboards.ts";
44
44
 
45
- // The generated SDK schemas live under the `dashboards` namespace of
46
- // @dbx-tools/shared-sdk-model. Alias the handful Genie extends so the
47
- // widened schemas below read against short, local names.
45
+ // The generated SDK schemas live in the sibling `./dashboards.ts`, written by the
46
+ // engine's codegen from the upstream `.d.ts`. Alias the handful Genie extends so
47
+ // the widened schemas below read against short, local names.
48
48
  const {
49
49
  messageStatusSchema: MessageStatusSchema,
50
50
  genieAttachmentSchema: SDKGenieAttachmentSchema,