@grantjs/schema 1.7.0 → 1.9.0
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 +1 -1
- package/src/generated/graphql.ts +1080 -30
- package/src/generated/resolvers.ts +185 -0
- package/src/generated/schema-types.ts +385 -1
- package/src/index.ts +9 -6
- package/src/operations/me/my-user-authentication-methods.graphql +1 -0
- package/src/operations/project-apps/clear-project-app-picture.graphql +7 -0
- package/src/operations/project-apps/get-project-apps.graphql +7 -0
- package/src/operations/project-apps/update-project-app.graphql +7 -0
- package/src/operations/project-apps/upload-project-app-picture.graphql +6 -0
- package/src/operations/projects/clear-project-picture.graphql +7 -0
- package/src/operations/projects/getProjects.graphql +3 -0
- package/src/operations/projects/updateProject.graphql +3 -0
- package/src/operations/projects/upload-project-picture.graphql +6 -0
- package/src/operations/uploads/confirm-my-project-membership-picture-upload.graphql +8 -0
- package/src/operations/uploads/confirm-my-user-picture-upload.graphql +6 -0
- package/src/operations/uploads/confirm-organization-picture-upload.graphql +6 -0
- package/src/operations/uploads/confirm-project-app-picture-upload.graphql +6 -0
- package/src/operations/uploads/confirm-project-picture-upload.graphql +6 -0
- package/src/operations/uploads/confirm-user-picture-upload.graphql +6 -0
- package/src/operations/uploads/request-my-project-membership-picture-upload-url.graphql +13 -0
- package/src/operations/uploads/request-my-user-picture-upload-url.graphql +11 -0
- package/src/operations/uploads/request-organization-picture-upload-url.graphql +11 -0
- package/src/operations/uploads/request-project-app-picture-upload-url.graphql +11 -0
- package/src/operations/uploads/request-project-picture-upload-url.graphql +11 -0
- package/src/operations/uploads/request-user-picture-upload-url.graphql +11 -0
- package/src/project-oauth.types.test.ts +18 -0
- package/src/project-oauth.types.ts +22 -0
- package/src/schema/me/inputs/change-my-password.graphql +4 -1
- package/src/schema/me/inputs/confirm-my-project-membership-picture-upload.graphql +4 -0
- package/src/schema/me/inputs/confirm-my-user-picture-upload.graphql +8 -0
- package/src/schema/me/inputs/request-my-project-membership-picture-upload-url.graphql +11 -0
- package/src/schema/me/inputs/request-my-user-picture-upload-url.graphql +11 -0
- package/src/schema/me/mutations/confirm-my-project-membership-picture-upload.graphql +10 -0
- package/src/schema/me/mutations/confirm-my-user-picture-upload.graphql +9 -0
- package/src/schema/me/mutations/request-my-project-membership-picture-upload-url.graphql +13 -0
- package/src/schema/me/mutations/request-my-user-picture-upload-url.graphql +12 -0
- package/src/schema/organizations/inputs/confirm-organization-picture-upload.graphql +9 -0
- package/src/schema/organizations/inputs/request-organization-picture-upload-url.graphql +12 -0
- package/src/schema/organizations/mutations/confirm-organization-picture-upload.graphql +10 -0
- package/src/schema/organizations/mutations/request-organization-picture-upload-url.graphql +12 -0
- package/src/schema/project-apps/inputs/clear-project-app-picture.graphql +4 -0
- package/src/schema/project-apps/inputs/confirm-project-app-picture-upload.graphql +9 -0
- package/src/schema/project-apps/inputs/request-project-app-picture-upload-url.graphql +12 -0
- package/src/schema/project-apps/inputs/update-project-app.graphql +12 -0
- package/src/schema/project-apps/inputs/upload-project-app-picture.graphql +7 -0
- package/src/schema/project-apps/mutations/clear-project-app-picture.graphql +6 -0
- package/src/schema/project-apps/mutations/confirm-project-app-picture-upload.graphql +10 -0
- package/src/schema/project-apps/mutations/request-project-app-picture-upload-url.graphql +12 -0
- package/src/schema/project-apps/mutations/upload-project-app-picture.graphql +6 -0
- package/src/schema/project-apps/types/project-app.graphql +13 -0
- package/src/schema/project-apps/types/upload-project-app-picture-result.graphql +4 -0
- package/src/schema/projects/inputs/clear-project-picture.graphql +4 -0
- package/src/schema/projects/inputs/confirm-project-picture-upload.graphql +9 -0
- package/src/schema/projects/inputs/request-project-picture-upload-url.graphql +12 -0
- package/src/schema/projects/inputs/update-project.graphql +8 -0
- package/src/schema/projects/inputs/upload-project-picture.graphql +7 -0
- package/src/schema/projects/mutations/clear-project-picture.graphql +6 -0
- package/src/schema/projects/mutations/confirm-project-picture-upload.graphql +8 -0
- package/src/schema/projects/mutations/request-project-picture-upload-url.graphql +12 -0
- package/src/schema/projects/mutations/upload-project-picture.graphql +6 -0
- package/src/schema/projects/types/project.graphql +9 -0
- package/src/schema/projects/types/upload-project-picture-result.graphql +4 -0
- package/src/schema/uploads/types/upload-url.graphql +33 -0
- package/src/schema/user-authentication-method/types/user-authentication-method.graphql +4 -0
- package/src/schema/users/inputs/confirm-user-picture-upload.graphql +5 -0
- package/src/schema/users/inputs/request-user-picture-upload-url.graphql +12 -0
- package/src/schema/users/mutations/confirm-user-picture-upload.graphql +8 -0
- package/src/schema/users/mutations/request-user-picture-upload-url.graphql +12 -0
- package/src/sdl-contract.test.ts +11 -2
package/src/sdl-contract.test.ts
CHANGED
|
@@ -40,9 +40,18 @@ describe('operation documents', () => {
|
|
|
40
40
|
|
|
41
41
|
// Pinned, not a floor: pass 5 slice 5 removed one file and two query operations
|
|
42
42
|
// that were superseded by list queries, and a floor would have absorbed that
|
|
43
|
-
// silently. 116 before that slice, 115 after,
|
|
43
|
+
// silently. 116 before that slice, 115 after it, 117 once part D's first
|
|
44
|
+
// direct-upload pair (`requestMyUserPictureUploadUrl`,
|
|
45
|
+
// `confirmMyUserPictureUpload`) arrived, and 121 with the two remaining targets —
|
|
46
|
+
// project membership and the administrator route — each another request/confirm
|
|
47
|
+
// pair. 122 after `main` merged in, which added `upload-organization-picture`.
|
|
48
|
+
// 124 after slice 17b: organization request/confirm (the last upload target).
|
|
49
|
+
// 132 after project branding: request/confirm/upload/clear for project and
|
|
50
|
+
// project-app pictures (eight operation documents).
|
|
51
|
+
// Updating this number is the point of the pin, not a nuisance: every change
|
|
52
|
+
// to it should be a line in a commit message.
|
|
44
53
|
it('finds every document under src/operations', () => {
|
|
45
|
-
expect(files).toHaveLength(
|
|
54
|
+
expect(files).toHaveLength(132);
|
|
46
55
|
});
|
|
47
56
|
|
|
48
57
|
it.each(files.map((f) => [relative(process.cwd(), f), f]))('%s validates', (_label, file) => {
|