@things-factory/id-rule-base 4.0.35 → 4.0.39
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.
|
@@ -170,7 +170,7 @@ export class GristCodeInputPopup extends LitElement {
|
|
|
170
170
|
|
|
171
171
|
await client.mutate({
|
|
172
172
|
mutation: gql`
|
|
173
|
-
mutation updateIdRule($type: String!, $patch: IdRulePatch) {
|
|
173
|
+
mutation updateIdRule($type: String!, $patch: IdRulePatch!) {
|
|
174
174
|
updateIdRule(type: $type, patch: $patch) {
|
|
175
175
|
type
|
|
176
176
|
rule
|
|
@@ -32,7 +32,7 @@ let IdRuleQuery = class IdRuleQuery {
|
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
__decorate([
|
|
35
|
-
(0, type_graphql_1.Query)(returns => id_rule_1.IdRule),
|
|
35
|
+
(0, type_graphql_1.Query)(returns => id_rule_1.IdRule, { nullable: true }),
|
|
36
36
|
__param(0, (0, type_graphql_1.Arg)('type')),
|
|
37
37
|
__param(1, (0, type_graphql_1.Ctx)()),
|
|
38
38
|
__metadata("design:type", Function),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id-rule-query.js","sourceRoot":"","sources":["../../../server/service/id-rule/id-rule-query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA6E;AAC7E,qCAAuC;AAEvC,iDAA8C;AAE9C,uCAAkC;AAGlC,IAAa,WAAW,GAAxB,MAAa,WAAW;IAEtB,KAAK,CAAC,MAAM,CAAc,IAAY,EAAS,OAAY;QACzD,MAAM,IAAI,GAAG,MAAM,IAAA,uBAAa,EAAC,gBAAM,CAAC,CAAC,OAAO,CAAC;YAC/C,KAAK,EAAE;gBACL,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM;gBAC5B,IAAI;aACL;SACF,CAAC,CAAA;QAEF,OAAO,IAAI,CAAA;IACb,CAAC;IAGD,KAAK,CAAC,MAAM,CAAS,MAA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vB;AAjBY,kCAAW"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/id-rule-base",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.39",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/grist-ui": "^4.0.
|
|
28
|
-
"@things-factory/i18n-base": "^4.0.
|
|
29
|
-
"@things-factory/setting-base": "^4.0.
|
|
30
|
-
"@things-factory/shell": "^4.0.
|
|
27
|
+
"@things-factory/grist-ui": "^4.0.39",
|
|
28
|
+
"@things-factory/i18n-base": "^4.0.39",
|
|
29
|
+
"@things-factory/setting-base": "^4.0.39",
|
|
30
|
+
"@things-factory/shell": "^4.0.39",
|
|
31
31
|
"codemirror": "^5.59.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/codemirror": "^0.0.105"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "a4f93ea85a26cf70ae0aa2fcd298aa59b55dd039"
|
|
37
37
|
}
|
|
@@ -7,7 +7,7 @@ import { IdRule } from './id-rule'
|
|
|
7
7
|
|
|
8
8
|
@Resolver(IdRule)
|
|
9
9
|
export class IdRuleQuery {
|
|
10
|
-
@Query(returns => IdRule)
|
|
10
|
+
@Query(returns => IdRule, { nullable: true })
|
|
11
11
|
async idRule(@Arg('type') type: string, @Ctx() context: any): Promise<IdRule> {
|
|
12
12
|
const rule = await getRepository(IdRule).findOne({
|
|
13
13
|
where: {
|