@atscript/core 0.1.2 → 0.1.3

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/index.cjs CHANGED
@@ -3354,6 +3354,13 @@ const expectAnnotations = {
3354
3354
  })
3355
3355
  };
3356
3356
 
3357
+ //#endregion
3358
+ //#region packages/core/src/defaults/emit-annotations.ts
3359
+ const emitAnnotations = { jsonSchema: new AnnotationSpec({
3360
+ nodeType: ["interface"],
3361
+ description: "Pre-compute and embed JSON Schema at build time for this interface, regardless of the global jsonSchema plugin option."
3362
+ }) };
3363
+
3357
3364
  //#endregion
3358
3365
  //#region packages/core/src/default-atscript-config.ts
3359
3366
  function getDefaultAtscriptConfig() {
@@ -3361,7 +3368,8 @@ function getDefaultAtscriptConfig() {
3361
3368
  primitives,
3362
3369
  annotations: {
3363
3370
  meta: { ...metaAnnotations },
3364
- expect: { ...expectAnnotations }
3371
+ expect: { ...expectAnnotations },
3372
+ emit: { ...emitAnnotations }
3365
3373
  }
3366
3374
  };
3367
3375
  return defaulTAtscriptConfig;
package/dist/index.mjs CHANGED
@@ -3330,6 +3330,13 @@ const expectAnnotations = {
3330
3330
  })
3331
3331
  };
3332
3332
 
3333
+ //#endregion
3334
+ //#region packages/core/src/defaults/emit-annotations.ts
3335
+ const emitAnnotations = { jsonSchema: new AnnotationSpec({
3336
+ nodeType: ["interface"],
3337
+ description: "Pre-compute and embed JSON Schema at build time for this interface, regardless of the global jsonSchema plugin option."
3338
+ }) };
3339
+
3333
3340
  //#endregion
3334
3341
  //#region packages/core/src/default-atscript-config.ts
3335
3342
  function getDefaultAtscriptConfig() {
@@ -3337,7 +3344,8 @@ function getDefaultAtscriptConfig() {
3337
3344
  primitives,
3338
3345
  annotations: {
3339
3346
  meta: { ...metaAnnotations },
3340
- expect: { ...expectAnnotations }
3347
+ expect: { ...expectAnnotations },
3348
+ emit: { ...emitAnnotations }
3341
3349
  }
3342
3350
  };
3343
3351
  return defaulTAtscriptConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/core",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Core library for Atscript parsing and file generation.",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",