From a126a0292999af0cec0bd84107aa59908d04e193 Mon Sep 17 00:00:00 2001 From: Kevin Ashworth Date: Wed, 30 Dec 2020 10:15:23 -0800 Subject: [PATCH] 2020-06-24 --- .logs/schema.graphql | 1075 ++++++++++++++++++++---------------------- 1 file changed, 518 insertions(+), 557 deletions(-) diff --git a/.logs/schema.graphql b/.logs/schema.graphql index c00d2172..a9ef3ed4 100644 --- a/.logs/schema.graphql +++ b/.logs/schema.graphql @@ -11,7 +11,7 @@ input String_Selector { #_ilike: String _in: [String!] _is_null: Boolean - #_like: String + _like: String #_lt: String #_lte: String #_neq: String @@ -23,8 +23,9 @@ input String_Selector { } input String_Array_Selector { - contains: String_Selector - # contains_all: [String_Selector] + _in: [String!] + _contains: String + # _contains_all: [String_Selector] } input Int_Selector { @@ -117,6 +118,52 @@ input IntlValueInput{ } directive @intl on FIELD_DEFINITION + input AuthPasswordInput { + email: String + password: String + } + type AuthResult { + token: String + userId: String + } + type LogoutResult { + userId: String + } + + input SignupInput { + email: String + password: String + } + type SignupResult { + userId: String + } + + input SetPasswordInput { + newPassword: String + } + + #type SetPasswordResult # Will auth user again so we reuse AuthResult atm + + input ResetPasswordInput { + token: String + newPassword: String + } + type ResetPasswordResult { + userId: String + } + + input VerifyEmailInput { + token: String + } + type VerifyEmailResult { + userId: String + } + + input AuthEmailInput { + email: String + } + + # A user object type User { _id: String @@ -137,18 +184,6 @@ type User { pageUrl: String pagePath: String editUrl: String - dwellings: [UserDwellings] - emailAddress: String - emailVerified: Boolean - commentCount: Float - bio: String - htmlBio: String - website: String - updatedAt: Date - notifications_users: Boolean - notifications_posts: Boolean - notifications_comments: Boolean - notifications_replies: Boolean } @@ -223,16 +258,6 @@ input CreateUserDataInput { email: String twitterUsername: String groups: [String] - dwellings: [CreateUserDwellingsDataInput] - emailAddress: String - emailVerified: Boolean - bio: String - website: String - updatedAt: Date - notifications_users: Boolean - notifications_posts: Boolean - notifications_comments: Boolean - notifications_replies: Boolean } input UpdateUserInput{ @@ -255,16 +280,6 @@ input UpdateUserDataInput { email: String twitterUsername: String groups: [String] - dwellings: [UpdateUserDwellingsDataInput] - emailAddress: String - emailVerified: Boolean - bio: String - website: String - updatedAt: Date - notifications_users: Boolean - notifications_posts: Boolean - notifications_comments: Boolean - notifications_replies: Boolean } input UserFilterInput { @@ -286,22 +301,10 @@ input UserFilterInput { avatarUrl: String_Selector slug: String_Selector twitterUsername: String_Selector - + groups: String_Array_Selector pageUrl: String_Selector pagePath: String_Selector editUrl: String_Selector - - emailAddress: String_Selector - emailVerified: Boolean_Selector - commentCount: Float_Selector - bio: String_Selector - htmlBio: String_Selector - website: String_Selector - updatedAt: Date_Selector - notifications_users: Boolean_Selector - notifications_posts: Boolean_Selector - notifications_comments: Boolean_Selector - notifications_replies: Boolean_Selector } input UserSortInput { @@ -322,18 +325,6 @@ input UserSortInput { pageUrl: SortOptions pagePath: SortOptions editUrl: SortOptions - dwellings: SortOptions - emailAddress: SortOptions - emailVerified: SortOptions - commentCount: SortOptions - bio: SortOptions - htmlBio: SortOptions - website: SortOptions - updatedAt: SortOptions - notifications_users: SortOptions - notifications_posts: SortOptions - notifications_comments: SortOptions - notifications_replies: SortOptions } input UserSelectorInput { @@ -350,54 +341,6 @@ input UserSelectorUniqueInput { } -type UserDwellings { - address: String - verified: Boolean -} - - -input CreateUserDwellingsInput { - data: CreateUserDwellingsDataInput! -} - -input CreateUserDwellingsDataInput { - address: String - verified: Boolean -} - -input UpdateUserDwellingsInput{ - filter: UserDwellingsFilterInput - id: String - data: UpdateUserDwellingsDataInput! -} - -input UpsertUserDwellingsInput{ - filter: UserDwellingsFilterInput - id: String - data: UpdateUserDwellingsDataInput! -} - -input UpdateUserDwellingsDataInput { - address: String - verified: Boolean -} - -input UserDwellingsFilterInput { - _and: [UserDwellingsFilterInput] - _not: UserDwellingsFilterInput - _or: [UserDwellingsFilterInput] - - - address: String_Selector - verified: Boolean_Selector -} - -input UserDwellingsSortInput { - address: SortOptions - verified: SortOptions -} - - # Type for Emails type Email { name: String @@ -1350,6 +1293,7 @@ input CreateProjectInput { input CreateProjectDataInput { projectTitle: String + sortTitle: String projectType: String union: String network: String @@ -1383,6 +1327,7 @@ input UpsertProjectInput{ input UpdateProjectDataInput { projectTitle: String + sortTitle: String projectType: String union: String network: String @@ -2280,6 +2225,140 @@ input ContactPastProjectsSortInput { } +# Type for Patches +type Patch { + _id: String + createdAt: Date + userId: String + updatedAt: String + collectionName: String + patches: [JSON] +} + + +input DeletePatchInput{ + filter: PatchFilterInput + id: String +} + +input SinglePatchInput { + # filtering + filter: PatchFilterInput + sort: PatchSortInput + search: String + id: String + + # backwards-compatibility + "Deprecated (use 'filter/id' fields instead)." + selector: PatchSelectorUniqueInput + + # options (backwards-compatibility) + # Whether to enable caching for this query + enableCache: Boolean + # Return null instead of throwing MissingDocumentError + allowNull: Boolean +} + +input MultiPatchInput { + + # filtering + filter: PatchFilterInput + sort: PatchSortInput + search: String + offset: Int + limit: Int + + # backwards-compatibility + # A JSON object that contains the query terms used to fetch data + "Deprecated (use 'filter/id' fields instead)." + terms: JSON + + # options (backwards-compatibility) + # Whether to enable caching for this query + enableCache: Boolean + # Whether to calculate totalCount for this query + enableTotal: Boolean + +} + +type SinglePatchOutput{ + result: Patch +} + +type MultiPatchOutput{ + results: [Patch] + totalCount: Int +} + +type PatchMutationOutput{ + data: Patch +} + +input CreatePatchInput { + data: CreatePatchDataInput! +} + +input CreatePatchDataInput { + updatedAt: String + collectionName: String + patches: [JSON] +} + +input UpdatePatchInput{ + filter: PatchFilterInput + id: String + data: UpdatePatchDataInput! +} + +input UpsertPatchInput{ + filter: PatchFilterInput + id: String + data: UpdatePatchDataInput! +} + +input UpdatePatchDataInput { + updatedAt: String + collectionName: String + patches: [JSON] +} + +input PatchFilterInput { + _and: [PatchFilterInput] + _not: PatchFilterInput + _or: [PatchFilterInput] + + + _id: String_Selector + createdAt: Date_Selector + userId: String_Selector + updatedAt: String_Selector + collectionName: String_Selector + +} + +input PatchSortInput { + _id: SortOptions + createdAt: SortOptions + userId: SortOptions + updatedAt: SortOptions + collectionName: SortOptions + patches: SortOptions +} + +input PatchSelectorInput { + _and: [PatchSelectorInput] + _or: [PatchSelectorInput] + +} + +input PatchSelectorUniqueInput { + _id: String + documentId: String # OpenCRUD backwards compatibility + slug: String + +} + + # Type for PastProjects type PastProject { _id: String @@ -2747,43 +2826,34 @@ input PastProjectAddressesSortInput { } -# Type for Comments -type Comment { +# Type for Statistics +type Statistic { _id: String createdAt: Date userId: String - user: User - parentCommentId: String - parentComment: Comment - topLevelCommentId: String - topLevelComment: Comment - postedAt: Date - body: String - htmlBody: String - author: String - collectionName: String - objectId: String - isDeleted: Boolean - pagePath: String - pageUrl: String + updatedAt: Date + episodics: [StatisticEpisodics] + pilots: [StatisticPilots] + features: [StatisticFeatures] + others: [StatisticOthers] } -input DeleteCommentInput{ - filter: CommentFilterInput +input DeleteStatisticInput{ + filter: StatisticFilterInput id: String } -input SingleCommentInput { +input SingleStatisticInput { # filtering - filter: CommentFilterInput - sort: CommentSortInput + filter: StatisticFilterInput + sort: StatisticSortInput search: String id: String # backwards-compatibility "Deprecated (use 'filter/id' fields instead)." - selector: CommentSelectorUniqueInput + selector: StatisticSelectorUniqueInput # options (backwards-compatibility) # Whether to enable caching for this query @@ -2792,11 +2862,11 @@ input SingleCommentInput { allowNull: Boolean } -input MultiCommentInput { +input MultiStatisticInput { # filtering - filter: CommentFilterInput - sort: CommentSortInput + filter: StatisticFilterInput + sort: StatisticSortInput search: String offset: Int limit: Int @@ -2814,326 +2884,40 @@ input MultiCommentInput { } -type SingleCommentOutput{ - result: Comment +type SingleStatisticOutput{ + result: Statistic } -type MultiCommentOutput{ - results: [Comment] +type MultiStatisticOutput{ + results: [Statistic] totalCount: Int } -type CommentMutationOutput{ - data: Comment +type StatisticMutationOutput{ + data: Statistic } -input CreateCommentInput { - data: CreateCommentDataInput! +input CreateStatisticInput { + data: CreateStatisticDataInput! } -input CreateCommentDataInput { - parentCommentId: String - topLevelCommentId: String - body: String - collectionName: String - objectId: String +input CreateStatisticDataInput { + episodics: [CreateStatisticEpisodicsDataInput] + pilots: [CreateStatisticPilotsDataInput] + features: [CreateStatisticFeaturesDataInput] + others: [CreateStatisticOthersDataInput] } -input UpdateCommentInput{ - filter: CommentFilterInput +input UpdateStatisticInput{ + filter: StatisticFilterInput id: String - data: UpdateCommentDataInput! + data: UpdateStatisticDataInput! } -input UpsertCommentInput{ - filter: CommentFilterInput +input UpsertStatisticInput{ + filter: StatisticFilterInput id: String - data: UpdateCommentDataInput! -} - -input UpdateCommentDataInput { - body: String -} - -input CommentFilterInput { - _and: [CommentFilterInput] - _not: CommentFilterInput - _or: [CommentFilterInput] - - - _id: String_Selector - createdAt: Date_Selector - userId: String_Selector - parentCommentId: String_Selector - topLevelCommentId: String_Selector - postedAt: Date_Selector - body: String_Selector - htmlBody: String_Selector - author: String_Selector - collectionName: String_Selector - objectId: String_Selector - isDeleted: Boolean_Selector - pagePath: String_Selector - pageUrl: String_Selector -} - -input CommentSortInput { - _id: SortOptions - createdAt: SortOptions - userId: SortOptions - parentCommentId: SortOptions - topLevelCommentId: SortOptions - postedAt: SortOptions - body: SortOptions - htmlBody: SortOptions - author: SortOptions - collectionName: SortOptions - objectId: SortOptions - isDeleted: SortOptions - pagePath: SortOptions - pageUrl: SortOptions -} - -input CommentSelectorInput { - _and: [CommentSelectorInput] - _or: [CommentSelectorInput] - -} - -input CommentSelectorUniqueInput { - _id: String - documentId: String # OpenCRUD backwards compatibility - slug: String - -} - - -# Type for Patches -type Patch { - _id: String - createdAt: Date - userId: String - updatedAt: String - collectionName: String - patches: [JSON] -} - - -input DeletePatchInput{ - filter: PatchFilterInput - id: String -} - -input SinglePatchInput { - # filtering - filter: PatchFilterInput - sort: PatchSortInput - search: String - id: String - - # backwards-compatibility - "Deprecated (use 'filter/id' fields instead)." - selector: PatchSelectorUniqueInput - - # options (backwards-compatibility) - # Whether to enable caching for this query - enableCache: Boolean - # Return null instead of throwing MissingDocumentError - allowNull: Boolean -} - -input MultiPatchInput { - - # filtering - filter: PatchFilterInput - sort: PatchSortInput - search: String - offset: Int - limit: Int - - # backwards-compatibility - # A JSON object that contains the query terms used to fetch data - "Deprecated (use 'filter/id' fields instead)." - terms: JSON - - # options (backwards-compatibility) - # Whether to enable caching for this query - enableCache: Boolean - # Whether to calculate totalCount for this query - enableTotal: Boolean - -} - -type SinglePatchOutput{ - result: Patch -} - -type MultiPatchOutput{ - results: [Patch] - totalCount: Int -} - -type PatchMutationOutput{ - data: Patch -} - -input CreatePatchInput { - data: CreatePatchDataInput! -} - -input CreatePatchDataInput { - updatedAt: String - collectionName: String - patches: [JSON] -} - -input UpdatePatchInput{ - filter: PatchFilterInput - id: String - data: UpdatePatchDataInput! -} - -input UpsertPatchInput{ - filter: PatchFilterInput - id: String - data: UpdatePatchDataInput! -} - -input UpdatePatchDataInput { - updatedAt: String - collectionName: String - patches: [JSON] -} - -input PatchFilterInput { - _and: [PatchFilterInput] - _not: PatchFilterInput - _or: [PatchFilterInput] - - - _id: String_Selector - createdAt: Date_Selector - userId: String_Selector - updatedAt: String_Selector - collectionName: String_Selector - -} - -input PatchSortInput { - _id: SortOptions - createdAt: SortOptions - userId: SortOptions - updatedAt: SortOptions - collectionName: SortOptions - patches: SortOptions -} - -input PatchSelectorInput { - _and: [PatchSelectorInput] - _or: [PatchSelectorInput] - -} - -input PatchSelectorUniqueInput { - _id: String - documentId: String # OpenCRUD backwards compatibility - slug: String - -} - - -# Type for Statistics -type Statistic { - _id: String - createdAt: Date - userId: String - updatedAt: Date - episodics: [StatisticEpisodics] - pilots: [StatisticPilots] - features: [StatisticFeatures] - others: [StatisticOthers] -} - - -input DeleteStatisticInput{ - filter: StatisticFilterInput - id: String -} - -input SingleStatisticInput { - # filtering - filter: StatisticFilterInput - sort: StatisticSortInput - search: String - id: String - - # backwards-compatibility - "Deprecated (use 'filter/id' fields instead)." - selector: StatisticSelectorUniqueInput - - # options (backwards-compatibility) - # Whether to enable caching for this query - enableCache: Boolean - # Return null instead of throwing MissingDocumentError - allowNull: Boolean -} - -input MultiStatisticInput { - - # filtering - filter: StatisticFilterInput - sort: StatisticSortInput - search: String - offset: Int - limit: Int - - # backwards-compatibility - # A JSON object that contains the query terms used to fetch data - "Deprecated (use 'filter/id' fields instead)." - terms: JSON - - # options (backwards-compatibility) - # Whether to enable caching for this query - enableCache: Boolean - # Whether to calculate totalCount for this query - enableTotal: Boolean - -} - -type SingleStatisticOutput{ - result: Statistic -} - -type MultiStatisticOutput{ - results: [Statistic] - totalCount: Int -} - -type StatisticMutationOutput{ - data: Statistic -} - -input CreateStatisticInput { - data: CreateStatisticDataInput! -} - -input CreateStatisticDataInput { - episodics: [CreateStatisticEpisodicsDataInput] - pilots: [CreateStatisticPilotsDataInput] - features: [CreateStatisticFeaturesDataInput] - others: [CreateStatisticOthersDataInput] -} - -input UpdateStatisticInput{ - filter: StatisticFilterInput - id: String - data: UpdateStatisticDataInput! -} - -input UpsertStatisticInput{ - filter: StatisticFilterInput - id: String - data: UpdateStatisticDataInput! + data: UpdateStatisticDataInput! } input UpdateStatisticDataInput { @@ -3185,7 +2969,7 @@ input StatisticSelectorUniqueInput { type StatisticEpisodics { - date: String + date: Date quantity: Float } @@ -3195,7 +2979,7 @@ input CreateStatisticEpisodicsInput { } input CreateStatisticEpisodicsDataInput { - date: String + date: Date quantity: Float } @@ -3212,7 +2996,7 @@ input UpsertStatisticEpisodicsInput{ } input UpdateStatisticEpisodicsDataInput { - date: String + date: Date quantity: Float } @@ -3222,7 +3006,7 @@ input StatisticEpisodicsFilterInput { _or: [StatisticEpisodicsFilterInput] - date: String_Selector + date: Date_Selector quantity: Float_Selector } @@ -3233,7 +3017,7 @@ input StatisticEpisodicsSortInput { type StatisticPilots { - date: String + date: Date quantity: Float } @@ -3243,7 +3027,7 @@ input CreateStatisticPilotsInput { } input CreateStatisticPilotsDataInput { - date: String + date: Date quantity: Float } @@ -3260,7 +3044,7 @@ input UpsertStatisticPilotsInput{ } input UpdateStatisticPilotsDataInput { - date: String + date: Date quantity: Float } @@ -3270,7 +3054,7 @@ input StatisticPilotsFilterInput { _or: [StatisticPilotsFilterInput] - date: String_Selector + date: Date_Selector quantity: Float_Selector } @@ -3281,7 +3065,7 @@ input StatisticPilotsSortInput { type StatisticFeatures { - date: String + date: Date quantity: Float } @@ -3291,7 +3075,7 @@ input CreateStatisticFeaturesInput { } input CreateStatisticFeaturesDataInput { - date: String + date: Date quantity: Float } @@ -3308,7 +3092,7 @@ input UpsertStatisticFeaturesInput{ } input UpdateStatisticFeaturesDataInput { - date: String + date: Date quantity: Float } @@ -3318,68 +3102,229 @@ input StatisticFeaturesFilterInput { _or: [StatisticFeaturesFilterInput] - date: String_Selector + date: Date_Selector quantity: Float_Selector } -input StatisticFeaturesSortInput { - date: SortOptions - quantity: SortOptions +input StatisticFeaturesSortInput { + date: SortOptions + quantity: SortOptions +} + + +type StatisticOthers { + date: Date + quantity: Float +} + + +input CreateStatisticOthersInput { + data: CreateStatisticOthersDataInput! +} + +input CreateStatisticOthersDataInput { + date: Date + quantity: Float +} + +input UpdateStatisticOthersInput{ + filter: StatisticOthersFilterInput + id: String + data: UpdateStatisticOthersDataInput! +} + +input UpsertStatisticOthersInput{ + filter: StatisticOthersFilterInput + id: String + data: UpdateStatisticOthersDataInput! +} + +input UpdateStatisticOthersDataInput { + date: Date + quantity: Float +} + +input StatisticOthersFilterInput { + _and: [StatisticOthersFilterInput] + _not: StatisticOthersFilterInput + _or: [StatisticOthersFilterInput] + + + date: Date_Selector + quantity: Float_Selector +} + +input StatisticOthersSortInput { + date: SortOptions + quantity: SortOptions +} + + +# Type for Comments +type Comment { + _id: String + createdAt: Date + userId: String + user: User + parentCommentId: String + parentComment: Comment + topLevelCommentId: String + topLevelComment: Comment + postedAt: Date + body: String + htmlBody: String + author: String + collectionName: String + objectId: String + isDeleted: Boolean + pagePath: String + pageUrl: String +} + + +input DeleteCommentInput{ + filter: CommentFilterInput + id: String +} + +input SingleCommentInput { + # filtering + filter: CommentFilterInput + sort: CommentSortInput + search: String + id: String + + # backwards-compatibility + "Deprecated (use 'filter/id' fields instead)." + selector: CommentSelectorUniqueInput + + # options (backwards-compatibility) + # Whether to enable caching for this query + enableCache: Boolean + # Return null instead of throwing MissingDocumentError + allowNull: Boolean +} + +input MultiCommentInput { + + # filtering + filter: CommentFilterInput + sort: CommentSortInput + search: String + offset: Int + limit: Int + + # backwards-compatibility + # A JSON object that contains the query terms used to fetch data + "Deprecated (use 'filter/id' fields instead)." + terms: JSON + + # options (backwards-compatibility) + # Whether to enable caching for this query + enableCache: Boolean + # Whether to calculate totalCount for this query + enableTotal: Boolean + +} + +type SingleCommentOutput{ + result: Comment } - -type StatisticOthers { - date: String - quantity: Float +type MultiCommentOutput{ + results: [Comment] + totalCount: Int } +type CommentMutationOutput{ + data: Comment +} -input CreateStatisticOthersInput { - data: CreateStatisticOthersDataInput! +input CreateCommentInput { + data: CreateCommentDataInput! } -input CreateStatisticOthersDataInput { - date: String - quantity: Float +input CreateCommentDataInput { + parentCommentId: String + topLevelCommentId: String + body: String + collectionName: String + objectId: String } -input UpdateStatisticOthersInput{ - filter: StatisticOthersFilterInput +input UpdateCommentInput{ + filter: CommentFilterInput id: String - data: UpdateStatisticOthersDataInput! + data: UpdateCommentDataInput! } -input UpsertStatisticOthersInput{ - filter: StatisticOthersFilterInput +input UpsertCommentInput{ + filter: CommentFilterInput id: String - data: UpdateStatisticOthersDataInput! + data: UpdateCommentDataInput! } -input UpdateStatisticOthersDataInput { - date: String - quantity: Float +input UpdateCommentDataInput { + body: String } -input StatisticOthersFilterInput { - _and: [StatisticOthersFilterInput] - _not: StatisticOthersFilterInput - _or: [StatisticOthersFilterInput] +input CommentFilterInput { + _and: [CommentFilterInput] + _not: CommentFilterInput + _or: [CommentFilterInput] - date: String_Selector - quantity: Float_Selector + _id: String_Selector + createdAt: Date_Selector + userId: String_Selector + parentCommentId: String_Selector + topLevelCommentId: String_Selector + postedAt: Date_Selector + body: String_Selector + htmlBody: String_Selector + author: String_Selector + collectionName: String_Selector + objectId: String_Selector + isDeleted: Boolean_Selector + pagePath: String_Selector + pageUrl: String_Selector } -input StatisticOthersSortInput { - date: SortOptions - quantity: SortOptions +input CommentSortInput { + _id: SortOptions + createdAt: SortOptions + userId: SortOptions + parentCommentId: SortOptions + topLevelCommentId: SortOptions + postedAt: SortOptions + body: SortOptions + htmlBody: SortOptions + author: SortOptions + collectionName: SortOptions + objectId: SortOptions + isDeleted: SortOptions + pagePath: SortOptions + pageUrl: SortOptions +} + +input CommentSelectorInput { + _and: [CommentSelectorInput] + _or: [CommentSelectorInput] + +} + +input CommentSelectorUniqueInput { + _id: String + documentId: String # OpenCRUD backwards compatibility + slug: String + } type Query { - SiteData: Site + siteData: Site currentUser: User @@ -3413,34 +3358,50 @@ type Query { # A list of Contact documents matching a set of query terms contacts(input: MultiContactInput): MultiContactOutput - # A single PastProject document fetched by ID or slug - pastProject(input: SinglePastProjectInput!): SinglePastProjectOutput - - # A list of PastProject documents matching a set of query terms - pastProjects(input: MultiPastProjectInput): MultiPastProjectOutput - - # A single Comment document fetched by ID or slug - comment(input: SingleCommentInput!): SingleCommentOutput - - # A list of Comment documents matching a set of query terms - comments(input: MultiCommentInput): MultiCommentOutput - # A single Patch document fetched by ID or slug patch(input: SinglePatchInput!): SinglePatchOutput # A list of Patch documents matching a set of query terms patches(input: MultiPatchInput): MultiPatchOutput + # A single PastProject document fetched by ID or slug + pastProject(input: SinglePastProjectInput!): SinglePastProjectOutput + + # A list of PastProject documents matching a set of query terms + pastProjects(input: MultiPastProjectInput): MultiPastProjectOutput + # A single Statistic document fetched by ID or slug statistic(input: SingleStatisticInput!): SingleStatisticOutput # A list of Statistic documents matching a set of query terms statistics(input: MultiStatisticInput): MultiStatisticOutput + # A single Comment document fetched by ID or slug + comment(input: SingleCommentInput!): SingleCommentOutput + + # A list of Comment documents matching a set of query terms + comments(input: MultiCommentInput): MultiCommentOutput + } type Mutation { + authenticateWithPassword(input: AuthPasswordInput): AuthResult + + logout: LogoutResult + + signup(input: SignupInput): SignupResult + + setPassword(input: SetPasswordInput): AuthResult + + sendResetPasswordEmail(input: AuthEmailInput): Boolean + + resetPassword(input: ResetPasswordInput): ResetPasswordResult + + sendVerificationEmail(input: AuthEmailInput): Boolean + + verifyEmail(input: VerifyEmailInput): VerifyEmailResult + # Mutation for creating new User documents createUser( input: CreateUserInput, @@ -3569,70 +3530,6 @@ type Mutation { selector: ContactSelectorUniqueInput ) : ContactMutationOutput - # Mutation for creating new PastProject documents - createPastProject( - input: CreatePastProjectInput, - "Deprecated (use 'input' field instead)." - data: CreatePastProjectDataInput -) : PastProjectMutationOutput - - # Mutation for updating a PastProject document - updatePastProject( - input: UpdatePastProjectInput, - "Deprecated (use 'input' field instead)." - selector: PastProjectSelectorUniqueInput, - "Deprecated (use 'input' field instead)." - data: UpdatePastProjectDataInput -) : PastProjectMutationOutput - - # Mutation for upserting a PastProject document - upsertPastProject( - input: UpsertPastProjectInput, - "Deprecated (use 'input' field instead)." - selector: PastProjectSelectorUniqueInput, - "Deprecated (use 'input' field instead)." - data: UpdatePastProjectDataInput -) : PastProjectMutationOutput - - # Mutation for deleting a PastProject document - deletePastProject( - input: DeletePastProjectInput, - "Deprecated (use 'input' field instead)." - selector: PastProjectSelectorUniqueInput -) : PastProjectMutationOutput - - # Mutation for creating new Comment documents - createComment( - input: CreateCommentInput, - "Deprecated (use 'input' field instead)." - data: CreateCommentDataInput -) : CommentMutationOutput - - # Mutation for updating a Comment document - updateComment( - input: UpdateCommentInput, - "Deprecated (use 'input' field instead)." - selector: CommentSelectorUniqueInput, - "Deprecated (use 'input' field instead)." - data: UpdateCommentDataInput -) : CommentMutationOutput - - # Mutation for upserting a Comment document - upsertComment( - input: UpsertCommentInput, - "Deprecated (use 'input' field instead)." - selector: CommentSelectorUniqueInput, - "Deprecated (use 'input' field instead)." - data: UpdateCommentDataInput -) : CommentMutationOutput - - # Mutation for deleting a Comment document - deleteComment( - input: DeleteCommentInput, - "Deprecated (use 'input' field instead)." - selector: CommentSelectorUniqueInput -) : CommentMutationOutput - # Mutation for creating new Patch documents createPatch( input: CreatePatchInput, @@ -3665,6 +3562,38 @@ type Mutation { selector: PatchSelectorUniqueInput ) : PatchMutationOutput + # Mutation for creating new PastProject documents + createPastProject( + input: CreatePastProjectInput, + "Deprecated (use 'input' field instead)." + data: CreatePastProjectDataInput +) : PastProjectMutationOutput + + # Mutation for updating a PastProject document + updatePastProject( + input: UpdatePastProjectInput, + "Deprecated (use 'input' field instead)." + selector: PastProjectSelectorUniqueInput, + "Deprecated (use 'input' field instead)." + data: UpdatePastProjectDataInput +) : PastProjectMutationOutput + + # Mutation for upserting a PastProject document + upsertPastProject( + input: UpsertPastProjectInput, + "Deprecated (use 'input' field instead)." + selector: PastProjectSelectorUniqueInput, + "Deprecated (use 'input' field instead)." + data: UpdatePastProjectDataInput +) : PastProjectMutationOutput + + # Mutation for deleting a PastProject document + deletePastProject( + input: DeletePastProjectInput, + "Deprecated (use 'input' field instead)." + selector: PastProjectSelectorUniqueInput +) : PastProjectMutationOutput + # Mutation for creating new Statistic documents createStatistic( input: CreateStatisticInput, @@ -3697,6 +3626,38 @@ type Mutation { selector: StatisticSelectorUniqueInput ) : StatisticMutationOutput + # Mutation for creating new Comment documents + createComment( + input: CreateCommentInput, + "Deprecated (use 'input' field instead)." + data: CreateCommentDataInput +) : CommentMutationOutput + + # Mutation for updating a Comment document + updateComment( + input: UpdateCommentInput, + "Deprecated (use 'input' field instead)." + selector: CommentSelectorUniqueInput, + "Deprecated (use 'input' field instead)." + data: UpdateCommentDataInput +) : CommentMutationOutput + + # Mutation for upserting a Comment document + upsertComment( + input: UpsertCommentInput, + "Deprecated (use 'input' field instead)." + selector: CommentSelectorUniqueInput, + "Deprecated (use 'input' field instead)." + data: UpdateCommentDataInput +) : CommentMutationOutput + + # Mutation for deleting a Comment document + deleteComment( + input: DeleteCommentInput, + "Deprecated (use 'input' field instead)." + selector: CommentSelectorUniqueInput +) : CommentMutationOutput + }