@workos/oagen 0.11.0 → 0.13.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.
- package/README.md +5 -0
- package/dist/cli/index.mjs +131 -15
- package/dist/cli/index.mjs.map +1 -1
- package/dist/compat/index.d.mts +4 -2
- package/dist/compat/index.d.mts.map +1 -1
- package/dist/compat/index.mjs +6 -3
- package/dist/compat/index.mjs.map +1 -1
- package/dist/{diff-DZvzV9p3.mjs → diff-C38px0NK.mjs} +4 -3
- package/dist/diff-C38px0NK.mjs.map +1 -0
- package/dist/{differ-8emGtevH.d.mts → differ-fdF9qogA.d.mts} +9 -2
- package/dist/differ-fdF9qogA.d.mts.map +1 -0
- package/dist/index.d.mts +61 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{overlay-Dddz3Awz.mjs → overlay-xp7F8_dW.mjs} +85 -2
- package/dist/overlay-xp7F8_dW.mjs.map +1 -0
- package/dist/scripts/smoke/baseline.mjs +1 -1
- package/dist/scripts/smoke/baseline.mjs.map +1 -1
- package/dist/smoke.d.mts +24 -0
- package/dist/smoke.d.mts.map +1 -1
- package/dist/smoke.mjs +1 -1
- package/dist/smoke.mjs.map +1 -1
- package/dist/{tree-sitter-C53w_0WE.mjs → tree-sitter-DcUvm0KA.mjs} +23 -2
- package/dist/tree-sitter-DcUvm0KA.mjs.map +1 -0
- package/dist/{types-DpD1SBY_.d.mts → types-BL762XqW.d.mts} +7 -2
- package/dist/{types-DpD1SBY_.d.mts.map → types-BL762XqW.d.mts.map} +1 -1
- package/dist/verify/index.d.mts +2 -2
- package/dist/verify/index.mjs +3 -3
- package/docs/advanced/index.md +1 -0
- package/docs/advanced/transform-spec.md +124 -0
- package/docs/cli.md +13 -11
- package/docs/core/compatibility-policy.md +26 -0
- package/docs/core/compatibility.md +6 -0
- package/docs/index.md +1 -0
- package/package.json +1 -1
- package/dist/diff-DZvzV9p3.mjs.map +0 -1
- package/dist/differ-8emGtevH.d.mts.map +0 -1
- package/dist/overlay-Dddz3Awz.mjs.map +0 -1
- package/dist/tree-sitter-C53w_0WE.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as walkTypeRef, C as assertNever, f as toSnakeCase, i as normalizeJsExtension, t as safeParse, x as RegistryError } from "./tree-sitter-
|
|
1
|
+
import { A as walkTypeRef, C as assertNever, f as toSnakeCase, i as normalizeJsExtension, t as safeParse, x as RegistryError } from "./tree-sitter-DcUvm0KA.mjs";
|
|
2
2
|
import * as fs from "node:fs/promises";
|
|
3
3
|
import * as path$1 from "node:path";
|
|
4
4
|
import path from "node:path";
|
|
@@ -2097,7 +2097,7 @@ async function writeFiles(files, outputDir, options) {
|
|
|
2097
2097
|
continue;
|
|
2098
2098
|
}
|
|
2099
2099
|
if (file.skipIfExists) {
|
|
2100
|
-
if (header && !existingContent.startsWith(header)) await fs.writeFile(fullPath, header + "\n\n" + existingContent, "utf-8");
|
|
2100
|
+
if (header && !existingContent.startsWith(header) && !file.path.endsWith(".json")) await fs.writeFile(fullPath, header + "\n\n" + existingContent, "utf-8");
|
|
2101
2101
|
result.skipped.push(file.path);
|
|
2102
2102
|
continue;
|
|
2103
2103
|
}
|
|
@@ -2368,6 +2368,7 @@ function buildEmitterContext(spec, options) {
|
|
|
2368
2368
|
apiSurface: options.apiSurface,
|
|
2369
2369
|
overlayLookup: options.overlayLookup,
|
|
2370
2370
|
resolvedOperations: resolveOperations(spec, options.operationHints, options.mountRules),
|
|
2371
|
+
modelHints: options.modelHints,
|
|
2371
2372
|
targetDir: options.target,
|
|
2372
2373
|
priorTargetManifestPaths: options.priorTargetManifestPaths
|
|
2373
2374
|
};
|
|
@@ -3259,4 +3260,4 @@ function summarize(changes) {
|
|
|
3259
3260
|
//#endregion
|
|
3260
3261
|
export { MANIFEST_FILENAME as a, treeShakeFiles as c, collectReferencedNames as d, generateAllFiles as f, resolveOperations as h, generate as i, applyFileHeaders as l, deriveMethodName as m, getEmitter as n, integrateGeneratedFiles as o, generateFiles as p, registerEmitter as r, mapFilesForTargetIntegration as s, diffSpecs as t, buildEmitterContext as u };
|
|
3261
3262
|
|
|
3262
|
-
//# sourceMappingURL=diff-
|
|
3263
|
+
//# sourceMappingURL=diff-C38px0NK.mjs.map
|