@things-factory/operato-tools 7.0.1-beta.14 → 7.0.1-beta.18
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-tools",
|
|
3
|
-
"version": "7.0.1-beta.
|
|
3
|
+
"version": "7.0.1-beta.18",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@things-factory/operato-license-checker": "^4.0.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@things-factory/builder": "^7.0.1-beta.
|
|
44
|
-
"@things-factory/meta-ui": "^7.0.1-beta.
|
|
43
|
+
"@things-factory/builder": "^7.0.1-beta.18",
|
|
44
|
+
"@things-factory/meta-ui": "^7.0.1-beta.18"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "44f0df6a133577bad8d184a529796c69249a8296"
|
|
47
47
|
}
|
|
@@ -584,7 +584,7 @@ export class {{pascalCase name}}Query {
|
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
@Query(returns => {{pascalCase name}}List, { description: 'To fetch multiple {{pluralPascalCase name}}' })
|
|
587
|
-
async {{pluralCamelCase name}}(@Args() params: ListParam, @Ctx() context: any): Promise<{{pascalCase name}}List> {
|
|
587
|
+
async {{pluralCamelCase name}}(@Args(type => ListParam) params: ListParam, @Ctx() context: any): Promise<{{pascalCase name}}List> {
|
|
588
588
|
const { domain } = context.state
|
|
589
589
|
|
|
590
590
|
const queryBuilder = getQueryBuilderFromListParams({
|
|
@@ -634,7 +634,7 @@ export class {{pascalCase name}}HistoryQuery {
|
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
@Query(returns => {{pascalCase name}}HistoryList, { description: 'To fetch multiple {{pluralPascalCase name}}History' })
|
|
637
|
-
async {{camelCase name}}Histories(@Args() params: ListParam, @Ctx() context: any): Promise<{{pascalCase name}}HistoryList> {
|
|
637
|
+
async {{camelCase name}}Histories(@Args(type => ListParam) params: ListParam, @Ctx() context: any): Promise<{{pascalCase name}}HistoryList> {
|
|
638
638
|
const { domain } = context.state
|
|
639
639
|
|
|
640
640
|
const queryBuilder = getQueryBuilderFromListParams({
|
|
@@ -882,7 +882,7 @@ export class {{pascalCase name}} {
|
|
|
882
882
|
createForeignKeyConstraints: false,
|
|
883
883
|
nullable: true
|
|
884
884
|
})
|
|
885
|
-
@Field({ nullable: true })
|
|
885
|
+
@Field(type => User, { nullable: true })
|
|
886
886
|
creator?: User
|
|
887
887
|
|
|
888
888
|
@RelationId(({{camelCase name}}: {{pascalCase name}}) => {{camelCase name}}.creator)
|
|
@@ -892,7 +892,7 @@ export class {{pascalCase name}} {
|
|
|
892
892
|
createForeignKeyConstraints: false,
|
|
893
893
|
nullable: true
|
|
894
894
|
})
|
|
895
|
-
@Field({ nullable: true })
|
|
895
|
+
@Field(type => User, { nullable: true })
|
|
896
896
|
updater?: User
|
|
897
897
|
|
|
898
898
|
@RelationId(({{camelCase name}}: {{pascalCase name}}) => {{camelCase name}}.updater)
|
|
@@ -988,7 +988,7 @@ export class {{pascalCase name}}History implements HistoryEntityInterface<{{pas
|
|
|
988
988
|
createForeignKeyConstraints: false,
|
|
989
989
|
nullable: true
|
|
990
990
|
})
|
|
991
|
-
@Field({ nullable: true })
|
|
991
|
+
@Field(type => User, { nullable: true })
|
|
992
992
|
creator?: User
|
|
993
993
|
|
|
994
994
|
@RelationId(({{camelCase name}}History: {{pascalCase name}}History) => {{camelCase name}}History.creator)
|
|
@@ -998,7 +998,7 @@ export class {{pascalCase name}}History implements HistoryEntityInterface<{{pas
|
|
|
998
998
|
createForeignKeyConstraints: false,
|
|
999
999
|
nullable: true
|
|
1000
1000
|
})
|
|
1001
|
-
@Field({ nullable: true })
|
|
1001
|
+
@Field(type => User, { nullable: true })
|
|
1002
1002
|
updater?: User
|
|
1003
1003
|
|
|
1004
1004
|
@RelationId(({{camelCase name}}History: {{pascalCase name}}History) => {{camelCase name}}History.updater)
|
|
@@ -1096,7 +1096,7 @@ export class {{pascalCase name}}History implements HistoryEntityInterface<{{pas
|
|
|
1096
1096
|
createForeignKeyConstraints: false,
|
|
1097
1097
|
nullable: true
|
|
1098
1098
|
})
|
|
1099
|
-
@Field({ nullable: true })
|
|
1099
|
+
@Field(type => User, { nullable: true })
|
|
1100
1100
|
creator?: User
|
|
1101
1101
|
|
|
1102
1102
|
@RelationId(({{camelCase name}}History: {{pascalCase name}}History) => {{camelCase name}}History.creator)
|
|
@@ -1106,7 +1106,7 @@ export class {{pascalCase name}}History implements HistoryEntityInterface<{{pas
|
|
|
1106
1106
|
createForeignKeyConstraints: false,
|
|
1107
1107
|
nullable: true
|
|
1108
1108
|
})
|
|
1109
|
-
@Field({ nullable: true })
|
|
1109
|
+
@Field(type => User, { nullable: true })
|
|
1110
1110
|
updater?: User
|
|
1111
1111
|
|
|
1112
1112
|
@RelationId(({{camelCase name}}History: {{pascalCase name}}History) => {{camelCase name}}History.updater)
|