File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
packages/runtime/test/client-api Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -12,37 +12,46 @@ const schema = {
1212 } ,
1313 models : {
1414 Model : {
15+ name : 'Model' ,
1516 fields : {
1617 uuid : {
18+ name : 'uuid' ,
1719 type : 'String' ,
1820 id : true ,
1921 default : ExpressionUtils . call ( 'uuid' ) ,
2022 } ,
2123 uuid7 : {
24+ name : 'uuid7' ,
2225 type : 'String' ,
2326 default : ExpressionUtils . call ( 'uuid' , [ ExpressionUtils . literal ( 7 ) ] ) ,
2427 } ,
2528 cuid : {
29+ name : 'cuid' ,
2630 type : 'String' ,
2731 default : ExpressionUtils . call ( 'cuid' ) ,
2832 } ,
2933 cuid2 : {
34+ name : 'cuid2' ,
3035 type : 'String' ,
3136 default : ExpressionUtils . call ( 'cuid' , [ ExpressionUtils . literal ( 2 ) ] ) ,
3237 } ,
3338 nanoid : {
39+ name : 'nanoid' ,
3440 type : 'String' ,
3541 default : ExpressionUtils . call ( 'nanoid' ) ,
3642 } ,
3743 nanoid8 : {
44+ name : 'nanoid8' ,
3845 type : 'String' ,
3946 default : ExpressionUtils . call ( 'nanoid' , [ ExpressionUtils . literal ( 8 ) ] ) ,
4047 } ,
4148 ulid : {
49+ name : 'ulid' ,
4250 type : 'String' ,
4351 default : ExpressionUtils . call ( 'ulid' ) ,
4452 } ,
4553 dt : {
54+ name : 'dt' ,
4655 type : 'DateTime' ,
4756 default : ExpressionUtils . call ( 'now' ) ,
4857 } ,
You can’t perform that action at this time.
0 commit comments