@palantir/pack.document-schema.type-gen 0.24.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.
Files changed (61) hide show
  1. package/README.md +14 -0
  2. package/build/esm/commands/ir/__tests__/irDeployFirstParty.test.js +237 -0
  3. package/build/esm/commands/ir/__tests__/irDeployFirstParty.test.js.map +1 -0
  4. package/build/esm/commands/ir/irDeployHandler.js +81 -41
  5. package/build/esm/commands/ir/irDeployHandler.js.map +1 -1
  6. package/build/esm/commands/ir/irGenAssetHandler.js +13 -0
  7. package/build/esm/commands/ir/irGenAssetHandler.js.map +1 -1
  8. package/build/esm/commands/ir/registerIrCommands.js +2 -2
  9. package/build/esm/commands/ir/registerIrCommands.js.map +1 -1
  10. package/build/esm/utils/ir/__tests__/__snapshots__/generateModelsFromIr/custom-discriminant.js +1 -1
  11. package/build/esm/utils/ir/__tests__/__snapshots__/generateModelsFromIr/custom-discriminant.js.map +1 -1
  12. package/build/esm/utils/ir/__tests__/__snapshots__/generateModelsFromIr/external-refs.js +1 -1
  13. package/build/esm/utils/ir/__tests__/__snapshots__/generateModelsFromIr/external-refs.js.map +1 -1
  14. package/build/esm/utils/ir/__tests__/__snapshots__/generateModelsFromIr/simple-record.js +1 -1
  15. package/build/esm/utils/ir/__tests__/__snapshots__/generateModelsFromIr/simple-record.js.map +1 -1
  16. package/build/esm/utils/ir/__tests__/__snapshots__/generateModelsFromIr/union-types.js +1 -1
  17. package/build/esm/utils/ir/__tests__/__snapshots__/generateModelsFromIr/union-types.js.map +1 -1
  18. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/array-and-map-types.js +1 -1
  19. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/array-and-map-types.js.map +1 -1
  20. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/boolean-fields.js +1 -1
  21. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/boolean-fields.js.map +1 -1
  22. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/custom-discriminant.js +1 -1
  23. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/custom-discriminant.js.map +1 -1
  24. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/datetime-fields.js +1 -1
  25. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/datetime-fields.js.map +1 -1
  26. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/simple-records.js +1 -1
  27. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/simple-records.js.map +1 -1
  28. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/union-before-records.js +1 -1
  29. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/union-before-records.js.map +1 -1
  30. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/union-types.js +1 -1
  31. package/build/esm/utils/ir/__tests__/__snapshots__/generateZodSchemasFromIr/union-types.js.map +1 -1
  32. package/build/esm/utils/ir/__tests__/convertIrToConjureSchema.test.js +185 -0
  33. package/build/esm/utils/ir/__tests__/convertIrToConjureSchema.test.js.map +1 -0
  34. package/build/esm/utils/ir/convertIrToConjureSchema.js +148 -0
  35. package/build/esm/utils/ir/convertIrToConjureSchema.js.map +1 -0
  36. package/build/esm/utils/schema/__tests__/__snapshots__/generateDocumentTypeFromSchema/with-name-and-description.js +1 -1
  37. package/build/esm/utils/schema/__tests__/__snapshots__/generateDocumentTypeFromSchema/with-name-and-description.js.map +1 -1
  38. package/build/esm/utils/schema/__tests__/__snapshots__/generateVersionsFromSchema/single-version.js.map +1 -1
  39. package/build/esm/utils/schema/__tests__/__snapshots__/generateVersionsFromSchema/three-version-chain.js.map +1 -1
  40. package/build/esm/utils/schema/__tests__/__snapshots__/generateVersionsFromSchema/two-version.js.map +1 -1
  41. package/build/esm/utils/steps/__tests__/__snapshots__/types/arrayFields.js.map +1 -1
  42. package/build/esm/utils/steps/__tests__/__snapshots__/types/customDiscriminant.js +1 -1
  43. package/build/esm/utils/steps/__tests__/__snapshots__/types/customDiscriminant.js.map +1 -1
  44. package/build/esm/utils/steps/__tests__/__snapshots__/types/generateTypeScriptInterfaces.js +1 -1
  45. package/build/esm/utils/steps/__tests__/__snapshots__/types/generateTypeScriptInterfaces.js.map +1 -1
  46. package/build/esm/utils/steps/__tests__/__snapshots__/types/refTypes.js.map +1 -1
  47. package/build/esm/utils/steps/__tests__/__snapshots__/types/simpleRecord.js.map +1 -1
  48. package/build/esm/utils/steps/__tests__/__snapshots__/types/simpleSteps.js +1 -1
  49. package/build/esm/utils/steps/__tests__/__snapshots__/types/simpleSteps.js.map +1 -1
  50. package/build/types/commands/ir/__tests__/irDeployFirstParty.test.d.ts +2 -0
  51. package/build/types/commands/ir/__tests__/irDeployFirstParty.test.d.ts.map +1 -0
  52. package/build/types/commands/ir/irDeployHandler.d.ts +20 -2
  53. package/build/types/commands/ir/irDeployHandler.d.ts.map +1 -1
  54. package/build/types/commands/ir/irGenAssetHandler.d.ts +5 -0
  55. package/build/types/commands/ir/irGenAssetHandler.d.ts.map +1 -1
  56. package/build/types/commands/ir/registerIrCommands.d.ts.map +1 -1
  57. package/build/types/utils/ir/__tests__/convertIrToConjureSchema.test.d.ts +2 -0
  58. package/build/types/utils/ir/__tests__/convertIrToConjureSchema.test.d.ts.map +1 -0
  59. package/build/types/utils/ir/convertIrToConjureSchema.d.ts +26 -0
  60. package/build/types/utils/ir/convertIrToConjureSchema.d.ts.map +1 -0
  61. package/package.json +4 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertIrToConjureSchema.js","names":["convertIrToConjureSchema","ir","models","key","model","Object","entries","convertModelDef","primaryModelKeys","type","record","fields","map","convertFieldDef","union","Error","field","fieldType","convertFieldTypeUnion","array","allowNullValue","value","toFieldValueType","set","convertFieldValueUnion","valueType","double","defaultValue","rejectNaN","minValue","maxValue","undefined"],"sources":["convertIrToConjureSchema.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n IFieldDef,\n IFieldTypeUnion,\n IFieldValueUnion,\n IModelDef,\n IRealTimeDocumentSchema,\n} from \"../../lib/pack-docschema-api/pack-docschema-ir/index.js\";\n\n/**\n * The first-party API's Conjure `DocumentTypeSchema` wire shape. We don't depend on the generated\n * Conjure client (it lives in an internal registry this public package can't use), so this is the\n * structural shape the publish endpoint expects; nested payloads are left as `unknown`.\n */\nexport interface ConjureDocumentTypeSchema {\n readonly primaryModelKeys: readonly string[];\n readonly models: Record<string, unknown>;\n}\n\n/**\n * Converts the IR schema to the first-party API's Conjure wire format.\n *\n * Conjure nests a union's payload under a key matching the discriminant\n * (`{ type: \"record\", record: { ... } }`) — which is how the IR is already shaped, so this is\n * mostly a pass-through. The one real difference: Conjure models a collection's element type as\n * `FieldValueType { valueType }`, while the IR carries the value union directly, so those get wrapped.\n *\n * Do NOT use {@link convertIrToWireSchema} for the first-party publish path: that flattens unions\n * into the OSDK shape (`{ type: \"record\", key, name, ... }`), which the Conjure endpoint rejects.\n *\n * TODO(follow-up): this parallels {@link convertIrToWireSchema}'s tree walk. Longer term the IR\n * generator could emit the Conjure shape directly, letting this converter be removed.\n */\nexport function convertIrToConjureSchema(ir: IRealTimeDocumentSchema): ConjureDocumentTypeSchema {\n const models: Record<string, unknown> = {};\n for (const [key, model] of Object.entries(ir.models)) {\n models[key] = convertModelDef(model);\n }\n return { primaryModelKeys: [...ir.primaryModelKeys], models };\n}\n\nfunction convertModelDef(model: IModelDef): unknown {\n switch (model.type) {\n case \"record\":\n return {\n type: \"record\",\n record: { ...model.record, fields: model.record.fields.map(convertFieldDef) },\n };\n case \"union\":\n return { type: \"union\", union: { ...model.union } };\n default: {\n const _exhaustive: never = model;\n throw new Error(`Unknown model type: ${(_exhaustive as IModelDef).type}`);\n }\n }\n}\n\nfunction convertFieldDef(field: IFieldDef): unknown {\n return { ...field, fieldType: convertFieldTypeUnion(field.fieldType) };\n}\n\nfunction convertFieldTypeUnion(fieldType: IFieldTypeUnion): unknown {\n switch (fieldType.type) {\n case \"array\":\n return {\n type: \"array\",\n array: {\n allowNullValue: fieldType.array.allowNullValue,\n value: toFieldValueType(fieldType.array.value),\n },\n };\n case \"map\":\n return {\n type: \"map\",\n map: {\n allowNullValue: fieldType.map.allowNullValue,\n key: toFieldValueType(fieldType.map.key),\n value: toFieldValueType(fieldType.map.value),\n },\n };\n case \"set\":\n return {\n type: \"set\",\n set: {\n allowNullValue: fieldType.set.allowNullValue,\n value: toFieldValueType(fieldType.set.value),\n },\n };\n // Conjure's `value` variant carries the value union directly (double values are NaN-guarded).\n case \"value\":\n return { type: \"value\", value: convertFieldValueUnion(fieldType.value) };\n default: {\n const _exhaustive: never = fieldType;\n throw new Error(`Unknown field type: ${(_exhaustive as IFieldTypeUnion).type}`);\n }\n }\n}\n\n/** Wraps a value union in Conjure's `FieldValueType`. */\nfunction toFieldValueType(value: IFieldValueUnion): unknown {\n return { valueType: convertFieldValueUnion(value) };\n}\n\n/**\n * Value unions are already in the Conjure nested shape, so this is a pass-through — except doubles,\n * whose numeric fields may carry the \"NaN\" sentinel. Reject it early (matching\n * {@link convertIrToWireSchema}) rather than forward an invalid double to the first-party API.\n */\nfunction convertFieldValueUnion(value: IFieldValueUnion): unknown {\n if (value.type === \"double\") {\n return {\n type: \"double\",\n double: {\n ...value.double,\n defaultValue: rejectNaN(value.double.defaultValue),\n minValue: rejectNaN(value.double.minValue),\n maxValue: rejectNaN(value.double.maxValue),\n },\n };\n }\n return value;\n}\n\nfunction rejectNaN(value: number | \"NaN\" | null | undefined): number | undefined {\n if (value === \"NaN\") {\n throw new Error(\"NaN is not a valid double value for wire serialization\");\n }\n return value ?? undefined;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAUA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASA,wBAAwBA,CAACC,EAA2B,EAA6B;EAC/F,MAAMC,MAA+B,GAAG,CAAC,CAAC;EAC1C,KAAK,MAAM,CAACC,GAAG,EAAEC,KAAK,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACL,EAAE,CAACC,MAAM,CAAC,EAAE;IACpDA,MAAM,CAACC,GAAG,CAAC,GAAGI,eAAe,CAACH,KAAK,CAAC;EACtC;EACA,OAAO;IAAEI,gBAAgB,EAAE,CAAC,GAAGP,EAAE,CAACO,gBAAgB,CAAC;IAAEN;EAAO,CAAC;AAC/D;AAEA,SAASK,eAAeA,CAACH,KAAgB,EAAW;EAClD,QAAQA,KAAK,CAACK,IAAI;IAChB,KAAK,QAAQ;MACX,OAAO;QACLA,IAAI,EAAE,QAAQ;QACdC,MAAM,EAAE;UAAE,GAAGN,KAAK,CAACM,MAAM;UAAEC,MAAM,EAAEP,KAAK,CAACM,MAAM,CAACC,MAAM,CAACC,GAAG,CAACC,eAAe;QAAE;MAC9E,CAAC;IACH,KAAK,OAAO;MACV,OAAO;QAAEJ,IAAI,EAAE,OAAO;QAAEK,KAAK,EAAE;UAAE,GAAGV,KAAK,CAACU;QAAM;MAAE,CAAC;IACrD;MAAS;QAEP,MAAM,IAAIC,KAAK,CAAC,uBADWX,KAAK,CACkCK,IAAI,EAAE,CAAC;MAC3E;EACF;AACF;AAEA,SAASI,eAAeA,CAACG,KAAgB,EAAW;EAClD,OAAO;IAAE,GAAGA,KAAK;IAAEC,SAAS,EAAEC,qBAAqB,CAACF,KAAK,CAACC,SAAS;EAAE,CAAC;AACxE;AAEA,SAASC,qBAAqBA,CAACD,SAA0B,EAAW;EAClE,QAAQA,SAAS,CAACR,IAAI;IACpB,KAAK,OAAO;MACV,OAAO;QACLA,IAAI,EAAE,OAAO;QACbU,KAAK,EAAE;UACLC,cAAc,EAAEH,SAAS,CAACE,KAAK,CAACC,cAAc;UAC9CC,KAAK,EAAEC,gBAAgB,CAACL,SAAS,CAACE,KAAK,CAACE,KAAK;QAC/C;MACF,CAAC;IACH,KAAK,KAAK;MACR,OAAO;QACLZ,IAAI,EAAE,KAAK;QACXG,GAAG,EAAE;UACHQ,cAAc,EAAEH,SAAS,CAACL,GAAG,CAACQ,cAAc;UAC5CjB,GAAG,EAAEmB,gBAAgB,CAACL,SAAS,CAACL,GAAG,CAACT,GAAG,CAAC;UACxCkB,KAAK,EAAEC,gBAAgB,CAACL,SAAS,CAACL,GAAG,CAACS,KAAK;QAC7C;MACF,CAAC;IACH,KAAK,KAAK;MACR,OAAO;QACLZ,IAAI,EAAE,KAAK;QACXc,GAAG,EAAE;UACHH,cAAc,EAAEH,SAAS,CAACM,GAAG,CAACH,cAAc;UAC5CC,KAAK,EAAEC,gBAAgB,CAACL,SAAS,CAACM,GAAG,CAACF,KAAK;QAC7C;MACF,CAAC;IACH;IACA,KAAK,OAAO;MACV,OAAO;QAAEZ,IAAI,EAAE,OAAO;QAAEY,KAAK,EAAEG,sBAAsB,CAACP,SAAS,CAACI,KAAK;MAAE,CAAC;IAC1E;MAAS;QAEP,MAAM,IAAIN,KAAK,CAAC,uBADWE,SAAS,CACoCR,IAAI,EAAE,CAAC;MACjF;EACF;AACF;;AAEA;AACA,SAASa,gBAAgBA,CAACD,KAAuB,EAAW;EAC1D,OAAO;IAAEI,SAAS,EAAED,sBAAsB,CAACH,KAAK;EAAE,CAAC;AACrD;;AAEA;AACA;AACA;AACA;AACA;AACA,SAASG,sBAAsBA,CAACH,KAAuB,EAAW;EAChE,IAAIA,KAAK,CAACZ,IAAI,KAAK,QAAQ,EAAE;IAC3B,OAAO;MACLA,IAAI,EAAE,QAAQ;MACdiB,MAAM,EAAE;QACN,GAAGL,KAAK,CAACK,MAAM;QACfC,YAAY,EAAEC,SAAS,CAACP,KAAK,CAACK,MAAM,CAACC,YAAY,CAAC;QAClDE,QAAQ,EAAED,SAAS,CAACP,KAAK,CAACK,MAAM,CAACG,QAAQ,CAAC;QAC1CC,QAAQ,EAAEF,SAAS,CAACP,KAAK,CAACK,MAAM,CAACI,QAAQ;MAC3C;IACF,CAAC;EACH;EACA,OAAOT,KAAK;AACd;AAEA,SAASO,SAASA,CAACP,KAAwC,EAAsB;EAC/E,IAAIA,KAAK,KAAK,KAAK,EAAE;IACnB,MAAM,IAAIN,KAAK,CAAC,wDAAwD,CAAC;EAC3E;EACA,OAAOM,KAAK,IAAIU,SAAS;AAC3B","ignoreList":[]}
@@ -2,7 +2,7 @@
2
2
  // documentType.ts
3
3
  // ============================================================
4
4
 
5
- /* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */
5
+ /* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */
6
6
 
7
7
  export const DOCUMENT_TYPE_NAME = 'Canvas Document Type';
8
8
  export const DOCUMENT_TYPE_DESCRIPTION = 'Document type description for demo canvas';
@@ -1 +1 @@
1
- {"version":3,"file":"with-name-and-description.js","names":["DOCUMENT_TYPE_NAME","DOCUMENT_TYPE_DESCRIPTION"],"sources":["with-name-and-description.ts"],"sourcesContent":["// ============================================================\n// documentType.ts\n// ============================================================\n\n/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\nexport const DOCUMENT_TYPE_NAME = 'Canvas Document Type';\nexport const DOCUMENT_TYPE_DESCRIPTION =\n 'Document type description for demo canvas';\n"],"mappings":"AAAA;AACA;AACA;;AAEA;;AAEA,OAAO,MAAMA,kBAAkB,GAAG,sBAAsB;AACxD,OAAO,MAAMC,yBAAyB,GACpC,2CAA2C","ignoreList":[]}
1
+ {"version":3,"file":"with-name-and-description.js","names":["DOCUMENT_TYPE_NAME","DOCUMENT_TYPE_DESCRIPTION"],"sources":["with-name-and-description.ts"],"sourcesContent":["// ============================================================\n// documentType.ts\n// ============================================================\n\n/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\nexport const DOCUMENT_TYPE_NAME = 'Canvas Document Type';\nexport const DOCUMENT_TYPE_DESCRIPTION =\n 'Document type description for demo canvas';\n"],"mappings":"AAAA;AACA;AACA;;AAEA;;AAEA,OAAO,MAAMA,kBAAkB,GAAG,sBAAsB;AACxD,OAAO,MAAMC,yBAAyB,GACpC,2CAA2C","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"single-version.js","names":[],"sources":["single-version.ts"],"sourcesContent":["// ============================================================\n// versions.ts\n// ============================================================\n\n/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\nexport type SupportedVersions = 1;\nexport type LatestVersion = 1;\nexport type MinSupportedVersion = 1;\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"single-version.js","names":[],"sources":["single-version.ts"],"sourcesContent":["// ============================================================\n// versions.ts\n// ============================================================\n\n/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\nexport type SupportedVersions = 1;\nexport type LatestVersion = 1;\nexport type MinSupportedVersion = 1;\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"three-version-chain.js","names":[],"sources":["three-version-chain.ts"],"sourcesContent":["// ============================================================\n// versions.ts\n// ============================================================\n\n/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\nexport type SupportedVersions = 1 | 2 | 3;\nexport type LatestVersion = 3;\nexport type MinSupportedVersion = 1;\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"three-version-chain.js","names":[],"sources":["three-version-chain.ts"],"sourcesContent":["// ============================================================\n// versions.ts\n// ============================================================\n\n/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\nexport type SupportedVersions = 1 | 2 | 3;\nexport type LatestVersion = 3;\nexport type MinSupportedVersion = 1;\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"two-version.js","names":[],"sources":["two-version.ts"],"sourcesContent":["// ============================================================\n// versions.ts\n// ============================================================\n\n/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\nexport type SupportedVersions = 1 | 2;\nexport type LatestVersion = 2;\nexport type MinSupportedVersion = 1;\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"two-version.js","names":[],"sources":["two-version.ts"],"sourcesContent":["// ============================================================\n// versions.ts\n// ============================================================\n\n/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\nexport type SupportedVersions = 1 | 2;\nexport type LatestVersion = 2;\nexport type MinSupportedVersion = 1;\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"arrayFields.js","names":[],"sources":["arrayFields.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\n\nexport interface Container {\n readonly items: readonly string[];\n readonly numbers: readonly number[];\n}\n\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"arrayFields.js","names":[],"sources":["arrayFields.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\n\nexport interface Container {\n readonly items: readonly string[];\n readonly numbers: readonly number[];\n}\n\n"],"mappings":"","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- /* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */
1
+ /* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */
2
2
 
3
3
  /**
4
4
  * A cat
@@ -1 +1 @@
1
- {"version":3,"file":"customDiscriminant.js","names":["isAnimalCat","value","kind","isAnimalDog"],"sources":["customDiscriminant.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\n\n/**\n * A cat\n */\nexport interface Cat {\n readonly meow: string;\n readonly whiskers: number;\n}\n\n/**\n * A dog\n */\nexport interface Dog {\n readonly bark: string;\n readonly tailWags: number;\n}\n\nexport interface AnimalCat extends Cat {\n readonly kind: \"cat\";\n}\n\nexport interface AnimalDog extends Dog {\n readonly kind: \"dog\";\n}\n\nexport type Animal = AnimalCat | AnimalDog;\n\nexport function isAnimalCat(value: Animal): value is AnimalCat {\n return value.kind === \"cat\";\n}\n\nexport function isAnimalDog(value: Animal): value is AnimalDog {\n return value.kind === \"dog\";\n}\n\n"],"mappings":"AAAA;;AAGA;AACA;AACA;;AAMA;AACA;AACA;;AAgBA,OAAO,SAASA,WAAWA,CAACC,KAAa,EAAsB;EAC7D,OAAOA,KAAK,CAACC,IAAI,KAAK,KAAK;AAC7B;AAEA,OAAO,SAASC,WAAWA,CAACF,KAAa,EAAsB;EAC7D,OAAOA,KAAK,CAACC,IAAI,KAAK,KAAK;AAC7B","ignoreList":[]}
1
+ {"version":3,"file":"customDiscriminant.js","names":["isAnimalCat","value","kind","isAnimalDog"],"sources":["customDiscriminant.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\n\n/**\n * A cat\n */\nexport interface Cat {\n readonly meow: string;\n readonly whiskers: number;\n}\n\n/**\n * A dog\n */\nexport interface Dog {\n readonly bark: string;\n readonly tailWags: number;\n}\n\nexport interface AnimalCat extends Cat {\n readonly kind: \"cat\";\n}\n\nexport interface AnimalDog extends Dog {\n readonly kind: \"dog\";\n}\n\nexport type Animal = AnimalCat | AnimalDog;\n\nexport function isAnimalCat(value: Animal): value is AnimalCat {\n return value.kind === \"cat\";\n}\n\nexport function isAnimalDog(value: Animal): value is AnimalDog {\n return value.kind === \"dog\";\n}\n\n"],"mappings":"AAAA;;AAGA;AACA;AACA;;AAMA;AACA;AACA;;AAgBA,OAAO,SAASA,WAAWA,CAACC,KAAa,EAAsB;EAC7D,OAAOA,KAAK,CAACC,IAAI,KAAK,KAAK;AAC7B;AAEA,OAAO,SAASC,WAAWA,CAACF,KAAa,EAAsB;EAC7D,OAAOA,KAAK,CAACC,IAAI,KAAK,KAAK;AAC7B","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- /* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */
1
+ /* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */
2
2
 
3
3
  /**
4
4
  * Represents an edge in a graph
@@ -1 +1 @@
1
- {"version":3,"file":"generateTypeScriptInterfaces.js","names":["isNodeObject","value","type","isNodeTextBox"],"sources":["generateTypeScriptInterfaces.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\n\n/**\n * Represents an edge in a graph\n */\nexport interface Edge {\n readonly source: ObjectNode;\n readonly target: ObjectNode;\n}\n\nexport interface ObjectNode {\n readonly x: number;\n readonly y: number;\n readonly label?: string;\n readonly color?: string;\n}\n\n/**\n * Represents a text box in a graph\n */\nexport interface TextBox {\n readonly x: number;\n readonly y: number;\n readonly text: string;\n}\n\nexport interface NodeObject extends ObjectNode {\n readonly type: \"object\";\n}\n\nexport interface NodeTextBox extends TextBox {\n readonly type: \"text-box\";\n}\n\nexport type Node = NodeObject | NodeTextBox;\n\nexport function isNodeObject(value: Node): value is NodeObject {\n return value.type === \"object\";\n}\n\nexport function isNodeTextBox(value: Node): value is NodeTextBox {\n return value.type === \"text-box\";\n}\n\n"],"mappings":"AAAA;;AAGA;AACA;AACA;;AAaA;AACA;AACA;;AAiBA,OAAO,SAASA,YAAYA,CAACC,KAAW,EAAuB;EAC7D,OAAOA,KAAK,CAACC,IAAI,KAAK,QAAQ;AAChC;AAEA,OAAO,SAASC,aAAaA,CAACF,KAAW,EAAwB;EAC/D,OAAOA,KAAK,CAACC,IAAI,KAAK,UAAU;AAClC","ignoreList":[]}
1
+ {"version":3,"file":"generateTypeScriptInterfaces.js","names":["isNodeObject","value","type","isNodeTextBox"],"sources":["generateTypeScriptInterfaces.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\n\n/**\n * Represents an edge in a graph\n */\nexport interface Edge {\n readonly source: ObjectNode;\n readonly target: ObjectNode;\n}\n\nexport interface ObjectNode {\n readonly x: number;\n readonly y: number;\n readonly label?: string;\n readonly color?: string;\n}\n\n/**\n * Represents a text box in a graph\n */\nexport interface TextBox {\n readonly x: number;\n readonly y: number;\n readonly text: string;\n}\n\nexport interface NodeObject extends ObjectNode {\n readonly type: \"object\";\n}\n\nexport interface NodeTextBox extends TextBox {\n readonly type: \"text-box\";\n}\n\nexport type Node = NodeObject | NodeTextBox;\n\nexport function isNodeObject(value: Node): value is NodeObject {\n return value.type === \"object\";\n}\n\nexport function isNodeTextBox(value: Node): value is NodeTextBox {\n return value.type === \"text-box\";\n}\n\n"],"mappings":"AAAA;;AAGA;AACA;AACA;;AAaA;AACA;AACA;;AAiBA,OAAO,SAASA,YAAYA,CAACC,KAAW,EAAuB;EAC7D,OAAOA,KAAK,CAACC,IAAI,KAAK,QAAQ;AAChC;AAEA,OAAO,SAASC,aAAaA,CAACF,KAAW,EAAwB;EAC/D,OAAOA,KAAK,CAACC,IAAI,KAAK,UAAU;AAClC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"refTypes.js","names":[],"sources":["refTypes.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\nimport type { DocumentId, MediaId, ObjectId, ResourceRid, UserId } from \"@palantir/pack.document-schema.model-types\";\n\n/**\n * A record containing all reference types\n */\nexport interface Document {\n readonly id: string;\n readonly docRef: DocumentId;\n readonly userRef: UserId;\n readonly objectRef: ObjectId;\n readonly mediaRef: MediaId;\n readonly resourceRef: ResourceRid;\n readonly optionalDocRef?: DocumentId;\n readonly docRefArray: readonly DocumentId[];\n readonly userRefArray: readonly UserId[];\n readonly optionalResourceRef?: ResourceRid;\n readonly resourceRefArray: readonly ResourceRid[];\n}\n\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"refTypes.js","names":[],"sources":["refTypes.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\nimport type { DocumentId, MediaId, ObjectId, ResourceRid, UserId } from \"@palantir/pack.document-schema.model-types\";\n\n/**\n * A record containing all reference types\n */\nexport interface Document {\n readonly id: string;\n readonly docRef: DocumentId;\n readonly userRef: UserId;\n readonly objectRef: ObjectId;\n readonly mediaRef: MediaId;\n readonly resourceRef: ResourceRid;\n readonly optionalDocRef?: DocumentId;\n readonly docRefArray: readonly DocumentId[];\n readonly userRefArray: readonly UserId[];\n readonly optionalResourceRef?: ResourceRid;\n readonly resourceRefArray: readonly ResourceRid[];\n}\n\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"simpleRecord.js","names":[],"sources":["simpleRecord.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\n\n/**\n * A person record\n */\nexport interface Person {\n readonly name: string;\n readonly age: number;\n readonly email?: string;\n}\n\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"simpleRecord.js","names":[],"sources":["simpleRecord.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\n\n/**\n * A person record\n */\nexport interface Person {\n readonly name: string;\n readonly age: number;\n readonly email?: string;\n}\n\n"],"mappings":"","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- /* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */
1
+ /* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */
2
2
 
3
3
  /**
4
4
  * A node in the graph
@@ -1 +1 @@
1
- {"version":3,"file":"simpleSteps.js","names":["isNodeObject","value","type","isNodeTextBox"],"sources":["simpleSteps.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.24.0 */\n\n\n/**\n * A node in the graph\n */\nexport interface ObjectNode {\n readonly x: number;\n readonly y: number;\n readonly object: string;\n readonly label?: string;\n readonly edges: readonly Edge[];\n}\n\n/**\n * A text box in the graph\n */\nexport interface TextBox {\n readonly x: number;\n readonly y: number;\n readonly text: string;\n}\n\n/**\n * An edge in the graph\n */\nexport interface Edge {\n readonly source: ObjectNode;\n readonly target: ObjectNode;\n}\n\nexport interface NodeObject extends ObjectNode {\n readonly type: \"object\";\n}\n\nexport interface NodeTextBox extends TextBox {\n readonly type: \"textBox\";\n}\n\nexport type Node = NodeObject | NodeTextBox;\n\nexport function isNodeObject(value: Node): value is NodeObject {\n return value.type === \"object\";\n}\n\nexport function isNodeTextBox(value: Node): value is NodeTextBox {\n return value.type === \"textBox\";\n}\n\n"],"mappings":"AAAA;;AAGA;AACA;AACA;;AASA;AACA;AACA;;AAOA;AACA;AACA;;AAgBA,OAAO,SAASA,YAAYA,CAACC,KAAW,EAAuB;EAC7D,OAAOA,KAAK,CAACC,IAAI,KAAK,QAAQ;AAChC;AAEA,OAAO,SAASC,aAAaA,CAACF,KAAW,EAAwB;EAC/D,OAAOA,KAAK,CAACC,IAAI,KAAK,SAAS;AACjC","ignoreList":[]}
1
+ {"version":3,"file":"simpleSteps.js","names":["isNodeObject","value","type","isNodeTextBox"],"sources":["simpleSteps.ts"],"sourcesContent":["/* Generated by @palantir/pack.document-schema.type-gen@0.26.0 */\n\n\n/**\n * A node in the graph\n */\nexport interface ObjectNode {\n readonly x: number;\n readonly y: number;\n readonly object: string;\n readonly label?: string;\n readonly edges: readonly Edge[];\n}\n\n/**\n * A text box in the graph\n */\nexport interface TextBox {\n readonly x: number;\n readonly y: number;\n readonly text: string;\n}\n\n/**\n * An edge in the graph\n */\nexport interface Edge {\n readonly source: ObjectNode;\n readonly target: ObjectNode;\n}\n\nexport interface NodeObject extends ObjectNode {\n readonly type: \"object\";\n}\n\nexport interface NodeTextBox extends TextBox {\n readonly type: \"textBox\";\n}\n\nexport type Node = NodeObject | NodeTextBox;\n\nexport function isNodeObject(value: Node): value is NodeObject {\n return value.type === \"object\";\n}\n\nexport function isNodeTextBox(value: Node): value is NodeTextBox {\n return value.type === \"textBox\";\n}\n\n"],"mappings":"AAAA;;AAGA;AACA;AACA;;AASA;AACA;AACA;;AAOA;AACA;AACA;;AAgBA,OAAO,SAASA,YAAYA,CAACC,KAAW,EAAuB;EAC7D,OAAOA,KAAK,CAACC,IAAI,KAAK,QAAQ;AAChC;AAEA,OAAO,SAASC,aAAaA,CAACF,KAAW,EAAwB;EAC/D,OAAOA,KAAK,CAACC,IAAI,KAAK,SAAS;AACjC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=irDeployFirstParty.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"irDeployFirstParty.test.d.ts","sourceRoot":"","sources":["../../../../../src/commands/ir/__tests__/irDeployFirstParty.test.ts"],"names":[],"mappings":""}
@@ -7,11 +7,29 @@ interface DeployOptions {
7
7
  readonly firstParty?: boolean;
8
8
  /** Required for third-party deploys. */
9
9
  readonly parentFolder?: string;
10
- /** Required for first-party deploys. */
10
+ /** Deprecated/ignored for first-party deploys (publish has no ontology binding); kept so existing invocations don't fail. */
11
11
  readonly ontologyRid?: string;
12
- /** Overrides the API prefix for first-party deploys (e.g. /api/gotham). */
12
+ /** Deprecated/ignored; first-party deploys call the first-party API directly (use firstPartyApiUrl). Kept so existing invocations don't fail. */
13
13
  readonly firstPartyPrefix?: string;
14
+ /**
15
+ * First-party document type REST API base URL, REQUIRED for first-party deploys. The context path
16
+ * is installation-dependent, so pass the value for your stack.
17
+ */
18
+ readonly firstPartyApiUrl?: string;
14
19
  }
20
+ /**
21
+ * Handler for `ir deploy`, which creates a document type from a resolved IR.
22
+ *
23
+ * - Third-party (default): creates a versioned document type via the public OSDK
24
+ * (`DocumentTypes.create`) under `--parent-folder`.
25
+ * - First-party (`--first-party`): publishes a global, name-keyed type in DEV MODE via the
26
+ * first-party document type API. The schema is unversioned (dev sentinel, version -1), no RID is
27
+ * minted, and re-running with the same name overwrites the definition so you can iterate freely.
28
+ * This path is dev-only — promoting a type to a real, versioned schema is done separately via an
29
+ * asset deploy, not this command.
30
+ *
31
+ * When you call create for this new doc-type, a RID is minted in the resolved ontology.
32
+ */
15
33
  export declare function irDeployHandler(options: DeployOptions): Promise<void>;
16
34
  export {};
17
35
  //# sourceMappingURL=irDeployHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"irDeployHandler.d.ts","sourceRoot":"","sources":["../../../../src/commands/ir/irDeployHandler.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAGV,cAAc,EACf,MAAM,oBAAoB,CAAC;AAU5B,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC;IACzC,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,wCAAwC;IACxC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,wCAAwC;IACxC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,2EAA2E;IAC3E,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CA+B3E"}
1
+ {"version":3,"file":"irDeployHandler.d.ts","sourceRoot":"","sources":["../../../../src/commands/ir/irDeployHandler.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAA6B,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAWpF,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC;IACzC,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,wCAAwC;IACxC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,6HAA6H;IAC7H,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,iJAAiJ;IACjJ,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,eAAe,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CA8B3E"}
@@ -4,6 +4,7 @@ interface IrGenAssetOptions {
4
4
  readonly output: string;
5
5
  readonly fileSystemType?: FileSystemType;
6
6
  readonly compatibilityRangeOutput?: string;
7
+ readonly forceOverwrite?: boolean;
7
8
  }
8
9
  /**
9
10
  * Generates a document type asset JSON file (and a sibling schema
@@ -23,6 +24,10 @@ interface IrGenAssetOptions {
23
24
  * register the document type automatically at deploy time. Most users should
24
25
  * use `ir deploy` to register document types via the Foundry API instead.
25
26
  *
27
+ * `--force-overwrite` writes `forceOverwrite: true` onto the asset, telling the
28
+ * platform to skip incremental schema validation when it picks the asset up. It
29
+ * is a transient processing directive, not persisted with the document type.
30
+ *
26
31
  * If you are unsure whether you need this command, you almost certainly do not.
27
32
  */
28
33
  export declare function irGenAssetHandler(options: IrGenAssetOptions): void;
@@ -1 +1 @@
1
- {"version":3,"file":"irGenAssetHandler.d.ts","sourceRoot":"","sources":["../../../../src/commands/ir/irGenAssetHandler.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAqB,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAS5E,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC;IACzC,QAAQ,CAAC,wBAAwB,CAAC,EAAE,MAAM,CAAC;CAC5C;AAYD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAmFlE"}
1
+ {"version":3,"file":"irGenAssetHandler.d.ts","sourceRoot":"","sources":["../../../../src/commands/ir/irGenAssetHandler.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAqB,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAS5E,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC;IACzC,QAAQ,CAAC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;CACnC;AAYD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CA6FlE"}
@@ -1 +1 @@
1
- {"version":3,"file":"registerIrCommands.d.ts","sourceRoot":"","sources":["../../../../src/commands/ir/registerIrCommands.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQzC,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAsHzD"}
1
+ {"version":3,"file":"registerIrCommands.d.ts","sourceRoot":"","sources":["../../../../src/commands/ir/registerIrCommands.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQzC,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAgIzD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=convertIrToConjureSchema.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertIrToConjureSchema.test.d.ts","sourceRoot":"","sources":["../../../../../src/utils/ir/__tests__/convertIrToConjureSchema.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
1
+ import type { IRealTimeDocumentSchema } from "../../lib/pack-docschema-api/pack-docschema-ir/index.js";
2
+ /**
3
+ * The first-party API's Conjure `DocumentTypeSchema` wire shape. We don't depend on the generated
4
+ * Conjure client (it lives in an internal registry this public package can't use), so this is the
5
+ * structural shape the publish endpoint expects; nested payloads are left as `unknown`.
6
+ */
7
+ export interface ConjureDocumentTypeSchema {
8
+ readonly primaryModelKeys: readonly string[];
9
+ readonly models: Record<string, unknown>;
10
+ }
11
+ /**
12
+ * Converts the IR schema to the first-party API's Conjure wire format.
13
+ *
14
+ * Conjure nests a union's payload under a key matching the discriminant
15
+ * (`{ type: "record", record: { ... } }`) — which is how the IR is already shaped, so this is
16
+ * mostly a pass-through. The one real difference: Conjure models a collection's element type as
17
+ * `FieldValueType { valueType }`, while the IR carries the value union directly, so those get wrapped.
18
+ *
19
+ * Do NOT use {@link convertIrToWireSchema} for the first-party publish path: that flattens unions
20
+ * into the OSDK shape (`{ type: "record", key, name, ... }`), which the Conjure endpoint rejects.
21
+ *
22
+ * TODO(follow-up): this parallels {@link convertIrToWireSchema}'s tree walk. Longer term the IR
23
+ * generator could emit the Conjure shape directly, letting this converter be removed.
24
+ */
25
+ export declare function convertIrToConjureSchema(ir: IRealTimeDocumentSchema): ConjureDocumentTypeSchema;
26
+ //# sourceMappingURL=convertIrToConjureSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertIrToConjureSchema.d.ts","sourceRoot":"","sources":["../../../../src/utils/ir/convertIrToConjureSchema.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAKV,uBAAuB,EACxB,MAAM,yDAAyD,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC1C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,uBAAuB,GAAG,yBAAyB,CAM/F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@palantir/pack.document-schema.type-gen",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "TypeScript type generation from document schema",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@osdk/client": "^2.5.2",
21
- "@osdk/foundry.pack": "^2.72.0",
21
+ "@osdk/foundry.pack": "^2.74.0",
22
22
  "commander": "^14.0.0",
23
23
  "conjure-client": "^2.15.0",
24
24
  "consola": "^3.4.2",
@@ -27,8 +27,8 @@
27
27
  "tiny-invariant": "^1.3.3",
28
28
  "yaml": "^2.8.2",
29
29
  "zod": "^4.1.13",
30
- "@palantir/pack.document-schema.model-types": "~0.24.0",
31
- "@palantir/pack.schema": "0.24.0"
30
+ "@palantir/pack.document-schema.model-types": "~0.26.0",
31
+ "@palantir/pack.schema": "0.26.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/fs-extra": "^11.0.4",