@atscript/db-mysql 0.1.110 → 0.1.111

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/plugin.cjs CHANGED
@@ -31,6 +31,7 @@ const annotations = {
31
31
  charset: new _atscript_core.AnnotationSpec({
32
32
  description: "Specifies the character set for the table or column.\n\n**Default:** `\"utf8mb4\"`\n\n```atscript\n@db.mysql.charset \"latin1\"\nexport interface Legacy { ... }\n```",
33
33
  nodeType: ["interface", "prop"],
34
+ passedWhenReferred: false,
34
35
  multiple: false,
35
36
  argument: {
36
37
  name: "charset",
@@ -48,6 +49,7 @@ const annotations = {
48
49
  collate: new _atscript_core.AnnotationSpec({
49
50
  description: "Specifies a native MySQL collation (overrides portable `@db.column.collate`).\n\n```atscript\n@db.mysql.collate \"utf8mb4_turkish_ci\"\nname: string\n```",
50
51
  nodeType: ["interface", "prop"],
52
+ passedWhenReferred: false,
51
53
  multiple: false,
52
54
  argument: {
53
55
  name: "collation",
@@ -58,11 +60,13 @@ const annotations = {
58
60
  unsigned: new _atscript_core.AnnotationSpec({
59
61
  description: "Adds the UNSIGNED modifier to an integer column.\n\n```atscript\n@db.mysql.unsigned\nage: number.int\n```",
60
62
  nodeType: ["prop"],
63
+ passedWhenReferred: false,
61
64
  multiple: false
62
65
  }),
63
66
  type: new _atscript_core.AnnotationSpec({
64
67
  description: "Overrides the native MySQL column type.\n\n```atscript\n@db.mysql.type \"MEDIUMTEXT\"\nbio: string\n```",
65
68
  nodeType: ["prop"],
69
+ passedWhenReferred: false,
66
70
  multiple: false,
67
71
  argument: {
68
72
  name: "type",
@@ -73,6 +77,7 @@ const annotations = {
73
77
  onUpdate: new _atscript_core.AnnotationSpec({
74
78
  description: "Sets the MySQL ON UPDATE clause for a column.\n\n```atscript\n@db.mysql.onUpdate \"CURRENT_TIMESTAMP\"\nupdatedAt: number.timestamp\n```",
75
79
  nodeType: ["prop"],
80
+ passedWhenReferred: false,
76
81
  multiple: false,
77
82
  argument: {
78
83
  name: "expression",
package/dist/plugin.mjs CHANGED
@@ -30,6 +30,7 @@ const annotations = {
30
30
  charset: new AnnotationSpec({
31
31
  description: "Specifies the character set for the table or column.\n\n**Default:** `\"utf8mb4\"`\n\n```atscript\n@db.mysql.charset \"latin1\"\nexport interface Legacy { ... }\n```",
32
32
  nodeType: ["interface", "prop"],
33
+ passedWhenReferred: false,
33
34
  multiple: false,
34
35
  argument: {
35
36
  name: "charset",
@@ -47,6 +48,7 @@ const annotations = {
47
48
  collate: new AnnotationSpec({
48
49
  description: "Specifies a native MySQL collation (overrides portable `@db.column.collate`).\n\n```atscript\n@db.mysql.collate \"utf8mb4_turkish_ci\"\nname: string\n```",
49
50
  nodeType: ["interface", "prop"],
51
+ passedWhenReferred: false,
50
52
  multiple: false,
51
53
  argument: {
52
54
  name: "collation",
@@ -57,11 +59,13 @@ const annotations = {
57
59
  unsigned: new AnnotationSpec({
58
60
  description: "Adds the UNSIGNED modifier to an integer column.\n\n```atscript\n@db.mysql.unsigned\nage: number.int\n```",
59
61
  nodeType: ["prop"],
62
+ passedWhenReferred: false,
60
63
  multiple: false
61
64
  }),
62
65
  type: new AnnotationSpec({
63
66
  description: "Overrides the native MySQL column type.\n\n```atscript\n@db.mysql.type \"MEDIUMTEXT\"\nbio: string\n```",
64
67
  nodeType: ["prop"],
68
+ passedWhenReferred: false,
65
69
  multiple: false,
66
70
  argument: {
67
71
  name: "type",
@@ -72,6 +76,7 @@ const annotations = {
72
76
  onUpdate: new AnnotationSpec({
73
77
  description: "Sets the MySQL ON UPDATE clause for a column.\n\n```atscript\n@db.mysql.onUpdate \"CURRENT_TIMESTAMP\"\nupdatedAt: number.timestamp\n```",
74
78
  nodeType: ["prop"],
79
+ passedWhenReferred: false,
75
80
  multiple: false,
76
81
  argument: {
77
82
  name: "expression",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/db-mysql",
3
- "version": "0.1.110",
3
+ "version": "0.1.111",
4
4
  "description": "MySQL adapter for @atscript/db with mysql2 driver support.",
5
5
  "keywords": [
6
6
  "atscript",
@@ -41,19 +41,19 @@
41
41
  "access": "public"
42
42
  },
43
43
  "devDependencies": {
44
- "@atscript/core": "^0.1.78",
45
- "@atscript/typescript": "^0.1.78",
44
+ "@atscript/core": "^0.1.79",
45
+ "@atscript/typescript": "^0.1.79",
46
46
  "@uniqu/core": "^0.1.6",
47
47
  "mysql2": "^3.11.0",
48
- "unplugin-atscript": "^0.1.78"
48
+ "unplugin-atscript": "^0.1.79"
49
49
  },
50
50
  "peerDependencies": {
51
- "@atscript/core": "^0.1.78",
52
- "@atscript/typescript": "^0.1.78",
51
+ "@atscript/core": "^0.1.79",
52
+ "@atscript/typescript": "^0.1.79",
53
53
  "@uniqu/core": "^0.1.6",
54
54
  "mysql2": ">=3.0.0",
55
- "@atscript/db": "^0.1.110",
56
- "@atscript/db-sql-tools": "^0.1.110"
55
+ "@atscript/db": "^0.1.111",
56
+ "@atscript/db-sql-tools": "^0.1.111"
57
57
  },
58
58
  "peerDependenciesMeta": {
59
59
  "mysql2": {