Skip to content

Commit aafb0e3

Browse files
committed
chore: update to latest ZenStack
1 parent 3627ee4 commit aafb0e3

File tree

3 files changed

+131
-131
lines changed

3 files changed

+131
-131
lines changed

lib/hooks/__model_meta.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ const metadata = {
1313
name: "id",
1414
type: "String",
1515
isId: true,
16-
attributes: [{ "name": "@default", "args": [] }],
16+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
1717
}, createdAt: {
1818
name: "createdAt",
1919
type: "DateTime",
20-
attributes: [{ "name": "@default", "args": [] }],
20+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
2121
}, updatedAt: {
2222
name: "updatedAt",
2323
type: "DateTime",
@@ -33,7 +33,7 @@ const metadata = {
3333
}, ownerId: {
3434
name: "ownerId",
3535
type: "String",
36-
attributes: [{ "name": "@default", "args": [] }],
36+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
3737
defaultValueProvider: $default$Space$ownerId,
3838
isForeignKey: true,
3939
relationField: 'owner',
@@ -72,11 +72,11 @@ const metadata = {
7272
name: "id",
7373
type: "String",
7474
isId: true,
75-
attributes: [{ "name": "@default", "args": [] }],
75+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
7676
}, createdAt: {
7777
name: "createdAt",
7878
type: "DateTime",
79-
attributes: [{ "name": "@default", "args": [] }],
79+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
8080
}, updatedAt: {
8181
name: "updatedAt",
8282
type: "DateTime",
@@ -127,11 +127,11 @@ const metadata = {
127127
name: "id",
128128
type: "String",
129129
isId: true,
130-
attributes: [{ "name": "@default", "args": [] }],
130+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
131131
}, createdAt: {
132132
name: "createdAt",
133133
type: "DateTime",
134-
attributes: [{ "name": "@default", "args": [] }],
134+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
135135
}, updatedAt: {
136136
name: "updatedAt",
137137
type: "DateTime",
@@ -202,11 +202,11 @@ const metadata = {
202202
name: "id",
203203
type: "String",
204204
isId: true,
205-
attributes: [{ "name": "@default", "args": [] }],
205+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
206206
}, createdAt: {
207207
name: "createdAt",
208208
type: "DateTime",
209-
attributes: [{ "name": "@default", "args": [] }],
209+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
210210
}, updatedAt: {
211211
name: "updatedAt",
212212
type: "DateTime",
@@ -235,7 +235,7 @@ const metadata = {
235235
}, ownerId: {
236236
name: "ownerId",
237237
type: "String",
238-
attributes: [{ "name": "@default", "args": [] }],
238+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
239239
defaultValueProvider: $default$List$ownerId,
240240
isForeignKey: true,
241241
relationField: 'owner',
@@ -245,7 +245,7 @@ const metadata = {
245245
}, private: {
246246
name: "private",
247247
type: "Boolean",
248-
attributes: [{ "name": "@default", "args": [{ "value": false }] }],
248+
attributes: [{ "name": "@default", "args": [{ "name": "value", "value": false }] }],
249249
}, todos: {
250250
name: "todos",
251251
type: "Todo",
@@ -266,11 +266,11 @@ const metadata = {
266266
name: "id",
267267
type: "String",
268268
isId: true,
269-
attributes: [{ "name": "@default", "args": [] }],
269+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
270270
}, createdAt: {
271271
name: "createdAt",
272272
type: "DateTime",
273-
attributes: [{ "name": "@default", "args": [] }],
273+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
274274
}, updatedAt: {
275275
name: "updatedAt",
276276
type: "DateTime",
@@ -286,7 +286,7 @@ const metadata = {
286286
}, ownerId: {
287287
name: "ownerId",
288288
type: "String",
289-
attributes: [{ "name": "@default", "args": [] }],
289+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
290290
defaultValueProvider: $default$Todo$ownerId,
291291
isForeignKey: true,
292292
relationField: 'owner',
@@ -324,7 +324,7 @@ const metadata = {
324324
name: "id",
325325
type: "String",
326326
isId: true,
327-
attributes: [{ "name": "@default", "args": [] }],
327+
attributes: [{ "name": "@default", "args": [{ "name": "value" }] }],
328328
}, userId: {
329329
name: "userId",
330330
type: "String",

0 commit comments

Comments
 (0)