@grantjs/schema 1.2.0 → 1.3.1
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 +7 -7
- package/src/generated/resolvers.ts +10 -0
- package/src/generated/schema-types.ts +10 -0
- package/src/schema/groups/types/group-searchable-field.graphql +1 -0
- package/src/schema/projects/inputs/sync-project-cdm.graphql +10 -0
- package/src/schema/roles/types/role-searchable-field.graphql +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grantjs/schema",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "GraphQL schema and generated types for Grant",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"@graphql-typed-document-node/core": "^3.2.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@graphql-codegen/cli": "^7.
|
|
17
|
-
"@graphql-codegen/client-preset": "^6.0.
|
|
18
|
-
"@graphql-codegen/typescript": "^6.0.
|
|
19
|
-
"@graphql-codegen/typescript-resolvers": "^6.0.
|
|
16
|
+
"@graphql-codegen/cli": "^7.1.2",
|
|
17
|
+
"@graphql-codegen/client-preset": "^6.0.1",
|
|
18
|
+
"@graphql-codegen/typescript": "^6.0.2",
|
|
19
|
+
"@graphql-codegen/typescript-resolvers": "^6.0.2",
|
|
20
20
|
"@parcel/watcher": "^2.5.4",
|
|
21
|
-
"@types/node": "^25.
|
|
22
|
-
"eslint": "^10.
|
|
21
|
+
"@types/node": "^25.9.3",
|
|
22
|
+
"eslint": "^10.5.0",
|
|
23
23
|
"typescript": "^6"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
@@ -752,6 +752,11 @@ export type GroupCdmInput = {
|
|
|
752
752
|
name: Scalars['String']['input'];
|
|
753
753
|
permissions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
754
754
|
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
755
|
+
/**
|
|
756
|
+
* Denormalized search tokens for list views (email, legacy ids, etc.).
|
|
757
|
+
* Also persisted under metadata.cdmSource.searchable on import.
|
|
758
|
+
*/
|
|
759
|
+
searchable?: InputMaybe<Scalars['JSON']['input']>;
|
|
755
760
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
756
761
|
};
|
|
757
762
|
|
|
@@ -785,6 +790,7 @@ export type GroupPermissionPermissionArgs = {
|
|
|
785
790
|
export enum GroupSearchableField {
|
|
786
791
|
Description = 'description',
|
|
787
792
|
Name = 'name',
|
|
793
|
+
SearchDocument = 'searchDocument',
|
|
788
794
|
}
|
|
789
795
|
|
|
790
796
|
export type GroupSortInput = {
|
|
@@ -2711,6 +2717,7 @@ export type RoleCdmInput = {
|
|
|
2711
2717
|
*/
|
|
2712
2718
|
permissions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2713
2719
|
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
2720
|
+
searchable?: InputMaybe<Scalars['JSON']['input']>;
|
|
2714
2721
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2715
2722
|
};
|
|
2716
2723
|
|
|
@@ -2764,6 +2771,7 @@ export type RolePermissionRoleArgs = {
|
|
|
2764
2771
|
export enum RoleSearchableField {
|
|
2765
2772
|
Description = 'description',
|
|
2766
2773
|
Name = 'name',
|
|
2774
|
+
SearchDocument = 'searchDocument',
|
|
2767
2775
|
}
|
|
2768
2776
|
|
|
2769
2777
|
export type RoleSortInput = {
|
|
@@ -3272,6 +3280,8 @@ export type UserCdmInput = {
|
|
|
3272
3280
|
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
3273
3281
|
/** Role template keys from the `roles` section. */
|
|
3274
3282
|
roles?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3283
|
+
/** Denormalized search tokens for project-scoped user list views. */
|
|
3284
|
+
searchable?: InputMaybe<Scalars['JSON']['input']>;
|
|
3275
3285
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3276
3286
|
};
|
|
3277
3287
|
|
|
@@ -750,6 +750,11 @@ export type GroupCdmInput = {
|
|
|
750
750
|
name: Scalars['String']['input'];
|
|
751
751
|
permissions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
752
752
|
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
753
|
+
/**
|
|
754
|
+
* Denormalized search tokens for list views (email, legacy ids, etc.).
|
|
755
|
+
* Also persisted under metadata.cdmSource.searchable on import.
|
|
756
|
+
*/
|
|
757
|
+
searchable?: InputMaybe<Scalars['JSON']['input']>;
|
|
753
758
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
754
759
|
};
|
|
755
760
|
|
|
@@ -783,6 +788,7 @@ export type GroupPermissionPermissionArgs = {
|
|
|
783
788
|
export enum GroupSearchableField {
|
|
784
789
|
Description = 'description',
|
|
785
790
|
Name = 'name',
|
|
791
|
+
SearchDocument = 'searchDocument',
|
|
786
792
|
}
|
|
787
793
|
|
|
788
794
|
export type GroupSortInput = {
|
|
@@ -2709,6 +2715,7 @@ export type RoleCdmInput = {
|
|
|
2709
2715
|
*/
|
|
2710
2716
|
permissions?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2711
2717
|
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
2718
|
+
searchable?: InputMaybe<Scalars['JSON']['input']>;
|
|
2712
2719
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2713
2720
|
};
|
|
2714
2721
|
|
|
@@ -2762,6 +2769,7 @@ export type RolePermissionRoleArgs = {
|
|
|
2762
2769
|
export enum RoleSearchableField {
|
|
2763
2770
|
Description = 'description',
|
|
2764
2771
|
Name = 'name',
|
|
2772
|
+
SearchDocument = 'searchDocument',
|
|
2765
2773
|
}
|
|
2766
2774
|
|
|
2767
2775
|
export type RoleSortInput = {
|
|
@@ -3270,6 +3278,8 @@ export type UserCdmInput = {
|
|
|
3270
3278
|
primaryTag?: InputMaybe<Scalars['String']['input']>;
|
|
3271
3279
|
/** Role template keys from the `roles` section. */
|
|
3272
3280
|
roles?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3281
|
+
/** Denormalized search tokens for project-scoped user list views. */
|
|
3282
|
+
searchable?: InputMaybe<Scalars['JSON']['input']>;
|
|
3273
3283
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3274
3284
|
};
|
|
3275
3285
|
|
|
@@ -79,6 +79,11 @@ input GroupCdmInput {
|
|
|
79
79
|
permissions: [String!]
|
|
80
80
|
tags: [String!]
|
|
81
81
|
primaryTag: String
|
|
82
|
+
"""
|
|
83
|
+
Denormalized search tokens for list views (email, legacy ids, etc.).
|
|
84
|
+
Also persisted under metadata.cdmSource.searchable on import.
|
|
85
|
+
"""
|
|
86
|
+
searchable: JSON
|
|
82
87
|
metadata: JSON
|
|
83
88
|
}
|
|
84
89
|
|
|
@@ -98,6 +103,7 @@ input RoleCdmInput {
|
|
|
98
103
|
permissions: [String!]
|
|
99
104
|
tags: [String!]
|
|
100
105
|
primaryTag: String
|
|
106
|
+
searchable: JSON
|
|
101
107
|
metadata: JSON
|
|
102
108
|
}
|
|
103
109
|
|
|
@@ -129,6 +135,10 @@ input UserCdmInput {
|
|
|
129
135
|
tags: [String!]
|
|
130
136
|
primaryTag: String
|
|
131
137
|
apiKeys: [UserApiKeyCdmInput!]
|
|
138
|
+
"""
|
|
139
|
+
Denormalized search tokens for project-scoped user list views.
|
|
140
|
+
"""
|
|
141
|
+
searchable: JSON
|
|
132
142
|
metadata: JSON
|
|
133
143
|
}
|
|
134
144
|
|