@intentius/chant-lexicon-azure 0.25.0 → 0.26.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.
@@ -35,6 +35,17 @@ export declare function parseSchemaPath(path: string): {
35
35
  * includes the plain `roleAssignments` / `roleDefinitions` resources; they live
36
36
  * in 2022-04-01, the latest stable that still has them. Pin it so those
37
37
  * generate (the naming table maps both). See #223.
38
+ *
39
+ * Microsoft.Compute has the same issue (#1144): at the schema commit pinned
40
+ * in ../spec/fetch.ts, the newest dated `Microsoft.Compute.json` (2026-03-02)
41
+ * is a narrow disk-only delta that drops `virtualMachines`,
42
+ * `virtualMachineScaleSets`, and `availabilitySets` entirely — not a rename,
43
+ * an omission, since Azure alternates between a "VM flavor" and a "disk
44
+ * flavor" of this file across dates rather than publishing one cumulative
45
+ * file. 2026-03-01 is the most recent date that still has the VM family
46
+ * (validate.ts's REQUIRED_NAMES and composites/vm-linux.ts depend on it);
47
+ * it drops the disk-only resources (disks, diskAccesses, diskEncryptionSets,
48
+ * snapshots), which nothing here currently references.
38
49
  */
39
50
  export declare const PROVIDER_VERSION_OVERRIDES: Record<string, string>;
40
51
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"api-versions.d.ts","sourceRoot":"","sources":["../../src/spec/api-versions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAMpD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,GACX;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAOjD;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAE7D,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,EAAE,GACd,GAAG,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CAuBnD"}
1
+ {"version":3,"file":"api-versions.d.ts","sourceRoot":"","sources":["../../src/spec/api-versions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAMpD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,GACX;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAOjD;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAG7D,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,EAAE,GACd,GAAG,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CAuBnD"}
@@ -59,6 +59,33 @@ export interface ArmSchemaDefinition {
59
59
  required?: string[];
60
60
  items?: ArmSchemaProperty;
61
61
  }
62
+ /**
63
+ * Pinned commit of Azure/azure-resource-manager-schemas (#1144).
64
+ *
65
+ * The repo has no tagged releases, so unlike gcp (`KCC_VERSION`) or k8s
66
+ * (`K8S_SCHEMA_VERSION`) there is no version tag to pin against — codegen
67
+ * used to fetch `refs/heads/main` directly. That meant a cold cache picked
68
+ * up whatever upstream state had landed since the cache last expired, while
69
+ * a warm cache kept serving whatever was current when it was last filled.
70
+ * Azure republishes per-provider schema files under new dates constantly,
71
+ * and a later date can drop resources an earlier one defined (see
72
+ * PROVIDER_VERSION_OVERRIDES in ./api-versions.ts) — so which resources
73
+ * even exist to generate depends on exactly when you fetch, not just what
74
+ * the fetch URL happens to be. That broke composites/vm-linux.ts at tsc
75
+ * nondeterministically, depending on which runner's cache was warm.
76
+ *
77
+ * Pinning to a commit SHA makes generation reproducible regardless of cache
78
+ * state. Bump policy: #523's scheduled lexicon-upgrade cron (rolling-spec
79
+ * bucket, sub-issue #526) is meant to propose bumps to this constant as a
80
+ * reviewable PR once built. Until then, bump by hand: take the current
81
+ * `main` HEAD sha from
82
+ * https://github.com/Azure/azure-resource-manager-schemas/commits/main,
83
+ * regenerate, fix up any composite left referencing a renamed or vanished
84
+ * export (adding a PROVIDER_VERSION_OVERRIDES entry if a resource dropped
85
+ * out of the naive "latest by date" pick), and update this constant +
86
+ * comment.
87
+ */
88
+ export declare const AZURE_SCHEMA_COMMIT = "0085cb6f3a98e735359807143bcb1667aeec930f";
62
89
  /**
63
90
  * Fetch ARM schemas and return a Map keyed by resource type
64
91
  * (e.g. "Microsoft.Storage/storageAccounts") to raw JSON bytes.
@@ -1 +1 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/spec/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WA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