@atomic-ehr/codegen 0.0.1-canary.20251007214454.7cafa75 → 0.0.1-canary.20251008121245.8324bc2
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.js +23 -22
- package/dist/index.d.ts +7 -6
- package/dist/index.js +261 -295
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -256,12 +256,6 @@ interface BindingTypeSchema {
|
|
|
256
256
|
dependencies?: Identifier[];
|
|
257
257
|
}
|
|
258
258
|
type Field = RegularField | ChoiceFieldDeclaration | ChoiceFieldInstance;
|
|
259
|
-
interface TypeschemaGeneratorOptions {
|
|
260
|
-
verbose?: boolean;
|
|
261
|
-
logger?: CodegenLogger;
|
|
262
|
-
treeshake?: string[];
|
|
263
|
-
manager?: ReturnType<typeof CanonicalManager> | null;
|
|
264
|
-
}
|
|
265
259
|
type TypeschemaParserOptions = {
|
|
266
260
|
format?: "auto" | "ndjson" | "json";
|
|
267
261
|
validate?: boolean;
|
|
@@ -301,6 +295,12 @@ type RichValueSet = Omit<ValueSet, "name" | "url"> & {
|
|
|
301
295
|
name?: Name;
|
|
302
296
|
url?: CanonicalUrl;
|
|
303
297
|
};
|
|
298
|
+
interface TypeschemaGeneratorOptions {
|
|
299
|
+
verbose?: boolean;
|
|
300
|
+
logger?: CodegenLogger;
|
|
301
|
+
treeshake?: string[];
|
|
302
|
+
manager?: ReturnType<typeof CanonicalManager> | null;
|
|
303
|
+
}
|
|
304
304
|
|
|
305
305
|
type Register = {
|
|
306
306
|
appendFs(fs: FHIRSchema): void;
|
|
@@ -308,6 +308,7 @@ type Register = {
|
|
|
308
308
|
resolveSd(canonicalUrl: CanonicalUrl): StructureDefinition | undefined;
|
|
309
309
|
resolveFs(canonicalUrl: CanonicalUrl): RichFHIRSchema | undefined;
|
|
310
310
|
resolveFsGenealogy(canonicalUrl: CanonicalUrl): RichFHIRSchema[];
|
|
311
|
+
resolveFsSpecializations(canonicalUrl: CanonicalUrl): RichFHIRSchema[];
|
|
311
312
|
allSd(): StructureDefinition[];
|
|
312
313
|
allFs(): RichFHIRSchema[];
|
|
313
314
|
allVs(): RichValueSet[];
|