@workos/oagen 0.24.3 → 0.24.5
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/index.mjs +60 -11
- package/dist/cli/index.mjs.map +1 -1
- package/dist/compat/index.d.mts +2 -2
- package/dist/compat/index.mjs +2 -2
- package/dist/{diff-B5B0ie7S.mjs → diff-DPnw1wPB.mjs} +3 -2
- package/dist/{diff-B5B0ie7S.mjs.map → diff-DPnw1wPB.mjs.map} +1 -1
- package/dist/{differ-DMmw0tbA.d.mts → differ-HVvbbyUV.d.mts} +2 -2
- package/dist/{differ-DMmw0tbA.d.mts.map → differ-HVvbbyUV.d.mts.map} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +40 -14
- package/dist/index.mjs.map +1 -1
- package/dist/{overlay-sQHQoN0I.mjs → overlay-DcvsIx5P.mjs} +2 -2
- package/dist/{overlay-sQHQoN0I.mjs.map → overlay-DcvsIx5P.mjs.map} +1 -1
- package/dist/scripts/smoke/baseline.mjs +37 -11
- package/dist/scripts/smoke/baseline.mjs.map +1 -1
- package/dist/smoke.d.mts.map +1 -1
- package/dist/smoke.mjs +37 -11
- package/dist/smoke.mjs.map +1 -1
- package/dist/{tree-sitter-DcUvm0KA.mjs → tree-sitter-C6HB4OrC.mjs} +34 -20
- package/dist/tree-sitter-C6HB4OrC.mjs.map +1 -0
- package/dist/{types-nM5Kp7UP.d.mts → types-owWZiSwD.d.mts} +16 -5
- package/dist/{types-nM5Kp7UP.d.mts.map → types-owWZiSwD.d.mts.map} +1 -1
- package/dist/verify/index.d.mts +2 -2
- package/dist/verify/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/tree-sitter-DcUvm0KA.mjs.map +0 -1
package/dist/compat/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { a as specDerivedEnumValues, c as specDerivedMethodPaths, d as ClassifiedChange, f as classifyAddedSymbol, i as filterSurface, l as specDerivedNames, m as summarizeChanges, n as diffSnapshots, o as specDerivedFieldPaths, p as classifySymbolChanges, r as diffSurfaces, s as specDerivedHttpKeys, t as CompatDiffResult, u as ClassificationResult } from "../differ-
|
|
1
|
+
import { $ as AdditiveChangeCategory, At as CompatSnapshot, Bt as ALL_LANGUAGE_IDS, Ct as MethodOverlay, Dt as ViolationSeverity, Et as ViolationCategory, Ft as CompatTypeRef, Ht as getDefaultPolicy, It as CompatVisibility, Lt as LanguageId, Mt as CompatStability, Nt as CompatSymbol, Ot as CompatParameter, Pt as CompatSymbolKind, Rt as ParameterSensitivity, St as LanguageHints, Tt as Violation, Ut as mergePolicy, Vt as CompatPolicyHints, _t as ApiProperty, at as CompatFailLevel, bt as DiffResult, ct as defaultSeverityForCategory, dt as ApiClass, et as BreakingChangeCategory, ft as ApiEnum, gt as ApiParam, ht as ApiMethod, it as CompatConfig, jt as CompatSourceKind, kt as CompatPassingStyle, lt as severityMeetsThreshold, mt as ApiInterface, nt as CompatChangeCategory, ot as CompatProvenance, pt as ApiField, rt as CompatChangeSeverity, st as SoftRiskChangeCategory, t as ApiSpec, tt as CompatApproval, ut as Addition, vt as ApiSurface, wt as OverlayLookup, xt as Extractor, yt as ApiTypeAlias, zt as apiSurfaceToSnapshot } from "../types-owWZiSwD.mjs";
|
|
2
|
+
import { a as specDerivedEnumValues, c as specDerivedMethodPaths, d as ClassifiedChange, f as classifyAddedSymbol, i as filterSurface, l as specDerivedNames, m as summarizeChanges, n as diffSnapshots, o as specDerivedFieldPaths, p as classifySymbolChanges, r as diffSurfaces, s as specDerivedHttpKeys, t as CompatDiffResult, u as ClassificationResult } from "../differ-HVvbbyUV.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/schema.d.ts
|
|
5
5
|
/** Current schema version for compatibility snapshots. */
|
package/dist/compat/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as safeParse$1, v as ExtractorError } from "../tree-sitter-
|
|
2
|
-
import { A as getDefaultPolicy, C as defaultSeverityForCategory, D as isCompatibleSchemaVersion, E as COMPAT_SCHEMA_VERSION, O as validateSnapshot, S as summarizeChanges, T as apiSurfaceToSnapshot, _ as nodeHints, a as registerExtractor, b as classifyAddedSymbol, c as filterSurface, d as specDerivedHttpKeys, f as specDerivedMethodPaths, g as namedTypeWordsOverlap, h as defaultIsNullableOnlyDifference, i as getExtractor, j as mergePolicy, k as ALL_LANGUAGE_IDS, l as specDerivedEnumValues, m as NAMED_TYPE_RE, n as isPatchableChange, o as diffSnapshots, p as specDerivedNames, r as patchOverlay, s as diffSurfaces, t as buildOverlayLookup, u as specDerivedFieldPaths, v as resolveHints, w as severityMeetsThreshold, x as classifySymbolChanges, y as typeExistsInSurface } from "../overlay-
|
|
1
|
+
import { t as safeParse$1, v as ExtractorError } from "../tree-sitter-C6HB4OrC.mjs";
|
|
2
|
+
import { A as getDefaultPolicy, C as defaultSeverityForCategory, D as isCompatibleSchemaVersion, E as COMPAT_SCHEMA_VERSION, O as validateSnapshot, S as summarizeChanges, T as apiSurfaceToSnapshot, _ as nodeHints, a as registerExtractor, b as classifyAddedSymbol, c as filterSurface, d as specDerivedHttpKeys, f as specDerivedMethodPaths, g as namedTypeWordsOverlap, h as defaultIsNullableOnlyDifference, i as getExtractor, j as mergePolicy, k as ALL_LANGUAGE_IDS, l as specDerivedEnumValues, m as NAMED_TYPE_RE, n as isPatchableChange, o as diffSnapshots, p as specDerivedNames, r as patchOverlay, s as diffSurfaces, t as buildOverlayLookup, u as specDerivedFieldPaths, v as resolveHints, w as severityMeetsThreshold, x as classifySymbolChanges, y as typeExistsInSurface } from "../overlay-DcvsIx5P.mjs";
|
|
3
3
|
import path, { basename, dirname, join, relative, resolve } from "node:path";
|
|
4
4
|
import Parser from "tree-sitter";
|
|
5
5
|
import ts from "typescript";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as validateModelHints, C as assertNever, f as toSnakeCase, i as normalizeJsExtension, j as walkTypeRef, t as safeParse, x as RegistryError } from "./tree-sitter-C6HB4OrC.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";
|
|
@@ -3600,6 +3600,7 @@ async function removeEmptyParents(startDir, stopDir) {
|
|
|
3600
3600
|
//#endregion
|
|
3601
3601
|
//#region src/engine/orchestrator.ts
|
|
3602
3602
|
async function generate(spec, emitter, options) {
|
|
3603
|
+
if (options.modelHints) validateModelHints(spec.models, spec.services, options.modelHints);
|
|
3603
3604
|
const scopedServices = options.services && options.services.length > 0 ? resolveScopedServices(spec, options.services, options.mountRules) : void 0;
|
|
3604
3605
|
const scoped = scopedServices !== void 0;
|
|
3605
3606
|
const noPrune = options.noPrune === true || scoped;
|
|
@@ -4158,4 +4159,4 @@ function summarize(changes) {
|
|
|
4158
4159
|
//#endregion
|
|
4159
4160
|
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 };
|
|
4160
4161
|
|
|
4161
|
-
//# sourceMappingURL=diff-
|
|
4162
|
+
//# sourceMappingURL=diff-DPnw1wPB.mjs.map
|