@atscript/typescript 0.1.78 → 0.1.79

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.cjs CHANGED
@@ -1994,7 +1994,7 @@ else handle.prop(prop.id, propHandle.$type);
1994
1994
  this.writeln(`$(${name ? `"", ${name}` : ""})`).indent().writeln(`.refTo(${refExpr}${chain})`);
1995
1995
  if (!ref.hasChain) {
1996
1996
  if (ownerDecl?.node) {
1997
- const typeAnnotations = ownerDecl.doc.evalAnnotationsForNode(ownerDecl.node);
1997
+ const typeAnnotations = ownerDecl.doc.filterPassedWhenReferred(ownerDecl.doc.evalAnnotationsForNode(ownerDecl.node));
1998
1998
  typeAnnotations?.forEach((an) => {
1999
1999
  this.resolveAnnotationValue(ownerDecl.node, an);
2000
2000
  });
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_plugin = require('./plugin-Dpxtfrdy.cjs');
2
+ const require_plugin = require('./plugin-CZ5g5D9I.cjs');
3
3
  require('./json-schema-3mti4G4J.cjs');
4
4
 
5
5
  exports.default = require_plugin.tsPlugin
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { tsPlugin } from "./plugin-MGtqc_Ev.mjs";
1
+ import { tsPlugin } from "./plugin-CYzZm3rk.mjs";
2
2
  import "./json-schema-B64qclVa.mjs";
3
3
 
4
4
  export { tsPlugin as default, tsPlugin };
@@ -1129,7 +1129,7 @@ else handle.prop(prop.id, propHandle.$type);
1129
1129
  this.writeln(`$(${name ? `"", ${name}` : ""})`).indent().writeln(`.refTo(${refExpr}${chain})`);
1130
1130
  if (!ref.hasChain) {
1131
1131
  if (ownerDecl?.node) {
1132
- const typeAnnotations = ownerDecl.doc.evalAnnotationsForNode(ownerDecl.node);
1132
+ const typeAnnotations = ownerDecl.doc.filterPassedWhenReferred(ownerDecl.doc.evalAnnotationsForNode(ownerDecl.node));
1133
1133
  typeAnnotations?.forEach((an) => {
1134
1134
  this.resolveAnnotationValue(ownerDecl.node, an);
1135
1135
  });
@@ -1153,7 +1153,7 @@ else handle.prop(prop.id, propHandle.$type);
1153
1153
  this.writeln(`$(${name ? `"", ${name}` : ""})`).indent().writeln(`.refTo(${refExpr}${chain})`);
1154
1154
  if (!ref.hasChain) {
1155
1155
  if (ownerDecl?.node) {
1156
- const typeAnnotations = ownerDecl.doc.evalAnnotationsForNode(ownerDecl.node);
1156
+ const typeAnnotations = ownerDecl.doc.filterPassedWhenReferred(ownerDecl.doc.evalAnnotationsForNode(ownerDecl.node));
1157
1157
  typeAnnotations?.forEach((an) => {
1158
1158
  this.resolveAnnotationValue(ownerDecl.node, an);
1159
1159
  });
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_plugin = require('./plugin-Dpxtfrdy.cjs');
2
+ const require_plugin = require('./plugin-CZ5g5D9I.cjs');
3
3
  require('./json-schema-3mti4G4J.cjs');
4
4
  const path = require_plugin.__toESM(require("path"));
5
5
  const __atscript_core = require_plugin.__toESM(require("@atscript/core"));
@@ -1,4 +1,4 @@
1
- import { tsPlugin } from "./plugin-MGtqc_Ev.mjs";
1
+ import { tsPlugin } from "./plugin-CYzZm3rk.mjs";
2
2
  import "./json-schema-B64qclVa.mjs";
3
3
  import path from "path";
4
4
  import { build } from "@atscript/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/typescript",
3
- "version": "0.1.78",
3
+ "version": "0.1.79",
4
4
  "description": "Atscript: typescript-gen support.",
5
5
  "keywords": [
6
6
  "annotations",
@@ -73,7 +73,7 @@
73
73
  },
74
74
  "peerDependencies": {
75
75
  "@atscript/db": "^0.1.97",
76
- "@atscript/core": "^0.1.78"
76
+ "@atscript/core": "^0.1.79"
77
77
  },
78
78
  "peerDependenciesMeta": {
79
79
  "@atscript/db": {