diff --git a/.logs/schema.graphql b/.logs/schema.graphql index 7e0bef6d..c00d2172 100644 --- a/.logs/schema.graphql +++ b/.logs/schema.graphql @@ -11,21 +11,20 @@ input String_Selector { #_ilike: String _in: [String!] _is_null: Boolean - _like: String + #_like: String #_lt: String #_lte: String #_neq: String #_nilike: String - _nin: [String!] + #_nin: [String!] #_nlike: String #_nsimilar: String #_similar: String } input String_Array_Selector { - _in: [String!] - _contains: String - # _contains_all: [String_Selector] + contains: String_Selector + # contains_all: [String_Selector] } input Int_Selector { @@ -117,65 +116,6 @@ input IntlValueInput{ value: String } directive @intl on FIELD_DEFINITION -type Locale { - id: String, - label: String - dynamic: Boolean - strings: JSON -} - - 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 - } - -type EmailResponse { - from: String - to: String - subject: String - success: JSON - error: String -} # A user object type User { @@ -192,22 +132,23 @@ type User { emailHash: String avatarUrl: String slug: String + twitterUsername: String groups: [String] pageUrl: String pagePath: String editUrl: String + dwellings: [UserDwellings] + emailAddress: String + emailVerified: Boolean + commentCount: Float bio: String htmlBio: String - commentCount: Float - twitterUsername: String website: String updatedAt: Date notifications_users: Boolean notifications_posts: Boolean notifications_comments: Boolean notifications_replies: Boolean - createdAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String - updatedAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String } @@ -224,7 +165,7 @@ input SingleUserInput { id: String # backwards-compatibility - # Deprecated (use 'filter/id' fields instead). + "Deprecated (use 'filter/id' fields instead)." selector: UserSelectorUniqueInput # options (backwards-compatibility) @@ -232,8 +173,6 @@ input SingleUserInput { enableCache: Boolean # Return null instead of throwing MissingDocumentError allowNull: Boolean - # An identifier to name the query's execution context - contextName: String } input MultiUserInput { @@ -247,7 +186,7 @@ input MultiUserInput { # backwards-compatibility # A JSON object that contains the query terms used to fetch data - # Deprecated (use 'filter/id' fields instead). + "Deprecated (use 'filter/id' fields instead)." terms: JSON # options (backwards-compatibility) @@ -255,9 +194,7 @@ input MultiUserInput { enableCache: Boolean # Whether to calculate totalCount for this query enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String - + } type SingleUserOutput{ @@ -275,8 +212,6 @@ type UserMutationOutput{ input CreateUserInput { data: CreateUserDataInput! - # An identifier to name the mutation's execution context - contextName: String } input CreateUserDataInput { @@ -286,9 +221,12 @@ input CreateUserDataInput { profile: JSON displayName: String email: String + twitterUsername: String groups: [String] + dwellings: [CreateUserDwellingsDataInput] + emailAddress: String + emailVerified: Boolean bio: String - twitterUsername: String website: String updatedAt: Date notifications_users: Boolean @@ -301,16 +239,12 @@ input UpdateUserInput{ filter: UserFilterInput id: String data: UpdateUserDataInput! - # An identifier to name the mutation's execution context - contextName: String } input UpsertUserInput{ filter: UserFilterInput id: String data: UpdateUserDataInput! - # An identifier to name the mutation's execution context - contextName: String } input UpdateUserDataInput { @@ -319,9 +253,12 @@ input UpdateUserDataInput { locale: String displayName: String email: String + twitterUsername: String groups: [String] + dwellings: [UpdateUserDwellingsDataInput] + emailAddress: String + emailVerified: Boolean bio: String - twitterUsername: String website: String updatedAt: Date notifications_users: Boolean @@ -348,14 +285,17 @@ input UserFilterInput { emailHash: String_Selector avatarUrl: String_Selector slug: String_Selector - groups: String_Array_Selector + twitterUsername: String_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 - commentCount: Float_Selector - twitterUsername: String_Selector website: String_Selector updatedAt: Date_Selector notifications_users: Boolean_Selector @@ -377,14 +317,17 @@ input UserSortInput { emailHash: SortOptions avatarUrl: SortOptions slug: SortOptions + twitterUsername: SortOptions groups: SortOptions pageUrl: SortOptions pagePath: SortOptions editUrl: SortOptions + dwellings: SortOptions + emailAddress: SortOptions + emailVerified: SortOptions + commentCount: SortOptions bio: SortOptions htmlBio: SortOptions - commentCount: SortOptions - twitterUsername: SortOptions website: SortOptions updatedAt: SortOptions notifications_users: SortOptions @@ -407,12 +350,60 @@ 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 template: String subject: String - testPath: String + path: String } @@ -429,7 +420,7 @@ input SingleEmailInput { id: String # backwards-compatibility - # Deprecated (use 'filter/id' fields instead). + "Deprecated (use 'filter/id' fields instead)." selector: EmailSelectorUniqueInput # options (backwards-compatibility) @@ -437,8 +428,6 @@ input SingleEmailInput { enableCache: Boolean # Return null instead of throwing MissingDocumentError allowNull: Boolean - # An identifier to name the query's execution context - contextName: String } input MultiEmailInput { @@ -452,7 +441,7 @@ input MultiEmailInput { # backwards-compatibility # A JSON object that contains the query terms used to fetch data - # Deprecated (use 'filter/id' fields instead). + "Deprecated (use 'filter/id' fields instead)." terms: JSON # options (backwards-compatibility) @@ -460,9 +449,7 @@ input MultiEmailInput { enableCache: Boolean # Whether to calculate totalCount for this query enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String - + } type SingleEmailOutput{ @@ -487,14 +474,14 @@ input EmailFilterInput { name: String_Selector template: String_Selector subject: String_Selector - testPath: String_Selector + path: String_Selector } input EmailSortInput { name: SortOptions template: SortOptions subject: SortOptions - testPath: SortOptions + path: SortOptions } input EmailSelectorInput { @@ -534,7 +521,7 @@ input SingleSettingInput { id: String # backwards-compatibility - # Deprecated (use 'filter/id' fields instead). + "Deprecated (use 'filter/id' fields instead)." selector: SettingSelectorUniqueInput # options (backwards-compatibility) @@ -542,8 +529,6 @@ input SingleSettingInput { enableCache: Boolean # Return null instead of throwing MissingDocumentError allowNull: Boolean - # An identifier to name the query's execution context - contextName: String } input MultiSettingInput { @@ -557,7 +542,7 @@ input MultiSettingInput { # backwards-compatibility # A JSON object that contains the query terms used to fetch data - # Deprecated (use 'filter/id' fields instead). + "Deprecated (use 'filter/id' fields instead)." terms: JSON # options (backwards-compatibility) @@ -565,9 +550,7 @@ input MultiSettingInput { enableCache: Boolean # Whether to calculate totalCount for this query enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String - + } type SingleSettingOutput{ @@ -644,7 +627,7 @@ input SingleCallbackInput { id: String # backwards-compatibility - # Deprecated (use 'filter/id' fields instead). + "Deprecated (use 'filter/id' fields instead)." selector: CallbackSelectorUniqueInput # options (backwards-compatibility) @@ -652,8 +635,6 @@ input SingleCallbackInput { enableCache: Boolean # Return null instead of throwing MissingDocumentError allowNull: Boolean - # An identifier to name the query's execution context - contextName: String } input MultiCallbackInput { @@ -667,7 +648,7 @@ input MultiCallbackInput { # backwards-compatibility # A JSON object that contains the query terms used to fetch data - # Deprecated (use 'filter/id' fields instead). + "Deprecated (use 'filter/id' fields instead)." terms: JSON # options (backwards-compatibility) @@ -675,9 +656,7 @@ input MultiCallbackInput { enableCache: Boolean # Whether to calculate totalCount for this query enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String - + } type SingleCallbackOutput{ @@ -734,55 +713,74 @@ input CallbackSelectorUniqueInput { } -# Type for Patches -type Patch { +# Type for Offices +type Office { _id: String createdAt: Date userId: String - updatedAt: String - collectionName: String - patches: [JSON] - createdAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String + updatedAt: Date + displayName: String + slug: String + body: String + htmlBody: String + contacts: [OfficeContacts] + theContacts: [Contact] + allContactNames: String + projects: [OfficeProjects] + theProjects: [Project] + links: [OfficeLinks] + addresses: [OfficeAddresses] + allAddresses: String + phones: [OfficePhones] + pastProjects: [OfficePastProjects] + fullAddress: String + street: String + location: String + theStreet: String + theStreet1: String + theStreet2: String + theCity: String + theState: String + theLocation: String + theZip: String } -input DeletePatchInput{ - filter: PatchFilterInput +input DeleteOfficeInput{ + filter: OfficeFilterInput id: String } -input SinglePatchInput { +input SingleOfficeInput { # filtering - filter: PatchFilterInput - sort: PatchSortInput + filter: OfficeFilterInput + sort: OfficeSortInput search: String id: String # backwards-compatibility - # Deprecated (use 'filter/id' fields instead). - selector: PatchSelectorUniqueInput + "Deprecated (use 'filter/id' fields instead)." + selector: OfficeSelectorUniqueInput # options (backwards-compatibility) # Whether to enable caching for this query enableCache: Boolean # Return null instead of throwing MissingDocumentError allowNull: Boolean - # An identifier to name the query's execution context - contextName: String } -input MultiPatchInput { +input MultiOfficeInput { # filtering - filter: PatchFilterInput - sort: PatchSortInput + filter: OfficeFilterInput + sort: OfficeSortInput 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). + "Deprecated (use 'filter/id' fields instead)." terms: JSON # options (backwards-compatibility) @@ -790,88 +788,130 @@ input MultiPatchInput { enableCache: Boolean # Whether to calculate totalCount for this query enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String - + } -type SinglePatchOutput{ - result: Patch +type SingleOfficeOutput{ + result: Office } -type MultiPatchOutput{ - results: [Patch] +type MultiOfficeOutput{ + results: [Office] totalCount: Int } -type PatchMutationOutput{ - data: Patch +type OfficeMutationOutput{ + data: Office } -input CreatePatchInput { - data: CreatePatchDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateOfficeInput { + data: CreateOfficeDataInput! } -input CreatePatchDataInput { - updatedAt: String - collectionName: String - patches: [JSON] +input CreateOfficeDataInput { + displayName: String + body: String + contacts: [CreateOfficeContactsDataInput] + projects: [CreateOfficeProjectsDataInput] + links: [CreateOfficeLinksDataInput] + addresses: [CreateOfficeAddressesDataInput] + phones: [CreateOfficePhonesDataInput] + pastProjects: [CreateOfficePastProjectsDataInput] } -input UpdatePatchInput{ - filter: PatchFilterInput +input UpdateOfficeInput{ + filter: OfficeFilterInput id: String - data: UpdatePatchDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficeDataInput! } -input UpsertPatchInput{ - filter: PatchFilterInput +input UpsertOfficeInput{ + filter: OfficeFilterInput id: String - data: UpdatePatchDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficeDataInput! } -input UpdatePatchDataInput { - updatedAt: String - collectionName: String - patches: [JSON] +input UpdateOfficeDataInput { + displayName: String + body: String + contacts: [UpdateOfficeContactsDataInput] + projects: [UpdateOfficeProjectsDataInput] + links: [UpdateOfficeLinksDataInput] + addresses: [UpdateOfficeAddressesDataInput] + phones: [UpdateOfficePhonesDataInput] + pastProjects: [UpdateOfficePastProjectsDataInput] } -input PatchFilterInput { - _and: [PatchFilterInput] - _not: PatchFilterInput - _or: [PatchFilterInput] +input OfficeFilterInput { + _and: [OfficeFilterInput] + _not: OfficeFilterInput + _or: [OfficeFilterInput] _id: String_Selector createdAt: Date_Selector userId: String_Selector - updatedAt: String_Selector - collectionName: String_Selector + updatedAt: Date_Selector + displayName: String_Selector + slug: String_Selector + body: String_Selector + htmlBody: String_Selector + + allContactNames: String_Selector + + + + allAddresses: String_Selector + + fullAddress: String_Selector + street: String_Selector + location: String_Selector + theStreet: String_Selector + theStreet1: String_Selector + theStreet2: String_Selector + theCity: String_Selector + theState: String_Selector + theLocation: String_Selector + theZip: String_Selector } -input PatchSortInput { +input OfficeSortInput { _id: SortOptions createdAt: SortOptions userId: SortOptions updatedAt: SortOptions - collectionName: SortOptions - patches: SortOptions + displayName: SortOptions + slug: SortOptions + body: SortOptions + htmlBody: SortOptions + contacts: SortOptions + allContactNames: SortOptions + projects: SortOptions + links: SortOptions + addresses: SortOptions + allAddresses: SortOptions + phones: SortOptions + pastProjects: SortOptions + fullAddress: SortOptions + street: SortOptions + location: SortOptions + theStreet: SortOptions + theStreet1: SortOptions + theStreet2: SortOptions + theCity: SortOptions + theState: SortOptions + theLocation: SortOptions + theZip: SortOptions } -input PatchSelectorInput { - _and: [PatchSelectorInput] - _or: [PatchSelectorInput] +input OfficeSelectorInput { + _and: [OfficeSelectorInput] + _or: [OfficeSelectorInput] } -input PatchSelectorUniqueInput { +input OfficeSelectorUniqueInput { _id: String documentId: String # OpenCRUD backwards compatibility slug: String @@ -879,452 +919,408 @@ input PatchSelectorUniqueInput { } -# Type for Statistics -type Statistic { - _id: String - createdAt: Date - userId: String - updatedAt: Date - episodics: [StatisticEpisodics] - pilots: [StatisticPilots] - features: [StatisticFeatures] - others: [StatisticOthers] - createdAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String - updatedAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String +type OfficeContacts { + contactId: String + contactName: String + contactTitle: String } -input DeleteStatisticInput{ - filter: StatisticFilterInput - id: String +input CreateOfficeContactsInput { + data: CreateOfficeContactsDataInput! } -input SingleStatisticInput { - # filtering - filter: StatisticFilterInput - sort: StatisticSortInput - search: String +input CreateOfficeContactsDataInput { + contactId: String + contactName: String + contactTitle: String +} + +input UpdateOfficeContactsInput{ + filter: OfficeContactsFilterInput id: String + data: UpdateOfficeContactsDataInput! +} - # 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 - # An identifier to name the query's execution context - contextName: String +input UpsertOfficeContactsInput{ + filter: OfficeContactsFilterInput + id: String + data: UpdateOfficeContactsDataInput! } -input MultiStatisticInput { - - # filtering - filter: StatisticFilterInput - sort: StatisticSortInput - search: String - offset: Int - limit: Int +input UpdateOfficeContactsDataInput { + contactId: String + contactName: String + contactTitle: String +} - # backwards-compatibility - # A JSON object that contains the query terms used to fetch data - # Deprecated (use 'filter/id' fields instead). - terms: JSON +input OfficeContactsFilterInput { + _and: [OfficeContactsFilterInput] + _not: OfficeContactsFilterInput + _or: [OfficeContactsFilterInput] - # options (backwards-compatibility) - # Whether to enable caching for this query - enableCache: Boolean - # Whether to calculate totalCount for this query - enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String + contactId: String_Selector + contactName: String_Selector + contactTitle: String_Selector } -type SingleStatisticOutput{ - result: Statistic +input OfficeContactsSortInput { + contactId: SortOptions + contactName: SortOptions + contactTitle: SortOptions } -type MultiStatisticOutput{ - results: [Statistic] - totalCount: Int -} -type StatisticMutationOutput{ - data: Statistic +type OfficeProjects { + projectId: String + projectTitle: String } -input CreateStatisticInput { - data: CreateStatisticDataInput! - # An identifier to name the mutation's execution context - contextName: String -} -input CreateStatisticDataInput { - episodics: [CreateStatisticEpisodicsDataInput] - pilots: [CreateStatisticPilotsDataInput] - features: [CreateStatisticFeaturesDataInput] - others: [CreateStatisticOthersDataInput] +input CreateOfficeProjectsInput { + data: CreateOfficeProjectsDataInput! } -input UpdateStatisticInput{ - filter: StatisticFilterInput - id: String - data: UpdateStatisticDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateOfficeProjectsDataInput { + projectId: String + projectTitle: String } -input UpsertStatisticInput{ - filter: StatisticFilterInput +input UpdateOfficeProjectsInput{ + filter: OfficeProjectsFilterInput id: String - data: UpdateStatisticDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficeProjectsDataInput! } -input UpdateStatisticDataInput { - episodics: [UpdateStatisticEpisodicsDataInput] - pilots: [UpdateStatisticPilotsDataInput] - features: [UpdateStatisticFeaturesDataInput] - others: [UpdateStatisticOthersDataInput] +input UpsertOfficeProjectsInput{ + filter: OfficeProjectsFilterInput + id: String + data: UpdateOfficeProjectsDataInput! } -input StatisticFilterInput { - _and: [StatisticFilterInput] - _not: StatisticFilterInput - _or: [StatisticFilterInput] - - - _id: String_Selector - createdAt: Date_Selector - userId: String_Selector - updatedAt: Date_Selector - - - - +input UpdateOfficeProjectsDataInput { + projectId: String + projectTitle: String } -input StatisticSortInput { - _id: SortOptions - createdAt: SortOptions - userId: SortOptions - updatedAt: SortOptions - episodics: SortOptions - pilots: SortOptions - features: SortOptions - others: SortOptions -} +input OfficeProjectsFilterInput { + _and: [OfficeProjectsFilterInput] + _not: OfficeProjectsFilterInput + _or: [OfficeProjectsFilterInput] -input StatisticSelectorInput { - _and: [StatisticSelectorInput] - _or: [StatisticSelectorInput] + projectId: String_Selector + projectTitle: String_Selector } -input StatisticSelectorUniqueInput { - _id: String - documentId: String # OpenCRUD backwards compatibility - slug: String - +input OfficeProjectsSortInput { + projectId: SortOptions + projectTitle: SortOptions } -type StatisticEpisodics { - date: Date - quantity: Float - dateFormatted(format: String = "MMMM D YYYY, h:mm A"): String +type OfficeLinks { + platformName: String + profileName: String + profileLink: String } -input CreateStatisticEpisodicsInput { - data: CreateStatisticEpisodicsDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateOfficeLinksInput { + data: CreateOfficeLinksDataInput! } -input CreateStatisticEpisodicsDataInput { - date: Date - quantity: Float +input CreateOfficeLinksDataInput { + platformName: String + profileName: String + profileLink: String } -input UpdateStatisticEpisodicsInput{ - filter: StatisticEpisodicsFilterInput +input UpdateOfficeLinksInput{ + filter: OfficeLinksFilterInput id: String - data: UpdateStatisticEpisodicsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficeLinksDataInput! } -input UpsertStatisticEpisodicsInput{ - filter: StatisticEpisodicsFilterInput +input UpsertOfficeLinksInput{ + filter: OfficeLinksFilterInput id: String - data: UpdateStatisticEpisodicsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficeLinksDataInput! } -input UpdateStatisticEpisodicsDataInput { - date: Date - quantity: Float +input UpdateOfficeLinksDataInput { + platformName: String + profileName: String + profileLink: String } -input StatisticEpisodicsFilterInput { - _and: [StatisticEpisodicsFilterInput] - _not: StatisticEpisodicsFilterInput - _or: [StatisticEpisodicsFilterInput] +input OfficeLinksFilterInput { + _and: [OfficeLinksFilterInput] + _not: OfficeLinksFilterInput + _or: [OfficeLinksFilterInput] - date: Date_Selector - quantity: Float_Selector + platformName: String_Selector + profileName: String_Selector + profileLink: String_Selector } -input StatisticEpisodicsSortInput { - date: SortOptions - quantity: SortOptions +input OfficeLinksSortInput { + platformName: SortOptions + profileName: SortOptions + profileLink: SortOptions } -type StatisticPilots { - date: Date - quantity: Float - dateFormatted(format: String = "MMMM D YYYY, h:mm A"): String +type OfficeAddresses { + street1: String + street2: String + city: String + state: String + zip: String + addressType: String + location: String } -input CreateStatisticPilotsInput { - data: CreateStatisticPilotsDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateOfficeAddressesInput { + data: CreateOfficeAddressesDataInput! } -input CreateStatisticPilotsDataInput { - date: Date - quantity: Float +input CreateOfficeAddressesDataInput { + street1: String + street2: String + city: String + state: String + zip: String + addressType: String + location: String } -input UpdateStatisticPilotsInput{ - filter: StatisticPilotsFilterInput +input UpdateOfficeAddressesInput{ + filter: OfficeAddressesFilterInput id: String - data: UpdateStatisticPilotsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficeAddressesDataInput! } -input UpsertStatisticPilotsInput{ - filter: StatisticPilotsFilterInput +input UpsertOfficeAddressesInput{ + filter: OfficeAddressesFilterInput id: String - data: UpdateStatisticPilotsDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input UpdateStatisticPilotsDataInput { - date: Date - quantity: Float + data: UpdateOfficeAddressesDataInput! } -input StatisticPilotsFilterInput { - _and: [StatisticPilotsFilterInput] - _not: StatisticPilotsFilterInput - _or: [StatisticPilotsFilterInput] - - - date: Date_Selector - quantity: Float_Selector +input UpdateOfficeAddressesDataInput { + street1: String + street2: String + city: String + state: String + zip: String + addressType: String + location: String } -input StatisticPilotsSortInput { - date: SortOptions - quantity: SortOptions -} +input OfficeAddressesFilterInput { + _and: [OfficeAddressesFilterInput] + _not: OfficeAddressesFilterInput + _or: [OfficeAddressesFilterInput] -type StatisticFeatures { - date: Date - quantity: Float - dateFormatted(format: String = "MMMM D YYYY, h:mm A"): String + street1: String_Selector + street2: String_Selector + city: String_Selector + state: String_Selector + zip: String_Selector + addressType: String_Selector + location: String_Selector } +input OfficeAddressesSortInput { + street1: SortOptions + street2: SortOptions + city: SortOptions + state: SortOptions + zip: SortOptions + addressType: SortOptions + location: SortOptions +} -input CreateStatisticFeaturesInput { - data: CreateStatisticFeaturesDataInput! - # An identifier to name the mutation's execution context - contextName: String + +type OfficePhones { + phoneNumberAsInput: String + phoneNumberType: String + phoneNumber: String + nationalFormat: String } -input CreateStatisticFeaturesDataInput { - date: Date - quantity: Float + +input CreateOfficePhonesInput { + data: CreateOfficePhonesDataInput! } -input UpdateStatisticFeaturesInput{ - filter: StatisticFeaturesFilterInput +input CreateOfficePhonesDataInput { + phoneNumberAsInput: String + phoneNumberType: String + phoneNumber: String + nationalFormat: String +} + +input UpdateOfficePhonesInput{ + filter: OfficePhonesFilterInput id: String - data: UpdateStatisticFeaturesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficePhonesDataInput! } -input UpsertStatisticFeaturesInput{ - filter: StatisticFeaturesFilterInput +input UpsertOfficePhonesInput{ + filter: OfficePhonesFilterInput id: String - data: UpdateStatisticFeaturesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficePhonesDataInput! } -input UpdateStatisticFeaturesDataInput { - date: Date - quantity: Float +input UpdateOfficePhonesDataInput { + phoneNumberAsInput: String + phoneNumberType: String + phoneNumber: String + nationalFormat: String } -input StatisticFeaturesFilterInput { - _and: [StatisticFeaturesFilterInput] - _not: StatisticFeaturesFilterInput - _or: [StatisticFeaturesFilterInput] +input OfficePhonesFilterInput { + _and: [OfficePhonesFilterInput] + _not: OfficePhonesFilterInput + _or: [OfficePhonesFilterInput] - date: Date_Selector - quantity: Float_Selector + phoneNumberAsInput: String_Selector + phoneNumberType: String_Selector + phoneNumber: String_Selector + nationalFormat: String_Selector } -input StatisticFeaturesSortInput { - date: SortOptions - quantity: SortOptions +input OfficePhonesSortInput { + phoneNumberAsInput: SortOptions + phoneNumberType: SortOptions + phoneNumber: SortOptions + nationalFormat: SortOptions } -type StatisticOthers { - date: Date - quantity: Float - dateFormatted(format: String = "MMMM D YYYY, h:mm A"): String +type OfficePastProjects { + projectId: String + projectTitle: String } -input CreateStatisticOthersInput { - data: CreateStatisticOthersDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateOfficePastProjectsInput { + data: CreateOfficePastProjectsDataInput! } -input CreateStatisticOthersDataInput { - date: Date - quantity: Float +input CreateOfficePastProjectsDataInput { + projectId: String + projectTitle: String } -input UpdateStatisticOthersInput{ - filter: StatisticOthersFilterInput +input UpdateOfficePastProjectsInput{ + filter: OfficePastProjectsFilterInput id: String - data: UpdateStatisticOthersDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficePastProjectsDataInput! } -input UpsertStatisticOthersInput{ - filter: StatisticOthersFilterInput +input UpsertOfficePastProjectsInput{ + filter: OfficePastProjectsFilterInput id: String - data: UpdateStatisticOthersDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateOfficePastProjectsDataInput! } -input UpdateStatisticOthersDataInput { - date: Date - quantity: Float +input UpdateOfficePastProjectsDataInput { + projectId: String + projectTitle: String } -input StatisticOthersFilterInput { - _and: [StatisticOthersFilterInput] - _not: StatisticOthersFilterInput - _or: [StatisticOthersFilterInput] +input OfficePastProjectsFilterInput { + _and: [OfficePastProjectsFilterInput] + _not: OfficePastProjectsFilterInput + _or: [OfficePastProjectsFilterInput] - date: Date_Selector - quantity: Float_Selector + projectId: String_Selector + projectTitle: String_Selector } -input StatisticOthersSortInput { - date: SortOptions - quantity: SortOptions +input OfficePastProjectsSortInput { + projectId: SortOptions + projectTitle: SortOptions } -# Type for Offices -type Office { +# Type for Projects +type Project { _id: String createdAt: Date userId: String updatedAt: Date - displayName: String - slug: String - body: String - htmlBody: String - contacts: [OfficeContacts] - theContacts: [Contact] + projectTitle: String + sortTitle: String + projectType: String + platformType: String + union: String + network: String + status: String + renewed: Boolean + shootingLocation: String + summary: String + htmlSummary: String + notes: String + htmlNotes: String + website: String + season: String + order: String + castingCompany: String + casting: String + offices: [ProjectOffices] + contacts: [ProjectContacts] + links: [ProjectLinks] allContactNames: String - projects: [OfficeProjects] - theProjects: [Project] - links: [OfficeLinks] - addresses: [OfficeAddresses] + addresses: [ProjectAddresses] allAddresses: String - phones: [OfficePhones] - pastProjects: [OfficePastProjects] - fullAddress: String - street: String - location: String - theStreet: String - theStreet1: String - theStreet2: String - theCity: String - theState: String - theLocation: String - theZip: String - createdAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String - updatedAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String + slug: String } -input DeleteOfficeInput{ - filter: OfficeFilterInput +input DeleteProjectInput{ + filter: ProjectFilterInput id: String } -input SingleOfficeInput { +input SingleProjectInput { # filtering - filter: OfficeFilterInput - sort: OfficeSortInput + filter: ProjectFilterInput + sort: ProjectSortInput search: String id: String # backwards-compatibility - # Deprecated (use 'filter/id' fields instead). - selector: OfficeSelectorUniqueInput + "Deprecated (use 'filter/id' fields instead)." + selector: ProjectSelectorUniqueInput # options (backwards-compatibility) # Whether to enable caching for this query enableCache: Boolean # Return null instead of throwing MissingDocumentError allowNull: Boolean - # An identifier to name the query's execution context - contextName: String } -input MultiOfficeInput { +input MultiProjectInput { # filtering - filter: OfficeFilterInput - sort: OfficeSortInput + filter: ProjectFilterInput + sort: ProjectSortInput 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). + "Deprecated (use 'filter/id' fields instead)." terms: JSON # options (backwards-compatibility) @@ -1332,138 +1328,156 @@ input MultiOfficeInput { enableCache: Boolean # Whether to calculate totalCount for this query enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String - + } -type SingleOfficeOutput{ - result: Office +type SingleProjectOutput{ + result: Project } -type MultiOfficeOutput{ - results: [Office] +type MultiProjectOutput{ + results: [Project] totalCount: Int } -type OfficeMutationOutput{ - data: Office +type ProjectMutationOutput{ + data: Project } -input CreateOfficeInput { - data: CreateOfficeDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateProjectInput { + data: CreateProjectDataInput! } -input CreateOfficeDataInput { - displayName: String - body: String - contacts: [CreateOfficeContactsDataInput] - projects: [CreateOfficeProjectsDataInput] - links: [CreateOfficeLinksDataInput] - addresses: [CreateOfficeAddressesDataInput] - phones: [CreateOfficePhonesDataInput] - pastProjects: [CreateOfficePastProjectsDataInput] +input CreateProjectDataInput { + projectTitle: String + projectType: String + union: String + network: String + status: String + renewed: Boolean + shootingLocation: String + summary: String + notes: String + website: String + season: String + order: String + castingCompany: String + offices: [CreateProjectOfficesDataInput] + contacts: [CreateProjectContactsDataInput] + links: [CreateProjectLinksDataInput] + addresses: [CreateProjectAddressesDataInput] + slug: String } -input UpdateOfficeInput{ - filter: OfficeFilterInput +input UpdateProjectInput{ + filter: ProjectFilterInput id: String - data: UpdateOfficeDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateProjectDataInput! } -input UpsertOfficeInput{ - filter: OfficeFilterInput +input UpsertProjectInput{ + filter: ProjectFilterInput id: String - data: UpdateOfficeDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input UpdateOfficeDataInput { - displayName: String - body: String - contacts: [UpdateOfficeContactsDataInput] - projects: [UpdateOfficeProjectsDataInput] - links: [UpdateOfficeLinksDataInput] - addresses: [UpdateOfficeAddressesDataInput] - phones: [UpdateOfficePhonesDataInput] - pastProjects: [UpdateOfficePastProjectsDataInput] + data: UpdateProjectDataInput! } -input OfficeFilterInput { - _and: [OfficeFilterInput] - _not: OfficeFilterInput - _or: [OfficeFilterInput] +input UpdateProjectDataInput { + projectTitle: String + projectType: String + union: String + network: String + status: String + renewed: Boolean + shootingLocation: String + summary: String + notes: String + website: String + season: String + order: String + castingCompany: String + offices: [UpdateProjectOfficesDataInput] + contacts: [UpdateProjectContactsDataInput] + links: [UpdateProjectLinksDataInput] + addresses: [UpdateProjectAddressesDataInput] + slug: String +} + +input ProjectFilterInput { + _and: [ProjectFilterInput] + _not: ProjectFilterInput + _or: [ProjectFilterInput] _id: String_Selector createdAt: Date_Selector userId: String_Selector updatedAt: Date_Selector - displayName: String_Selector - slug: String_Selector - body: String_Selector - htmlBody: String_Selector + projectTitle: String_Selector + sortTitle: String_Selector + projectType: String_Selector + platformType: String_Selector + union: String_Selector + network: String_Selector + status: String_Selector + renewed: Boolean_Selector + shootingLocation: String_Selector + summary: String_Selector + htmlSummary: String_Selector + notes: String_Selector + htmlNotes: String_Selector + website: String_Selector + season: String_Selector + order: String_Selector + castingCompany: String_Selector + casting: String_Selector - allContactNames: String_Selector + allContactNames: String_Selector allAddresses: String_Selector - - - fullAddress: String_Selector - street: String_Selector - location: String_Selector - theStreet: String_Selector - theStreet1: String_Selector - theStreet2: String_Selector - theCity: String_Selector - theState: String_Selector - theLocation: String_Selector - theZip: String_Selector + slug: String_Selector } -input OfficeSortInput { +input ProjectSortInput { _id: SortOptions createdAt: SortOptions userId: SortOptions updatedAt: SortOptions - displayName: SortOptions - slug: SortOptions - body: SortOptions - htmlBody: SortOptions + projectTitle: SortOptions + sortTitle: SortOptions + projectType: SortOptions + platformType: SortOptions + union: SortOptions + network: SortOptions + status: SortOptions + renewed: SortOptions + shootingLocation: SortOptions + summary: SortOptions + htmlSummary: SortOptions + notes: SortOptions + htmlNotes: SortOptions + website: SortOptions + season: SortOptions + order: SortOptions + castingCompany: SortOptions + casting: SortOptions + offices: SortOptions contacts: SortOptions - allContactNames: SortOptions - projects: SortOptions links: SortOptions + allContactNames: SortOptions addresses: SortOptions allAddresses: SortOptions - phones: SortOptions - pastProjects: SortOptions - fullAddress: SortOptions - street: SortOptions - location: SortOptions - theStreet: SortOptions - theStreet1: SortOptions - theStreet2: SortOptions - theCity: SortOptions - theState: SortOptions - theLocation: SortOptions - theZip: SortOptions + slug: SortOptions } -input OfficeSelectorInput { - _and: [OfficeSelectorInput] - _or: [OfficeSelectorInput] +input ProjectSelectorInput { + _and: [ProjectSelectorInput] + _or: [ProjectSelectorInput] } -input OfficeSelectorUniqueInput { +input ProjectSelectorUniqueInput { _id: String documentId: String # OpenCRUD backwards compatibility slug: String @@ -1471,164 +1485,151 @@ input OfficeSelectorUniqueInput { } -type OfficeContacts { - contactId: String - contactName: String - contactTitle: String +type ProjectOffices { + officeId: String + officeLocation: String + officeName: String } -input CreateOfficeContactsInput { - data: CreateOfficeContactsDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateProjectOfficesInput { + data: CreateProjectOfficesDataInput! } -input CreateOfficeContactsDataInput { - contactId: String - contactName: String - contactTitle: String +input CreateProjectOfficesDataInput { + officeId: String + officeLocation: String + officeName: String } -input UpdateOfficeContactsInput{ - filter: OfficeContactsFilterInput +input UpdateProjectOfficesInput{ + filter: ProjectOfficesFilterInput id: String - data: UpdateOfficeContactsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateProjectOfficesDataInput! } -input UpsertOfficeContactsInput{ - filter: OfficeContactsFilterInput +input UpsertProjectOfficesInput{ + filter: ProjectOfficesFilterInput id: String - data: UpdateOfficeContactsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateProjectOfficesDataInput! } -input UpdateOfficeContactsDataInput { - contactId: String - contactName: String - contactTitle: String +input UpdateProjectOfficesDataInput { + officeId: String + officeLocation: String + officeName: String } -input OfficeContactsFilterInput { - _and: [OfficeContactsFilterInput] - _not: OfficeContactsFilterInput - _or: [OfficeContactsFilterInput] +input ProjectOfficesFilterInput { + _and: [ProjectOfficesFilterInput] + _not: ProjectOfficesFilterInput + _or: [ProjectOfficesFilterInput] - contactId: String_Selector - contactName: String_Selector - contactTitle: String_Selector + officeId: String_Selector + officeLocation: String_Selector + officeName: String_Selector } -input OfficeContactsSortInput { - contactId: SortOptions - contactName: SortOptions - contactTitle: SortOptions +input ProjectOfficesSortInput { + officeId: SortOptions + officeLocation: SortOptions + officeName: SortOptions } -type OfficeProjects { - projectId: String - projectTitle: String +type ProjectContacts { + contactId: String + contactName: String + contactTitle: String } -input CreateOfficeProjectsInput { - data: CreateOfficeProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateProjectContactsInput { + data: CreateProjectContactsDataInput! } -input CreateOfficeProjectsDataInput { - projectId: String - projectTitle: String +input CreateProjectContactsDataInput { + contactId: String + contactName: String + contactTitle: String } -input UpdateOfficeProjectsInput{ - filter: OfficeProjectsFilterInput +input UpdateProjectContactsInput{ + filter: ProjectContactsFilterInput id: String - data: UpdateOfficeProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateProjectContactsDataInput! } -input UpsertOfficeProjectsInput{ - filter: OfficeProjectsFilterInput +input UpsertProjectContactsInput{ + filter: ProjectContactsFilterInput id: String - data: UpdateOfficeProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateProjectContactsDataInput! } -input UpdateOfficeProjectsDataInput { - projectId: String - projectTitle: String +input UpdateProjectContactsDataInput { + contactId: String + contactName: String + contactTitle: String } -input OfficeProjectsFilterInput { - _and: [OfficeProjectsFilterInput] - _not: OfficeProjectsFilterInput - _or: [OfficeProjectsFilterInput] +input ProjectContactsFilterInput { + _and: [ProjectContactsFilterInput] + _not: ProjectContactsFilterInput + _or: [ProjectContactsFilterInput] - projectId: String_Selector - projectTitle: String_Selector + contactId: String_Selector + contactName: String_Selector + contactTitle: String_Selector } -input OfficeProjectsSortInput { - projectId: SortOptions - projectTitle: SortOptions +input ProjectContactsSortInput { + contactId: SortOptions + contactName: SortOptions + contactTitle: SortOptions } -type OfficeLinks { +type ProjectLinks { platformName: String profileName: String profileLink: String } -input CreateOfficeLinksInput { - data: CreateOfficeLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateProjectLinksInput { + data: CreateProjectLinksDataInput! } -input CreateOfficeLinksDataInput { +input CreateProjectLinksDataInput { platformName: String profileName: String profileLink: String } -input UpdateOfficeLinksInput{ - filter: OfficeLinksFilterInput +input UpdateProjectLinksInput{ + filter: ProjectLinksFilterInput id: String - data: UpdateOfficeLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateProjectLinksDataInput! } -input UpsertOfficeLinksInput{ - filter: OfficeLinksFilterInput +input UpsertProjectLinksInput{ + filter: ProjectLinksFilterInput id: String - data: UpdateOfficeLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateProjectLinksDataInput! } -input UpdateOfficeLinksDataInput { +input UpdateProjectLinksDataInput { platformName: String profileName: String profileLink: String } -input OfficeLinksFilterInput { - _and: [OfficeLinksFilterInput] - _not: OfficeLinksFilterInput - _or: [OfficeLinksFilterInput] +input ProjectLinksFilterInput { + _and: [ProjectLinksFilterInput] + _not: ProjectLinksFilterInput + _or: [ProjectLinksFilterInput] platformName: String_Selector @@ -1636,14 +1637,14 @@ input OfficeLinksFilterInput { profileLink: String_Selector } -input OfficeLinksSortInput { +input ProjectLinksSortInput { platformName: SortOptions profileName: SortOptions profileLink: SortOptions } -type OfficeAddresses { +type ProjectAddresses { street1: String street2: String city: String @@ -1654,13 +1655,11 @@ type OfficeAddresses { } -input CreateOfficeAddressesInput { - data: CreateOfficeAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateProjectAddressesInput { + data: CreateProjectAddressesDataInput! } -input CreateOfficeAddressesDataInput { +input CreateProjectAddressesDataInput { street1: String street2: String city: String @@ -1670,23 +1669,19 @@ input CreateOfficeAddressesDataInput { location: String } -input UpdateOfficeAddressesInput{ - filter: OfficeAddressesFilterInput +input UpdateProjectAddressesInput{ + filter: ProjectAddressesFilterInput id: String - data: UpdateOfficeAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateProjectAddressesDataInput! } -input UpsertOfficeAddressesInput{ - filter: OfficeAddressesFilterInput +input UpsertProjectAddressesInput{ + filter: ProjectAddressesFilterInput id: String - data: UpdateOfficeAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateProjectAddressesDataInput! } -input UpdateOfficeAddressesDataInput { +input UpdateProjectAddressesDataInput { street1: String street2: String city: String @@ -1696,10 +1691,10 @@ input UpdateOfficeAddressesDataInput { location: String } -input OfficeAddressesFilterInput { - _and: [OfficeAddressesFilterInput] - _not: OfficeAddressesFilterInput - _or: [OfficeAddressesFilterInput] +input ProjectAddressesFilterInput { + _and: [ProjectAddressesFilterInput] + _not: ProjectAddressesFilterInput + _or: [ProjectAddressesFilterInput] street1: String_Selector @@ -1711,7 +1706,7 @@ input OfficeAddressesFilterInput { location: String_Selector } -input OfficeAddressesSortInput { +input ProjectAddressesSortInput { street1: SortOptions street2: SortOptions city: SortOptions @@ -1722,202 +1717,69 @@ input OfficeAddressesSortInput { } -type OfficePhones { - phoneNumberAsInput: String - phoneNumberType: String - phoneNumber: String - nationalFormat: String - countryCode: String -} - - -input CreateOfficePhonesInput { - data: CreateOfficePhonesDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input CreateOfficePhonesDataInput { - phoneNumberAsInput: String - phoneNumberType: String - phoneNumber: String - nationalFormat: String - countryCode: String -} - -input UpdateOfficePhonesInput{ - filter: OfficePhonesFilterInput - id: String - data: UpdateOfficePhonesDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input UpsertOfficePhonesInput{ - filter: OfficePhonesFilterInput - id: String - data: UpdateOfficePhonesDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input UpdateOfficePhonesDataInput { - phoneNumberAsInput: String - phoneNumberType: String - phoneNumber: String - nationalFormat: String - countryCode: String -} - -input OfficePhonesFilterInput { - _and: [OfficePhonesFilterInput] - _not: OfficePhonesFilterInput - _or: [OfficePhonesFilterInput] - - - phoneNumberAsInput: String_Selector - phoneNumberType: String_Selector - phoneNumber: String_Selector - nationalFormat: String_Selector - countryCode: String_Selector -} - -input OfficePhonesSortInput { - phoneNumberAsInput: SortOptions - phoneNumberType: SortOptions - phoneNumber: SortOptions - nationalFormat: SortOptions - countryCode: SortOptions -} - - -type OfficePastProjects { - projectId: String - projectTitle: String -} - - -input CreateOfficePastProjectsInput { - data: CreateOfficePastProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input CreateOfficePastProjectsDataInput { - projectId: String - projectTitle: String -} - -input UpdateOfficePastProjectsInput{ - filter: OfficePastProjectsFilterInput - id: String - data: UpdateOfficePastProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input UpsertOfficePastProjectsInput{ - filter: OfficePastProjectsFilterInput - id: String - data: UpdateOfficePastProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input UpdateOfficePastProjectsDataInput { - projectId: String - projectTitle: String -} - -input OfficePastProjectsFilterInput { - _and: [OfficePastProjectsFilterInput] - _not: OfficePastProjectsFilterInput - _or: [OfficePastProjectsFilterInput] - - - projectId: String_Selector - projectTitle: String_Selector -} - -input OfficePastProjectsSortInput { - projectId: SortOptions - projectTitle: SortOptions -} - - -# Type for Projects -type Project { +# Type for Contacts +type Contact { _id: String createdAt: Date userId: String - updatedAt: Date - projectTitle: String - sortTitle: String - projectType: String - platformType: String - union: String - network: String - status: String - renewed: Boolean - shootingLocation: String - summary: String - htmlSummary: String - notes: String - htmlNotes: String - website: String - season: String - order: String - castingCompany: String - casting: String - offices: [ProjectOffices] - contacts: [ProjectContacts] - links: [ProjectLinks] - allContactNames: String - addresses: [ProjectAddresses] + firstName: String + middleName: String + lastName: String + displayName: String + title: String + gender: String + body: String + htmlBody: String + links: [ContactLinks] + allLinks: String + addresses: [ContactAddresses] allAddresses: String + addressString: String + theAddress: ContactTheAddress slug: String - createdAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String - updatedAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String + updatedAt: Date + offices: [ContactOffices] + projects: [ContactProjects] + pastProjects: [ContactPastProjects] + fullName: String } -input DeleteProjectInput{ - filter: ProjectFilterInput +input DeleteContactInput{ + filter: ContactFilterInput id: String } -input SingleProjectInput { +input SingleContactInput { # filtering - filter: ProjectFilterInput - sort: ProjectSortInput + filter: ContactFilterInput + sort: ContactSortInput search: String id: String # backwards-compatibility - # Deprecated (use 'filter/id' fields instead). - selector: ProjectSelectorUniqueInput + "Deprecated (use 'filter/id' fields instead)." + selector: ContactSelectorUniqueInput # options (backwards-compatibility) # Whether to enable caching for this query enableCache: Boolean # Return null instead of throwing MissingDocumentError allowNull: Boolean - # An identifier to name the query's execution context - contextName: String } -input MultiProjectInput { +input MultiContactInput { # filtering - filter: ProjectFilterInput - sort: ProjectSortInput + filter: ContactFilterInput + sort: ContactSortInput 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). + "Deprecated (use 'filter/id' fields instead)." terms: JSON # options (backwards-compatibility) @@ -1925,166 +1787,134 @@ input MultiProjectInput { enableCache: Boolean # Whether to calculate totalCount for this query enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String - + } -type SingleProjectOutput{ - result: Project +type SingleContactOutput{ + result: Contact } -type MultiProjectOutput{ - results: [Project] +type MultiContactOutput{ + results: [Contact] totalCount: Int } -type ProjectMutationOutput{ - data: Project +type ContactMutationOutput{ + data: Contact } -input CreateProjectInput { - data: CreateProjectDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateContactInput { + data: CreateContactDataInput! } -input CreateProjectDataInput { - projectTitle: String - sortTitle: String - projectType: String - union: String - network: String - status: String - renewed: Boolean - shootingLocation: String - summary: String - notes: String - website: String - season: String - order: String - castingCompany: String - offices: [CreateProjectOfficesDataInput] - contacts: [CreateProjectContactsDataInput] - links: [CreateProjectLinksDataInput] - addresses: [CreateProjectAddressesDataInput] +input CreateContactDataInput { + firstName: String + middleName: String + lastName: String + displayName: String + title: String + gender: String + body: String + links: [CreateContactLinksDataInput] + addresses: [CreateContactAddressesDataInput] slug: String -} + offices: [CreateContactOfficesDataInput] + projects: [CreateContactProjectsDataInput] + pastProjects: [CreateContactPastProjectsDataInput] +} -input UpdateProjectInput{ - filter: ProjectFilterInput +input UpdateContactInput{ + filter: ContactFilterInput id: String - data: UpdateProjectDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactDataInput! } -input UpsertProjectInput{ - filter: ProjectFilterInput +input UpsertContactInput{ + filter: ContactFilterInput id: String - data: UpdateProjectDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactDataInput! } -input UpdateProjectDataInput { - projectTitle: String - sortTitle: String - projectType: String - union: String - network: String - status: String - renewed: Boolean - shootingLocation: String - summary: String - notes: String - website: String - season: String - order: String - castingCompany: String - offices: [UpdateProjectOfficesDataInput] - contacts: [UpdateProjectContactsDataInput] - links: [UpdateProjectLinksDataInput] - addresses: [UpdateProjectAddressesDataInput] +input UpdateContactDataInput { + firstName: String + middleName: String + lastName: String + displayName: String + title: String + gender: String + body: String + links: [UpdateContactLinksDataInput] + addresses: [UpdateContactAddressesDataInput] slug: String + offices: [UpdateContactOfficesDataInput] + projects: [UpdateContactProjectsDataInput] + pastProjects: [UpdateContactPastProjectsDataInput] } -input ProjectFilterInput { - _and: [ProjectFilterInput] - _not: ProjectFilterInput - _or: [ProjectFilterInput] +input ContactFilterInput { + _and: [ContactFilterInput] + _not: ContactFilterInput + _or: [ContactFilterInput] _id: String_Selector createdAt: Date_Selector userId: String_Selector - updatedAt: Date_Selector - projectTitle: String_Selector - sortTitle: String_Selector - projectType: String_Selector - platformType: String_Selector - union: String_Selector - network: String_Selector - status: String_Selector - renewed: Boolean_Selector - shootingLocation: String_Selector - summary: String_Selector - htmlSummary: String_Selector - notes: String_Selector - htmlNotes: String_Selector - website: String_Selector - season: String_Selector - order: String_Selector - castingCompany: String_Selector - casting: String_Selector - - + firstName: String_Selector + middleName: String_Selector + lastName: String_Selector + displayName: String_Selector + title: String_Selector + gender: String_Selector + body: String_Selector + htmlBody: String_Selector - allContactNames: String_Selector + allLinks: String_Selector allAddresses: String_Selector + addressString: String_Selector + slug: String_Selector + updatedAt: Date_Selector + + + + fullName: String_Selector } -input ProjectSortInput { +input ContactSortInput { _id: SortOptions createdAt: SortOptions userId: SortOptions - updatedAt: SortOptions - projectTitle: SortOptions - sortTitle: SortOptions - projectType: SortOptions - platformType: SortOptions - union: SortOptions - network: SortOptions - status: SortOptions - renewed: SortOptions - shootingLocation: SortOptions - summary: SortOptions - htmlSummary: SortOptions - notes: SortOptions - htmlNotes: SortOptions - website: SortOptions - season: SortOptions - order: SortOptions - castingCompany: SortOptions - casting: SortOptions - offices: SortOptions - contacts: SortOptions + firstName: SortOptions + middleName: SortOptions + lastName: SortOptions + displayName: SortOptions + title: SortOptions + gender: SortOptions + body: SortOptions + htmlBody: SortOptions links: SortOptions - allContactNames: SortOptions + allLinks: SortOptions addresses: SortOptions allAddresses: SortOptions + addressString: SortOptions + theAddress: SortOptions slug: SortOptions + updatedAt: SortOptions + offices: SortOptions + projects: SortOptions + pastProjects: SortOptions + fullName: SortOptions } -input ProjectSelectorInput { - _and: [ProjectSelectorInput] - _or: [ProjectSelectorInput] +input ContactSelectorInput { + _and: [ContactSelectorInput] + _or: [ContactSelectorInput] } -input ProjectSelectorUniqueInput { +input ContactSelectorUniqueInput { _id: String documentId: String # OpenCRUD backwards compatibility slug: String @@ -2092,184 +1922,133 @@ input ProjectSelectorUniqueInput { } -type ProjectOffices { - officeId: String - officeLocation: String - officeName: String +type ContactLinks { + platformName: String + profileName: String + profileLink: String } -input CreateProjectOfficesInput { - data: CreateProjectOfficesDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateContactLinksInput { + data: CreateContactLinksDataInput! } -input CreateProjectOfficesDataInput { - officeId: String - officeLocation: String - officeName: String +input CreateContactLinksDataInput { + platformName: String + profileName: String + profileLink: String } -input UpdateProjectOfficesInput{ - filter: ProjectOfficesFilterInput +input UpdateContactLinksInput{ + filter: ContactLinksFilterInput id: String - data: UpdateProjectOfficesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactLinksDataInput! } -input UpsertProjectOfficesInput{ - filter: ProjectOfficesFilterInput +input UpsertContactLinksInput{ + filter: ContactLinksFilterInput id: String - data: UpdateProjectOfficesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactLinksDataInput! } -input UpdateProjectOfficesDataInput { - officeId: String - officeLocation: String - officeName: String +input UpdateContactLinksDataInput { + platformName: String + profileName: String + profileLink: String } -input ProjectOfficesFilterInput { - _and: [ProjectOfficesFilterInput] - _not: ProjectOfficesFilterInput - _or: [ProjectOfficesFilterInput] +input ContactLinksFilterInput { + _and: [ContactLinksFilterInput] + _not: ContactLinksFilterInput + _or: [ContactLinksFilterInput] - officeId: String_Selector - officeLocation: String_Selector - officeName: String_Selector + platformName: String_Selector + profileName: String_Selector + profileLink: String_Selector } -input ProjectOfficesSortInput { - officeId: SortOptions - officeLocation: SortOptions - officeName: SortOptions +input ContactLinksSortInput { + platformName: SortOptions + profileName: SortOptions + profileLink: SortOptions } -type ProjectContacts { - contactId: String - contactName: String - contactTitle: String +type ContactAddresses { + street1: String + street2: String + city: String + state: String + zip: String + addressType: String + location: String } -input CreateProjectContactsInput { - data: CreateProjectContactsDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateContactAddressesInput { + data: CreateContactAddressesDataInput! } -input CreateProjectContactsDataInput { - contactId: String - contactName: String - contactTitle: String +input CreateContactAddressesDataInput { + street1: String + street2: String + city: String + state: String + zip: String + addressType: String + location: String } -input UpdateProjectContactsInput{ - filter: ProjectContactsFilterInput +input UpdateContactAddressesInput{ + filter: ContactAddressesFilterInput id: String - data: UpdateProjectContactsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactAddressesDataInput! } -input UpsertProjectContactsInput{ - filter: ProjectContactsFilterInput +input UpsertContactAddressesInput{ + filter: ContactAddressesFilterInput id: String - data: UpdateProjectContactsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactAddressesDataInput! } -input UpdateProjectContactsDataInput { - contactId: String - contactName: String - contactTitle: String +input UpdateContactAddressesDataInput { + street1: String + street2: String + city: String + state: String + zip: String + addressType: String + location: String } -input ProjectContactsFilterInput { - _and: [ProjectContactsFilterInput] - _not: ProjectContactsFilterInput - _or: [ProjectContactsFilterInput] - - - contactId: String_Selector - contactName: String_Selector - contactTitle: String_Selector -} - -input ProjectContactsSortInput { - contactId: SortOptions - contactName: SortOptions - contactTitle: SortOptions -} - - -type ProjectLinks { - platformName: String - profileName: String - profileLink: String -} - - -input CreateProjectLinksInput { - data: CreateProjectLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input CreateProjectLinksDataInput { - platformName: String - profileName: String - profileLink: String -} - -input UpdateProjectLinksInput{ - filter: ProjectLinksFilterInput - id: String - data: UpdateProjectLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input UpsertProjectLinksInput{ - filter: ProjectLinksFilterInput - id: String - data: UpdateProjectLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input UpdateProjectLinksDataInput { - platformName: String - profileName: String - profileLink: String -} - -input ProjectLinksFilterInput { - _and: [ProjectLinksFilterInput] - _not: ProjectLinksFilterInput - _or: [ProjectLinksFilterInput] +input ContactAddressesFilterInput { + _and: [ContactAddressesFilterInput] + _not: ContactAddressesFilterInput + _or: [ContactAddressesFilterInput] - platformName: String_Selector - profileName: String_Selector - profileLink: String_Selector + street1: String_Selector + street2: String_Selector + city: String_Selector + state: String_Selector + zip: String_Selector + addressType: String_Selector + location: String_Selector } -input ProjectLinksSortInput { - platformName: SortOptions - profileName: SortOptions - profileLink: SortOptions +input ContactAddressesSortInput { + street1: SortOptions + street2: SortOptions + city: SortOptions + state: SortOptions + zip: SortOptions + addressType: SortOptions + location: SortOptions } -type ProjectAddresses { +type ContactTheAddress { street1: String street2: String city: String @@ -2280,13 +2059,11 @@ type ProjectAddresses { } -input CreateProjectAddressesInput { - data: CreateProjectAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateContactTheAddressInput { + data: CreateContactTheAddressDataInput! } -input CreateProjectAddressesDataInput { +input CreateContactTheAddressDataInput { street1: String street2: String city: String @@ -2296,23 +2073,19 @@ input CreateProjectAddressesDataInput { location: String } -input UpdateProjectAddressesInput{ - filter: ProjectAddressesFilterInput +input UpdateContactTheAddressInput{ + filter: ContactTheAddressFilterInput id: String - data: UpdateProjectAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactTheAddressDataInput! } -input UpsertProjectAddressesInput{ - filter: ProjectAddressesFilterInput +input UpsertContactTheAddressInput{ + filter: ContactTheAddressFilterInput id: String - data: UpdateProjectAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactTheAddressDataInput! } -input UpdateProjectAddressesDataInput { +input UpdateContactTheAddressDataInput { street1: String street2: String city: String @@ -2322,10 +2095,10 @@ input UpdateProjectAddressesDataInput { location: String } -input ProjectAddressesFilterInput { - _and: [ProjectAddressesFilterInput] - _not: ProjectAddressesFilterInput - _or: [ProjectAddressesFilterInput] +input ContactTheAddressFilterInput { + _and: [ContactTheAddressFilterInput] + _not: ContactTheAddressFilterInput + _or: [ContactTheAddressFilterInput] street1: String_Selector @@ -2337,7 +2110,7 @@ input ProjectAddressesFilterInput { location: String_Selector } -input ProjectAddressesSortInput { +input ContactTheAddressSortInput { street1: SortOptions street2: SortOptions city: SortOptions @@ -2348,265 +2121,492 @@ input ProjectAddressesSortInput { } -# Type for Contacts -type Contact { - _id: String - createdAt: Date - userId: String - updatedAt: Date - firstName: String - middleName: String - lastName: String - displayName: String - title: String - gender: String - body: String - htmlBody: String - links: [ContactLinks] - allLinks: String - addresses: [ContactAddresses] - allAddresses: String - addressString: String - theAddress: ContactTheAddress - slug: String - offices: [ContactOffices] - projects: [ContactProjects] - pastProjects: [ContactPastProjects] - createdAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String - updatedAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String +type ContactOffices { + officeId: String + officeLocation: String + officeName: String } -input DeleteContactInput{ - filter: ContactFilterInput - id: String +input CreateContactOfficesInput { + data: CreateContactOfficesDataInput! } -input SingleContactInput { - # filtering - filter: ContactFilterInput - sort: ContactSortInput - search: String - id: String - - # backwards-compatibility - # Deprecated (use 'filter/id' fields instead). - selector: ContactSelectorUniqueInput +input CreateContactOfficesDataInput { + officeId: String + officeLocation: String + officeName: String +} - # options (backwards-compatibility) - # Whether to enable caching for this query - enableCache: Boolean - # Return null instead of throwing MissingDocumentError - allowNull: Boolean - # An identifier to name the query's execution context - contextName: String +input UpdateContactOfficesInput{ + filter: ContactOfficesFilterInput + id: String + data: UpdateContactOfficesDataInput! } -input MultiContactInput { +input UpsertContactOfficesInput{ + filter: ContactOfficesFilterInput + id: String + data: UpdateContactOfficesDataInput! +} - # filtering - filter: ContactFilterInput - sort: ContactSortInput - search: String - offset: Int - limit: Int +input UpdateContactOfficesDataInput { + officeId: String + officeLocation: String + officeName: String +} - # backwards-compatibility - # A JSON object that contains the query terms used to fetch data - # Deprecated (use 'filter/id' fields instead). - terms: JSON +input ContactOfficesFilterInput { + _and: [ContactOfficesFilterInput] + _not: ContactOfficesFilterInput + _or: [ContactOfficesFilterInput] - # options (backwards-compatibility) - # Whether to enable caching for this query - enableCache: Boolean - # Whether to calculate totalCount for this query - enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String + officeId: String_Selector + officeLocation: String_Selector + officeName: String_Selector } -type SingleContactOutput{ - result: Contact +input ContactOfficesSortInput { + officeId: SortOptions + officeLocation: SortOptions + officeName: SortOptions } -type MultiContactOutput{ - results: [Contact] - totalCount: Int -} -type ContactMutationOutput{ - data: Contact +type ContactProjects { + projectId: String + projectTitle: String + titleForProject: String } -input CreateContactInput { - data: CreateContactDataInput! - # An identifier to name the mutation's execution context - contextName: String + +input CreateContactProjectsInput { + data: CreateContactProjectsDataInput! } -input CreateContactDataInput { - firstName: String - middleName: String - lastName: String - displayName: String - title: String - gender: String - body: String - links: [CreateContactLinksDataInput] - addresses: [CreateContactAddressesDataInput] - slug: String - offices: [CreateContactOfficesDataInput] - projects: [CreateContactProjectsDataInput] - pastProjects: [CreateContactPastProjectsDataInput] +input CreateContactProjectsDataInput { + projectId: String + projectTitle: String + titleForProject: String } -input UpdateContactInput{ - filter: ContactFilterInput +input UpdateContactProjectsInput{ + filter: ContactProjectsFilterInput id: String - data: UpdateContactDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactProjectsDataInput! } -input UpsertContactInput{ - filter: ContactFilterInput +input UpsertContactProjectsInput{ + filter: ContactProjectsFilterInput id: String - data: UpdateContactDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateContactProjectsDataInput! } -input UpdateContactDataInput { - firstName: String - middleName: String - lastName: String - displayName: String - title: String - gender: String - body: String - links: [UpdateContactLinksDataInput] - addresses: [UpdateContactAddressesDataInput] +input UpdateContactProjectsDataInput { + projectId: String + projectTitle: String + titleForProject: String +} + +input ContactProjectsFilterInput { + _and: [ContactProjectsFilterInput] + _not: ContactProjectsFilterInput + _or: [ContactProjectsFilterInput] + + + projectId: String_Selector + projectTitle: String_Selector + titleForProject: String_Selector +} + +input ContactProjectsSortInput { + projectId: SortOptions + projectTitle: SortOptions + titleForProject: SortOptions +} + + +type ContactPastProjects { + projectId: String + projectTitle: String + titleForProject: String +} + + +input CreateContactPastProjectsInput { + data: CreateContactPastProjectsDataInput! +} + +input CreateContactPastProjectsDataInput { + projectId: String + projectTitle: String + titleForProject: String +} + +input UpdateContactPastProjectsInput{ + filter: ContactPastProjectsFilterInput + id: String + data: UpdateContactPastProjectsDataInput! +} + +input UpsertContactPastProjectsInput{ + filter: ContactPastProjectsFilterInput + id: String + data: UpdateContactPastProjectsDataInput! +} + +input UpdateContactPastProjectsDataInput { + projectId: String + projectTitle: String + titleForProject: String +} + +input ContactPastProjectsFilterInput { + _and: [ContactPastProjectsFilterInput] + _not: ContactPastProjectsFilterInput + _or: [ContactPastProjectsFilterInput] + + + projectId: String_Selector + projectTitle: String_Selector + titleForProject: String_Selector +} + +input ContactPastProjectsSortInput { + projectId: SortOptions + projectTitle: SortOptions + titleForProject: SortOptions +} + + +# Type for PastProjects +type PastProject { + _id: String + createdAt: Date + userId: String + updatedAt: Date + projectTitle: String + sortTitle: String + projectType: String + platformType: String + union: String + network: String + status: String + renewed: Boolean + shootingLocation: String + summary: String + htmlSummary: String + website: String + notes: String + htmlNotes: String + season: String + order: String + casting: String + castingCompany: String + offices: [PastProjectOffices] slug: String - offices: [UpdateContactOfficesDataInput] - projects: [UpdateContactProjectsDataInput] - pastProjects: [UpdateContactPastProjectsDataInput] + links: [PastProjectLinks] + contacts: [PastProjectContacts] + allContactNames: String + addresses: [PastProjectAddresses] + allAddresses: String } -input ContactFilterInput { - _and: [ContactFilterInput] - _not: ContactFilterInput - _or: [ContactFilterInput] + +input DeletePastProjectInput{ + filter: PastProjectFilterInput + id: String +} + +input SinglePastProjectInput { + # filtering + filter: PastProjectFilterInput + sort: PastProjectSortInput + search: String + id: String + + # backwards-compatibility + "Deprecated (use 'filter/id' fields instead)." + selector: PastProjectSelectorUniqueInput + + # options (backwards-compatibility) + # Whether to enable caching for this query + enableCache: Boolean + # Return null instead of throwing MissingDocumentError + allowNull: Boolean +} + +input MultiPastProjectInput { + + # filtering + filter: PastProjectFilterInput + sort: PastProjectSortInput + 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 SinglePastProjectOutput{ + result: PastProject +} + +type MultiPastProjectOutput{ + results: [PastProject] + totalCount: Int +} + +type PastProjectMutationOutput{ + data: PastProject +} + +input CreatePastProjectInput { + data: CreatePastProjectDataInput! +} + +input CreatePastProjectDataInput { + projectTitle: String + sortTitle: String + projectType: String + union: String + network: String + status: String + renewed: Boolean + shootingLocation: String + summary: String + website: String + notes: String + season: String + order: String + castingCompany: String + offices: [CreatePastProjectOfficesDataInput] + slug: String + links: [CreatePastProjectLinksDataInput] + contacts: [CreatePastProjectContactsDataInput] + addresses: [CreatePastProjectAddressesDataInput] +} + +input UpdatePastProjectInput{ + filter: PastProjectFilterInput + id: String + data: UpdatePastProjectDataInput! +} + +input UpsertPastProjectInput{ + filter: PastProjectFilterInput + id: String + data: UpdatePastProjectDataInput! +} + +input UpdatePastProjectDataInput { + projectTitle: String + sortTitle: String + projectType: String + union: String + network: String + status: String + renewed: Boolean + shootingLocation: String + summary: String + website: String + notes: String + season: String + order: String + castingCompany: String + offices: [UpdatePastProjectOfficesDataInput] + slug: String + links: [UpdatePastProjectLinksDataInput] + contacts: [UpdatePastProjectContactsDataInput] + addresses: [UpdatePastProjectAddressesDataInput] +} + +input PastProjectFilterInput { + _and: [PastProjectFilterInput] + _not: PastProjectFilterInput + _or: [PastProjectFilterInput] _id: String_Selector createdAt: Date_Selector userId: String_Selector updatedAt: Date_Selector - firstName: String_Selector - middleName: String_Selector - lastName: String_Selector - displayName: String_Selector - title: String_Selector - gender: String_Selector - body: String_Selector - htmlBody: String_Selector + projectTitle: String_Selector + sortTitle: String_Selector + projectType: String_Selector + platformType: String_Selector + union: String_Selector + network: String_Selector + status: String_Selector + renewed: Boolean_Selector + shootingLocation: String_Selector + summary: String_Selector + htmlSummary: String_Selector + website: String_Selector + notes: String_Selector + htmlNotes: String_Selector + season: String_Selector + order: String_Selector + casting: String_Selector + castingCompany: String_Selector + + slug: String_Selector + + + allContactNames: String_Selector + + allAddresses: String_Selector +} + +input PastProjectSortInput { + _id: SortOptions + createdAt: SortOptions + userId: SortOptions + updatedAt: SortOptions + projectTitle: SortOptions + sortTitle: SortOptions + projectType: SortOptions + platformType: SortOptions + union: SortOptions + network: SortOptions + status: SortOptions + renewed: SortOptions + shootingLocation: SortOptions + summary: SortOptions + htmlSummary: SortOptions + website: SortOptions + notes: SortOptions + htmlNotes: SortOptions + season: SortOptions + order: SortOptions + casting: SortOptions + castingCompany: SortOptions + offices: SortOptions + slug: SortOptions + links: SortOptions + contacts: SortOptions + allContactNames: SortOptions + addresses: SortOptions + allAddresses: SortOptions +} + +input PastProjectSelectorInput { + _and: [PastProjectSelectorInput] + _or: [PastProjectSelectorInput] - allLinks: String_Selector +} - allAddresses: String_Selector - addressString: String_Selector +input PastProjectSelectorUniqueInput { + _id: String + documentId: String # OpenCRUD backwards compatibility + slug: String - slug: String_Selector +} +type PastProjectOffices { + officeId: String + officeLocation: String + officeName: String +} + +input CreatePastProjectOfficesInput { + data: CreatePastProjectOfficesDataInput! } -input ContactSortInput { - _id: SortOptions - createdAt: SortOptions - userId: SortOptions - updatedAt: SortOptions - firstName: SortOptions - middleName: SortOptions - lastName: SortOptions - displayName: SortOptions - title: SortOptions - gender: SortOptions - body: SortOptions - htmlBody: SortOptions - links: SortOptions - allLinks: SortOptions - addresses: SortOptions - allAddresses: SortOptions - addressString: SortOptions - theAddress: SortOptions - slug: SortOptions - offices: SortOptions - projects: SortOptions - pastProjects: SortOptions +input CreatePastProjectOfficesDataInput { + officeId: String + officeLocation: String + officeName: String } -input ContactSelectorInput { - _and: [ContactSelectorInput] - _or: [ContactSelectorInput] +input UpdatePastProjectOfficesInput{ + filter: PastProjectOfficesFilterInput + id: String + data: UpdatePastProjectOfficesDataInput! +} +input UpsertPastProjectOfficesInput{ + filter: PastProjectOfficesFilterInput + id: String + data: UpdatePastProjectOfficesDataInput! } -input ContactSelectorUniqueInput { - _id: String - documentId: String # OpenCRUD backwards compatibility - slug: String +input UpdatePastProjectOfficesDataInput { + officeId: String + officeLocation: String + officeName: String +} + +input PastProjectOfficesFilterInput { + _and: [PastProjectOfficesFilterInput] + _not: PastProjectOfficesFilterInput + _or: [PastProjectOfficesFilterInput] + + + officeId: String_Selector + officeLocation: String_Selector + officeName: String_Selector +} +input PastProjectOfficesSortInput { + officeId: SortOptions + officeLocation: SortOptions + officeName: SortOptions } -type ContactLinks { +type PastProjectLinks { platformName: String profileName: String profileLink: String } -input CreateContactLinksInput { - data: CreateContactLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreatePastProjectLinksInput { + data: CreatePastProjectLinksDataInput! } -input CreateContactLinksDataInput { +input CreatePastProjectLinksDataInput { platformName: String profileName: String profileLink: String } -input UpdateContactLinksInput{ - filter: ContactLinksFilterInput +input UpdatePastProjectLinksInput{ + filter: PastProjectLinksFilterInput id: String - data: UpdateContactLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdatePastProjectLinksDataInput! } -input UpsertContactLinksInput{ - filter: ContactLinksFilterInput +input UpsertPastProjectLinksInput{ + filter: PastProjectLinksFilterInput id: String - data: UpdateContactLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdatePastProjectLinksDataInput! } -input UpdateContactLinksDataInput { +input UpdatePastProjectLinksDataInput { platformName: String profileName: String profileLink: String } -input ContactLinksFilterInput { - _and: [ContactLinksFilterInput] - _not: ContactLinksFilterInput - _or: [ContactLinksFilterInput] +input PastProjectLinksFilterInput { + _and: [PastProjectLinksFilterInput] + _not: PastProjectLinksFilterInput + _or: [PastProjectLinksFilterInput] platformName: String_Selector @@ -2614,93 +2614,67 @@ input ContactLinksFilterInput { profileLink: String_Selector } -input ContactLinksSortInput { +input PastProjectLinksSortInput { platformName: SortOptions profileName: SortOptions profileLink: SortOptions } -type ContactAddresses { - street1: String - street2: String - city: String - state: String - zip: String - addressType: String - location: String +type PastProjectContacts { + contactId: String + contactName: String + contactTitle: String } -input CreateContactAddressesInput { - data: CreateContactAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreatePastProjectContactsInput { + data: CreatePastProjectContactsDataInput! } -input CreateContactAddressesDataInput { - street1: String - street2: String - city: String - state: String - zip: String - addressType: String - location: String +input CreatePastProjectContactsDataInput { + contactId: String + contactName: String + contactTitle: String } -input UpdateContactAddressesInput{ - filter: ContactAddressesFilterInput +input UpdatePastProjectContactsInput{ + filter: PastProjectContactsFilterInput id: String - data: UpdateContactAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdatePastProjectContactsDataInput! } -input UpsertContactAddressesInput{ - filter: ContactAddressesFilterInput +input UpsertPastProjectContactsInput{ + filter: PastProjectContactsFilterInput id: String - data: UpdateContactAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdatePastProjectContactsDataInput! } -input UpdateContactAddressesDataInput { - street1: String - street2: String - city: String - state: String - zip: String - addressType: String - location: String +input UpdatePastProjectContactsDataInput { + contactId: String + contactName: String + contactTitle: String } -input ContactAddressesFilterInput { - _and: [ContactAddressesFilterInput] - _not: ContactAddressesFilterInput - _or: [ContactAddressesFilterInput] +input PastProjectContactsFilterInput { + _and: [PastProjectContactsFilterInput] + _not: PastProjectContactsFilterInput + _or: [PastProjectContactsFilterInput] - street1: String_Selector - street2: String_Selector - city: String_Selector - state: String_Selector - zip: String_Selector - addressType: String_Selector - location: String_Selector + contactId: String_Selector + contactName: String_Selector + contactTitle: String_Selector } -input ContactAddressesSortInput { - street1: SortOptions - street2: SortOptions - city: SortOptions - state: SortOptions - zip: SortOptions - addressType: SortOptions - location: SortOptions +input PastProjectContactsSortInput { + contactId: SortOptions + contactName: SortOptions + contactTitle: SortOptions } -type ContactTheAddress { +type PastProjectAddresses { street1: String street2: String city: String @@ -2711,13 +2685,11 @@ type ContactTheAddress { } -input CreateContactTheAddressInput { - data: CreateContactTheAddressDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreatePastProjectAddressesInput { + data: CreatePastProjectAddressesDataInput! } -input CreateContactTheAddressDataInput { +input CreatePastProjectAddressesDataInput { street1: String street2: String city: String @@ -2727,23 +2699,19 @@ input CreateContactTheAddressDataInput { location: String } -input UpdateContactTheAddressInput{ - filter: ContactTheAddressFilterInput +input UpdatePastProjectAddressesInput{ + filter: PastProjectAddressesFilterInput id: String - data: UpdateContactTheAddressDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdatePastProjectAddressesDataInput! } -input UpsertContactTheAddressInput{ - filter: ContactTheAddressFilterInput +input UpsertPastProjectAddressesInput{ + filter: PastProjectAddressesFilterInput id: String - data: UpdateContactTheAddressDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdatePastProjectAddressesDataInput! } -input UpdateContactTheAddressDataInput { +input UpdatePastProjectAddressesDataInput { street1: String street2: String city: String @@ -2753,10 +2721,10 @@ input UpdateContactTheAddressDataInput { location: String } -input ContactTheAddressFilterInput { - _and: [ContactTheAddressFilterInput] - _not: ContactTheAddressFilterInput - _or: [ContactTheAddressFilterInput] +input PastProjectAddressesFilterInput { + _and: [PastProjectAddressesFilterInput] + _not: PastProjectAddressesFilterInput + _or: [PastProjectAddressesFilterInput] street1: String_Selector @@ -2768,7 +2736,7 @@ input ContactTheAddressFilterInput { location: String_Selector } -input ContactTheAddressSortInput { +input PastProjectAddressesSortInput { street1: SortOptions street2: SortOptions city: SortOptions @@ -2779,256 +2747,213 @@ input ContactTheAddressSortInput { } -type ContactOffices { - officeId: String - officeLocation: String - officeName: String -} - - -input CreateContactOfficesInput { - data: CreateContactOfficesDataInput! - # An identifier to name the mutation's execution context - contextName: String +# 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 CreateContactOfficesDataInput { - officeId: String - officeLocation: String - officeName: String -} -input UpdateContactOfficesInput{ - filter: ContactOfficesFilterInput +input DeleteCommentInput{ + filter: CommentFilterInput id: String - data: UpdateContactOfficesDataInput! - # An identifier to name the mutation's execution context - contextName: String } -input UpsertContactOfficesInput{ - filter: ContactOfficesFilterInput +input SingleCommentInput { + # filtering + filter: CommentFilterInput + sort: CommentSortInput + search: String id: String - data: UpdateContactOfficesDataInput! - # An identifier to name the mutation's execution context - contextName: String -} - -input UpdateContactOfficesDataInput { - officeId: String - officeLocation: String - officeName: String -} - -input ContactOfficesFilterInput { - _and: [ContactOfficesFilterInput] - _not: ContactOfficesFilterInput - _or: [ContactOfficesFilterInput] - - officeId: String_Selector - officeLocation: String_Selector - officeName: String_Selector -} + # backwards-compatibility + "Deprecated (use 'filter/id' fields instead)." + selector: CommentSelectorUniqueInput -input ContactOfficesSortInput { - officeId: SortOptions - officeLocation: SortOptions - officeName: SortOptions + # options (backwards-compatibility) + # Whether to enable caching for this query + enableCache: Boolean + # Return null instead of throwing MissingDocumentError + allowNull: Boolean } +input MultiCommentInput { -type ContactProjects { - projectId: String - projectTitle: String - titleForProject: String -} + # 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 -input CreateContactProjectsInput { - data: CreateContactProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String + # options (backwards-compatibility) + # Whether to enable caching for this query + enableCache: Boolean + # Whether to calculate totalCount for this query + enableTotal: Boolean + } -input CreateContactProjectsDataInput { - projectId: String - projectTitle: String - titleForProject: String +type SingleCommentOutput{ + result: Comment } -input UpdateContactProjectsInput{ - filter: ContactProjectsFilterInput - id: String - data: UpdateContactProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String +type MultiCommentOutput{ + results: [Comment] + totalCount: Int } -input UpsertContactProjectsInput{ - filter: ContactProjectsFilterInput - id: String - data: UpdateContactProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String +type CommentMutationOutput{ + data: Comment } -input UpdateContactProjectsDataInput { - projectId: String - projectTitle: String - titleForProject: String +input CreateCommentInput { + data: CreateCommentDataInput! } -input ContactProjectsFilterInput { - _and: [ContactProjectsFilterInput] - _not: ContactProjectsFilterInput - _or: [ContactProjectsFilterInput] - - - projectId: String_Selector - projectTitle: String_Selector - titleForProject: String_Selector +input CreateCommentDataInput { + parentCommentId: String + topLevelCommentId: String + body: String + collectionName: String + objectId: String } -input ContactProjectsSortInput { - projectId: SortOptions - projectTitle: SortOptions - titleForProject: SortOptions +input UpdateCommentInput{ + filter: CommentFilterInput + id: String + data: UpdateCommentDataInput! } - -type ContactPastProjects { - projectId: String - projectTitle: String - titleForProject: String +input UpsertCommentInput{ + filter: CommentFilterInput + id: String + data: UpdateCommentDataInput! } - -input CreateContactPastProjectsInput { - data: CreateContactPastProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String +input UpdateCommentDataInput { + body: String } -input CreateContactPastProjectsDataInput { - projectId: String - projectTitle: String - titleForProject: String -} +input CommentFilterInput { + _and: [CommentFilterInput] + _not: CommentFilterInput + _or: [CommentFilterInput] -input UpdateContactPastProjectsInput{ - filter: ContactPastProjectsFilterInput - id: String - data: UpdateContactPastProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String -} -input UpsertContactPastProjectsInput{ - filter: ContactPastProjectsFilterInput - id: String - data: UpdateContactPastProjectsDataInput! - # An identifier to name the mutation's execution context - contextName: String + _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 UpdateContactPastProjectsDataInput { - projectId: String - projectTitle: String - titleForProject: String +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 ContactPastProjectsFilterInput { - _and: [ContactPastProjectsFilterInput] - _not: ContactPastProjectsFilterInput - _or: [ContactPastProjectsFilterInput] - +input CommentSelectorInput { + _and: [CommentSelectorInput] + _or: [CommentSelectorInput] - projectId: String_Selector - projectTitle: String_Selector - titleForProject: String_Selector } -input ContactPastProjectsSortInput { - projectId: SortOptions - projectTitle: SortOptions - titleForProject: SortOptions +input CommentSelectorUniqueInput { + _id: String + documentId: String # OpenCRUD backwards compatibility + slug: String + } -# Type for PastProjects -type PastProject { +# Type for Patches +type Patch { _id: String createdAt: Date userId: String - updatedAt: Date - projectTitle: String - sortTitle: String - projectType: String - platformType: String - union: String - network: String - status: String - renewed: Boolean - shootingLocation: String - summary: String - htmlSummary: String - website: String - notes: String - htmlNotes: String - season: String - order: String - casting: String - castingCompany: String - offices: [PastProjectOffices] - slug: String - links: [PastProjectLinks] - contacts: [PastProjectContacts] - allContactNames: String - addresses: [PastProjectAddresses] - allAddresses: String - createdAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String - updatedAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String + updatedAt: String + collectionName: String + patches: [JSON] } -input DeletePastProjectInput{ - filter: PastProjectFilterInput +input DeletePatchInput{ + filter: PatchFilterInput id: String } -input SinglePastProjectInput { +input SinglePatchInput { # filtering - filter: PastProjectFilterInput - sort: PastProjectSortInput + filter: PatchFilterInput + sort: PatchSortInput search: String id: String # backwards-compatibility - # Deprecated (use 'filter/id' fields instead). - selector: PastProjectSelectorUniqueInput + "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 - # An identifier to name the query's execution context - contextName: String } -input MultiPastProjectInput { +input MultiPatchInput { # filtering - filter: PastProjectFilterInput - sort: PastProjectSortInput + 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). + "Deprecated (use 'filter/id' fields instead)." terms: JSON # options (backwards-compatibility) @@ -3036,166 +2961,80 @@ input MultiPastProjectInput { enableCache: Boolean # Whether to calculate totalCount for this query enableTotal: Boolean - # An identifier to name the query's execution context - contextName: String - + } -type SinglePastProjectOutput{ - result: PastProject +type SinglePatchOutput{ + result: Patch } -type MultiPastProjectOutput{ - results: [PastProject] +type MultiPatchOutput{ + results: [Patch] totalCount: Int } -type PastProjectMutationOutput{ - data: PastProject +type PatchMutationOutput{ + data: Patch } -input CreatePastProjectInput { - data: CreatePastProjectDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreatePatchInput { + data: CreatePatchDataInput! } -input CreatePastProjectDataInput { - projectTitle: String - sortTitle: String - projectType: String - union: String - network: String - status: String - renewed: Boolean - shootingLocation: String - summary: String - website: String - notes: String - season: String - order: String - castingCompany: String - offices: [CreatePastProjectOfficesDataInput] - slug: String - links: [CreatePastProjectLinksDataInput] - contacts: [CreatePastProjectContactsDataInput] - addresses: [CreatePastProjectAddressesDataInput] +input CreatePatchDataInput { + updatedAt: String + collectionName: String + patches: [JSON] } -input UpdatePastProjectInput{ - filter: PastProjectFilterInput +input UpdatePatchInput{ + filter: PatchFilterInput id: String - data: UpdatePastProjectDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdatePatchDataInput! } -input UpsertPastProjectInput{ - filter: PastProjectFilterInput +input UpsertPatchInput{ + filter: PatchFilterInput id: String - data: UpdatePastProjectDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdatePatchDataInput! } -input UpdatePastProjectDataInput { - projectTitle: String - sortTitle: String - projectType: String - union: String - network: String - status: String - renewed: Boolean - shootingLocation: String - summary: String - website: String - notes: String - season: String - order: String - castingCompany: String - offices: [UpdatePastProjectOfficesDataInput] - slug: String - links: [UpdatePastProjectLinksDataInput] - contacts: [UpdatePastProjectContactsDataInput] - addresses: [UpdatePastProjectAddressesDataInput] +input UpdatePatchDataInput { + updatedAt: String + collectionName: String + patches: [JSON] } -input PastProjectFilterInput { - _and: [PastProjectFilterInput] - _not: PastProjectFilterInput - _or: [PastProjectFilterInput] +input PatchFilterInput { + _and: [PatchFilterInput] + _not: PatchFilterInput + _or: [PatchFilterInput] _id: String_Selector createdAt: Date_Selector userId: String_Selector - updatedAt: Date_Selector - projectTitle: String_Selector - sortTitle: String_Selector - projectType: String_Selector - platformType: String_Selector - union: String_Selector - network: String_Selector - status: String_Selector - renewed: Boolean_Selector - shootingLocation: String_Selector - summary: String_Selector - htmlSummary: String_Selector - website: String_Selector - notes: String_Selector - htmlNotes: String_Selector - season: String_Selector - order: String_Selector - casting: String_Selector - castingCompany: String_Selector - - slug: String_Selector - - - allContactNames: String_Selector + updatedAt: String_Selector + collectionName: String_Selector - allAddresses: String_Selector } -input PastProjectSortInput { +input PatchSortInput { _id: SortOptions createdAt: SortOptions userId: SortOptions updatedAt: SortOptions - projectTitle: SortOptions - sortTitle: SortOptions - projectType: SortOptions - platformType: SortOptions - union: SortOptions - network: SortOptions - status: SortOptions - renewed: SortOptions - shootingLocation: SortOptions - summary: SortOptions - htmlSummary: SortOptions - website: SortOptions - notes: SortOptions - htmlNotes: SortOptions - season: SortOptions - order: SortOptions - casting: SortOptions - castingCompany: SortOptions - offices: SortOptions - slug: SortOptions - links: SortOptions - contacts: SortOptions - allContactNames: SortOptions - addresses: SortOptions - allAddresses: SortOptions + collectionName: SortOptions + patches: SortOptions } -input PastProjectSelectorInput { - _and: [PastProjectSelectorInput] - _or: [PastProjectSelectorInput] +input PatchSelectorInput { + _and: [PatchSelectorInput] + _or: [PatchSelectorInput] } -input PastProjectSelectorUniqueInput { +input PatchSelectorUniqueInput { _id: String documentId: String # OpenCRUD backwards compatibility slug: String @@ -3203,446 +3042,347 @@ input PastProjectSelectorUniqueInput { } -type PastProjectOffices { - officeId: String - officeLocation: String - officeName: String +# Type for Statistics +type Statistic { + _id: String + createdAt: Date + userId: String + updatedAt: Date + episodics: [StatisticEpisodics] + pilots: [StatisticPilots] + features: [StatisticFeatures] + others: [StatisticOthers] } -input CreatePastProjectOfficesInput { - data: CreatePastProjectOfficesDataInput! - # An identifier to name the mutation's execution context - contextName: String +input DeleteStatisticInput{ + filter: StatisticFilterInput + id: String } -input CreatePastProjectOfficesDataInput { - officeId: String - officeLocation: String - officeName: 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 UpdatePastProjectOfficesInput{ - filter: PastProjectOfficesFilterInput - id: String - data: UpdatePastProjectOfficesDataInput! - # An identifier to name the mutation's execution context - contextName: String +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 + } -input UpsertPastProjectOfficesInput{ - filter: PastProjectOfficesFilterInput - id: String - data: UpdatePastProjectOfficesDataInput! - # An identifier to name the mutation's execution context - contextName: String +type SingleStatisticOutput{ + result: Statistic } -input UpdatePastProjectOfficesDataInput { - officeId: String - officeLocation: String - officeName: String +type MultiStatisticOutput{ + results: [Statistic] + totalCount: Int } -input PastProjectOfficesFilterInput { - _and: [PastProjectOfficesFilterInput] - _not: PastProjectOfficesFilterInput - _or: [PastProjectOfficesFilterInput] +type StatisticMutationOutput{ + data: Statistic +} +input CreateStatisticInput { + data: CreateStatisticDataInput! +} - officeId: String_Selector - officeLocation: String_Selector - officeName: String_Selector +input CreateStatisticDataInput { + episodics: [CreateStatisticEpisodicsDataInput] + pilots: [CreateStatisticPilotsDataInput] + features: [CreateStatisticFeaturesDataInput] + others: [CreateStatisticOthersDataInput] } -input PastProjectOfficesSortInput { - officeId: SortOptions - officeLocation: SortOptions - officeName: SortOptions +input UpdateStatisticInput{ + filter: StatisticFilterInput + id: String + data: UpdateStatisticDataInput! +} + +input UpsertStatisticInput{ + filter: StatisticFilterInput + id: String + data: UpdateStatisticDataInput! +} + +input UpdateStatisticDataInput { + episodics: [UpdateStatisticEpisodicsDataInput] + pilots: [UpdateStatisticPilotsDataInput] + features: [UpdateStatisticFeaturesDataInput] + others: [UpdateStatisticOthersDataInput] } +input StatisticFilterInput { + _and: [StatisticFilterInput] + _not: StatisticFilterInput + _or: [StatisticFilterInput] -type PastProjectLinks { - platformName: String - profileName: String - profileLink: String -} + _id: String_Selector + createdAt: Date_Selector + userId: String_Selector + updatedAt: Date_Selector -input CreatePastProjectLinksInput { - data: CreatePastProjectLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String -} -input CreatePastProjectLinksDataInput { - platformName: String - profileName: String - profileLink: String -} -input UpdatePastProjectLinksInput{ - filter: PastProjectLinksFilterInput - id: String - data: UpdatePastProjectLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String -} -input UpsertPastProjectLinksInput{ - filter: PastProjectLinksFilterInput - id: String - data: UpdatePastProjectLinksDataInput! - # An identifier to name the mutation's execution context - contextName: String } -input UpdatePastProjectLinksDataInput { - platformName: String - profileName: String - profileLink: String +input StatisticSortInput { + _id: SortOptions + createdAt: SortOptions + userId: SortOptions + updatedAt: SortOptions + episodics: SortOptions + pilots: SortOptions + features: SortOptions + others: SortOptions } -input PastProjectLinksFilterInput { - _and: [PastProjectLinksFilterInput] - _not: PastProjectLinksFilterInput - _or: [PastProjectLinksFilterInput] - +input StatisticSelectorInput { + _and: [StatisticSelectorInput] + _or: [StatisticSelectorInput] - platformName: String_Selector - profileName: String_Selector - profileLink: String_Selector } -input PastProjectLinksSortInput { - platformName: SortOptions - profileName: SortOptions - profileLink: SortOptions +input StatisticSelectorUniqueInput { + _id: String + documentId: String # OpenCRUD backwards compatibility + slug: String + } -type PastProjectContacts { - contactId: String - contactName: String - contactTitle: String +type StatisticEpisodics { + date: String + quantity: Float } -input CreatePastProjectContactsInput { - data: CreatePastProjectContactsDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateStatisticEpisodicsInput { + data: CreateStatisticEpisodicsDataInput! } -input CreatePastProjectContactsDataInput { - contactId: String - contactName: String - contactTitle: String +input CreateStatisticEpisodicsDataInput { + date: String + quantity: Float } -input UpdatePastProjectContactsInput{ - filter: PastProjectContactsFilterInput +input UpdateStatisticEpisodicsInput{ + filter: StatisticEpisodicsFilterInput id: String - data: UpdatePastProjectContactsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateStatisticEpisodicsDataInput! } -input UpsertPastProjectContactsInput{ - filter: PastProjectContactsFilterInput +input UpsertStatisticEpisodicsInput{ + filter: StatisticEpisodicsFilterInput id: String - data: UpdatePastProjectContactsDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateStatisticEpisodicsDataInput! } -input UpdatePastProjectContactsDataInput { - contactId: String - contactName: String - contactTitle: String +input UpdateStatisticEpisodicsDataInput { + date: String + quantity: Float } -input PastProjectContactsFilterInput { - _and: [PastProjectContactsFilterInput] - _not: PastProjectContactsFilterInput - _or: [PastProjectContactsFilterInput] +input StatisticEpisodicsFilterInput { + _and: [StatisticEpisodicsFilterInput] + _not: StatisticEpisodicsFilterInput + _or: [StatisticEpisodicsFilterInput] - contactId: String_Selector - contactName: String_Selector - contactTitle: String_Selector + date: String_Selector + quantity: Float_Selector } -input PastProjectContactsSortInput { - contactId: SortOptions - contactName: SortOptions - contactTitle: SortOptions +input StatisticEpisodicsSortInput { + date: SortOptions + quantity: SortOptions } -type PastProjectAddresses { - street1: String - street2: String - city: String - state: String - zip: String - addressType: String - location: String +type StatisticPilots { + date: String + quantity: Float } -input CreatePastProjectAddressesInput { - data: CreatePastProjectAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateStatisticPilotsInput { + data: CreateStatisticPilotsDataInput! } -input CreatePastProjectAddressesDataInput { - street1: String - street2: String - city: String - state: String - zip: String - addressType: String - location: String +input CreateStatisticPilotsDataInput { + date: String + quantity: Float } -input UpdatePastProjectAddressesInput{ - filter: PastProjectAddressesFilterInput +input UpdateStatisticPilotsInput{ + filter: StatisticPilotsFilterInput id: String - data: UpdatePastProjectAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateStatisticPilotsDataInput! } -input UpsertPastProjectAddressesInput{ - filter: PastProjectAddressesFilterInput +input UpsertStatisticPilotsInput{ + filter: StatisticPilotsFilterInput id: String - data: UpdatePastProjectAddressesDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateStatisticPilotsDataInput! } -input UpdatePastProjectAddressesDataInput { - street1: String - street2: String - city: String - state: String - zip: String - addressType: String - location: String +input UpdateStatisticPilotsDataInput { + date: String + quantity: Float } -input PastProjectAddressesFilterInput { - _and: [PastProjectAddressesFilterInput] - _not: PastProjectAddressesFilterInput - _or: [PastProjectAddressesFilterInput] +input StatisticPilotsFilterInput { + _and: [StatisticPilotsFilterInput] + _not: StatisticPilotsFilterInput + _or: [StatisticPilotsFilterInput] - street1: String_Selector - street2: String_Selector - city: String_Selector - state: String_Selector - zip: String_Selector - addressType: String_Selector - location: String_Selector + date: String_Selector + quantity: Float_Selector } -input PastProjectAddressesSortInput { - street1: SortOptions - street2: SortOptions - city: SortOptions - state: SortOptions - zip: SortOptions - addressType: SortOptions - location: SortOptions +input StatisticPilotsSortInput { + 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 - createdAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String - postedAtFormatted(format: String = "MMMM D YYYY, h:mm A"): String +type StatisticFeatures { + date: String + quantity: Float } -input DeleteCommentInput{ - filter: CommentFilterInput - id: String +input CreateStatisticFeaturesInput { + data: CreateStatisticFeaturesDataInput! } -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 - # An identifier to name the query's execution context - contextName: String +input CreateStatisticFeaturesDataInput { + date: String + quantity: Float } -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 - # An identifier to name the query's execution context - contextName: String +input UpdateStatisticFeaturesInput{ + filter: StatisticFeaturesFilterInput + id: String + data: UpdateStatisticFeaturesDataInput! +} +input UpsertStatisticFeaturesInput{ + filter: StatisticFeaturesFilterInput + id: String + data: UpdateStatisticFeaturesDataInput! } -type SingleCommentOutput{ - result: Comment +input UpdateStatisticFeaturesDataInput { + date: String + quantity: Float } -type MultiCommentOutput{ - results: [Comment] - totalCount: Int +input StatisticFeaturesFilterInput { + _and: [StatisticFeaturesFilterInput] + _not: StatisticFeaturesFilterInput + _or: [StatisticFeaturesFilterInput] + + + date: String_Selector + quantity: Float_Selector } -type CommentMutationOutput{ - data: Comment +input StatisticFeaturesSortInput { + date: SortOptions + quantity: SortOptions } -input CreateCommentInput { - data: CreateCommentDataInput! - # An identifier to name the mutation's execution context - contextName: String + +type StatisticOthers { + date: String + quantity: Float } -input CreateCommentDataInput { - parentCommentId: String - topLevelCommentId: String - body: String - collectionName: String - objectId: String + +input CreateStatisticOthersInput { + data: CreateStatisticOthersDataInput! } -input UpdateCommentInput{ - filter: CommentFilterInput - id: String - data: UpdateCommentDataInput! - # An identifier to name the mutation's execution context - contextName: String +input CreateStatisticOthersDataInput { + date: String + quantity: Float } -input UpsertCommentInput{ - filter: CommentFilterInput +input UpdateStatisticOthersInput{ + filter: StatisticOthersFilterInput id: String - data: UpdateCommentDataInput! - # An identifier to name the mutation's execution context - contextName: String + data: UpdateStatisticOthersDataInput! } -input UpdateCommentDataInput { - body: String +input UpsertStatisticOthersInput{ + filter: StatisticOthersFilterInput + id: String + data: UpdateStatisticOthersDataInput! } -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 UpdateStatisticOthersDataInput { + date: String + quantity: Float } -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 StatisticOthersFilterInput { + _and: [StatisticOthersFilterInput] + _not: StatisticOthersFilterInput + _or: [StatisticOthersFilterInput] -input CommentSelectorInput { - _and: [CommentSelectorInput] - _or: [CommentSelectorInput] + date: String_Selector + quantity: Float_Selector } -input CommentSelectorUniqueInput { - _id: String - documentId: String # OpenCRUD backwards compatibility - slug: String - +input StatisticOthersSortInput { + date: SortOptions + quantity: SortOptions } type Query { - siteData: Site - - locale(localeId: String): Locale + SiteData: Site currentUser: User - getDatabaseObject(id: String): JSON - # A single User document fetched by ID or slug user(input: SingleUserInput!): SingleUserOutput @@ -3655,18 +3395,6 @@ type Query { callbacks(input: MultiCallbackInput): MultiCallbackOutput - # 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 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 Office document fetched by ID or slug office(input: SingleOfficeInput!): SingleOfficeOutput @@ -3697,284 +3425,278 @@ type Query { # 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 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 + } 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 - - testEmail(emailName: String) : EmailResponse - # Mutation for creating new User documents createUser( input: CreateUserInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: CreateUserDataInput ) : UserMutationOutput # Mutation for updating a User document updateUser( input: UpdateUserInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: UserSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdateUserDataInput + "Deprecated (use 'input' field instead)." + data: UpdateUserDataInput ) : UserMutationOutput # Mutation for upserting a User document upsertUser( input: UpsertUserInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: UserSelectorUniqueInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: UpdateUserDataInput ) : UserMutationOutput # Mutation for deleting a User document deleteUser( input: DeleteUserInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: UserSelectorUniqueInput ) : UserMutationOutput - # Mutation for creating new Patch documents - createPatch( - input: CreatePatchInput, - # Deprecated (use 'input' field instead). - data: CreatePatchDataInput -) : PatchMutationOutput - - # Mutation for updating a Patch document - updatePatch( - input: UpdatePatchInput, - # Deprecated (use 'input' field instead). - selector: PatchSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdatePatchDataInput -) : PatchMutationOutput - - # Mutation for upserting a Patch document - upsertPatch( - input: UpsertPatchInput, - # Deprecated (use 'input' field instead). - selector: PatchSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdatePatchDataInput -) : PatchMutationOutput - - # Mutation for deleting a Patch document - deletePatch( - input: DeletePatchInput, - # Deprecated (use 'input' field instead). - selector: PatchSelectorUniqueInput -) : PatchMutationOutput - - # Mutation for creating new Statistic documents - createStatistic( - input: CreateStatisticInput, - # Deprecated (use 'input' field instead). - data: CreateStatisticDataInput -) : StatisticMutationOutput - - # Mutation for updating a Statistic document - updateStatistic( - input: UpdateStatisticInput, - # Deprecated (use 'input' field instead). - selector: StatisticSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdateStatisticDataInput -) : StatisticMutationOutput - - # Mutation for upserting a Statistic document - upsertStatistic( - input: UpsertStatisticInput, - # Deprecated (use 'input' field instead). - selector: StatisticSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdateStatisticDataInput -) : StatisticMutationOutput - - # Mutation for deleting a Statistic document - deleteStatistic( - input: DeleteStatisticInput, - # Deprecated (use 'input' field instead). - selector: StatisticSelectorUniqueInput -) : StatisticMutationOutput - # Mutation for creating new Office documents createOffice( input: CreateOfficeInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: CreateOfficeDataInput ) : OfficeMutationOutput # Mutation for updating a Office document updateOffice( input: UpdateOfficeInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: OfficeSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdateOfficeDataInput + "Deprecated (use 'input' field instead)." + data: UpdateOfficeDataInput ) : OfficeMutationOutput # Mutation for upserting a Office document upsertOffice( input: UpsertOfficeInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: OfficeSelectorUniqueInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: UpdateOfficeDataInput ) : OfficeMutationOutput # Mutation for deleting a Office document deleteOffice( input: DeleteOfficeInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: OfficeSelectorUniqueInput ) : OfficeMutationOutput # Mutation for creating new Project documents createProject( input: CreateProjectInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: CreateProjectDataInput ) : ProjectMutationOutput # Mutation for updating a Project document updateProject( input: UpdateProjectInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: ProjectSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdateProjectDataInput + "Deprecated (use 'input' field instead)." + data: UpdateProjectDataInput ) : ProjectMutationOutput # Mutation for upserting a Project document upsertProject( input: UpsertProjectInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: ProjectSelectorUniqueInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: UpdateProjectDataInput ) : ProjectMutationOutput # Mutation for deleting a Project document deleteProject( input: DeleteProjectInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: ProjectSelectorUniqueInput ) : ProjectMutationOutput # Mutation for creating new Contact documents createContact( input: CreateContactInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: CreateContactDataInput ) : ContactMutationOutput # Mutation for updating a Contact document updateContact( input: UpdateContactInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: ContactSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdateContactDataInput + "Deprecated (use 'input' field instead)." + data: UpdateContactDataInput ) : ContactMutationOutput # Mutation for upserting a Contact document upsertContact( input: UpsertContactInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: ContactSelectorUniqueInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: UpdateContactDataInput ) : ContactMutationOutput # Mutation for deleting a Contact document deleteContact( input: DeleteContactInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: ContactSelectorUniqueInput ) : ContactMutationOutput # Mutation for creating new PastProject documents createPastProject( input: CreatePastProjectInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: CreatePastProjectDataInput ) : PastProjectMutationOutput # Mutation for updating a PastProject document updatePastProject( input: UpdatePastProjectInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: PastProjectSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdatePastProjectDataInput + "Deprecated (use 'input' field instead)." + data: UpdatePastProjectDataInput ) : PastProjectMutationOutput # Mutation for upserting a PastProject document upsertPastProject( input: UpsertPastProjectInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: PastProjectSelectorUniqueInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: UpdatePastProjectDataInput ) : PastProjectMutationOutput # Mutation for deleting a PastProject document deletePastProject( input: DeletePastProjectInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: PastProjectSelectorUniqueInput ) : PastProjectMutationOutput # Mutation for creating new Comment documents createComment( input: CreateCommentInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: CreateCommentDataInput ) : CommentMutationOutput # Mutation for updating a Comment document updateComment( input: UpdateCommentInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: CommentSelectorUniqueInput, - # Deprecated (use 'input' field instead). - data: UpdateCommentDataInput + "Deprecated (use 'input' field instead)." + data: UpdateCommentDataInput ) : CommentMutationOutput # Mutation for upserting a Comment document upsertComment( input: UpsertCommentInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: CommentSelectorUniqueInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." data: UpdateCommentDataInput ) : CommentMutationOutput # Mutation for deleting a Comment document deleteComment( input: DeleteCommentInput, - # Deprecated (use 'input' field instead). + "Deprecated (use 'input' field instead)." selector: CommentSelectorUniqueInput ) : CommentMutationOutput + # Mutation for creating new Patch documents + createPatch( + input: CreatePatchInput, + "Deprecated (use 'input' field instead)." + data: CreatePatchDataInput +) : PatchMutationOutput + + # Mutation for updating a Patch document + updatePatch( + input: UpdatePatchInput, + "Deprecated (use 'input' field instead)." + selector: PatchSelectorUniqueInput, + "Deprecated (use 'input' field instead)." + data: UpdatePatchDataInput +) : PatchMutationOutput + + # Mutation for upserting a Patch document + upsertPatch( + input: UpsertPatchInput, + "Deprecated (use 'input' field instead)." + selector: PatchSelectorUniqueInput, + "Deprecated (use 'input' field instead)." + data: UpdatePatchDataInput +) : PatchMutationOutput + + # Mutation for deleting a Patch document + deletePatch( + input: DeletePatchInput, + "Deprecated (use 'input' field instead)." + selector: PatchSelectorUniqueInput +) : PatchMutationOutput + + # Mutation for creating new Statistic documents + createStatistic( + input: CreateStatisticInput, + "Deprecated (use 'input' field instead)." + data: CreateStatisticDataInput +) : StatisticMutationOutput + + # Mutation for updating a Statistic document + updateStatistic( + input: UpdateStatisticInput, + "Deprecated (use 'input' field instead)." + selector: StatisticSelectorUniqueInput, + "Deprecated (use 'input' field instead)." + data: UpdateStatisticDataInput +) : StatisticMutationOutput + + # Mutation for upserting a Statistic document + upsertStatistic( + input: UpsertStatisticInput, + "Deprecated (use 'input' field instead)." + selector: StatisticSelectorUniqueInput, + "Deprecated (use 'input' field instead)." + data: UpdateStatisticDataInput +) : StatisticMutationOutput + + # Mutation for deleting a Statistic document + deleteStatistic( + input: DeleteStatisticInput, + "Deprecated (use 'input' field instead)." + selector: StatisticSelectorUniqueInput +) : StatisticMutationOutput + }