From 4c41ff2daec31f6d09ddb58c18f883fce9f409e5 Mon Sep 17 00:00:00 2001 From: Pascal Martineau Date: Wed, 24 Sep 2025 16:23:47 -0400 Subject: [PATCH] chore: update schema.graphql --- wp-content/themes/ccat/server/schema.graphql | 1186 ++++++++++++++++-- 1 file changed, 1079 insertions(+), 107 deletions(-) diff --git a/wp-content/themes/ccat/server/schema.graphql b/wp-content/themes/ccat/server/schema.graphql index feb3474..e223a00 100644 --- a/wp-content/themes/ccat/server/schema.graphql +++ b/wp-content/themes/ccat/server/schema.graphql @@ -2452,6 +2452,12 @@ enum ContentTypesOfDisciplineEnum { EVENT } +"""Allowed Content Types of the ListingCategory taxonomy.""" +enum ContentTypesOfListingCategoryEnum { + """The Type of Content object""" + LISTING +} + """Allowed Content Types of the PostFormat taxonomy.""" enum ContentTypesOfPostFormatEnum { """The Type of Content object""" @@ -3507,6 +3513,39 @@ type CreateEventPayload { event: Event } +"""Input for the createListingCategory mutation.""" +input CreateListingCategoryInput { + """The slug that the listing_category will be an alias of""" + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """The description of the listing_category object""" + description: String + + """The name of the listing_category object to mutate""" + name: String! + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +"""The payload for the createListingCategory mutation.""" +type CreateListingCategoryPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """The created listing_category""" + listingCategory: ListingCategory +} + """Input for the createListing mutation.""" input CreateListingInput { """The userId to assign as the author of the object""" @@ -3522,6 +3561,9 @@ input CreateListingInput { """ date: String + """Set connections between the Listing and ListingCategories""" + listingCategories: ListingListingCategoriesInput + """ A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. """ @@ -4418,6 +4460,31 @@ type DeleteEventPayload { event: Event } +"""Input for the deleteListingCategory mutation.""" +input DeleteListingCategoryInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """The ID of the ListingCategory to delete""" + id: ID! +} + +"""The payload for the deleteListingCategory mutation.""" +type DeleteListingCategoryPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """The ID of the deleted object""" + deletedId: ID + + """The deleted term object""" + listingCategory: ListingCategory +} + """Input for the deleteListing mutation.""" input DeleteListingInput { """ @@ -7909,112 +7976,6 @@ interface GroupPostLocation_Fields implements AcfFieldGroup & AcfFieldGroupField universalAccess: [String] } -""" -The "GroupPostMembership" Field Group. Added to the Schema by "WPGraphQL for ACF". -""" -type GroupPostMembership implements AcfFieldGroup & AcfFieldGroupFields & GroupPostMembership_Fields { - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - billing: GroupPostProfileBilling - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - collectiveProfile: GroupPostProfileCollectiveProfile - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - contact: GroupPostProfileContact - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - emailPreferences: GroupPostProfileEmailPreferences! - - """The name of the field group""" - fieldGroupName: String @deprecated(reason: "Use __typename instead") - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - individualProfile: GroupPostProfileIndividualProfile - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - institutionProfile: GroupPostProfileInstitutionProfile - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - organizationProfile: GroupPostProfileOrganizationProfile - - """ - Field of the "select" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - profileType: [String]! - - """ - Field of the "true_false" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - sameAsContact: Boolean -} - -""" -Interface representing fields of the ACF "GroupPostMembership" Field Group -""" -interface GroupPostMembership_Fields implements AcfFieldGroup & AcfFieldGroupFields { - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - billing: GroupPostProfileBilling - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - collectiveProfile: GroupPostProfileCollectiveProfile - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - contact: GroupPostProfileContact - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - emailPreferences: GroupPostProfileEmailPreferences! - - """The name of the field group""" - fieldGroupName: String @deprecated(reason: "Use __typename instead") - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - individualProfile: GroupPostProfileIndividualProfile - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - institutionProfile: GroupPostProfileInstitutionProfile - - """ - Field of the "group" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - organizationProfile: GroupPostProfileOrganizationProfile - - """ - Field of the "select" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - profileType: [String]! - - """ - Field of the "true_false" Field Type added to the schema as part of the "GroupPostMembership" Field Group - """ - sameAsContact: Boolean -} - """ The "GroupPostPage" Field Group. Added to the Schema by "WPGraphQL for ACF". """ @@ -9498,7 +9459,7 @@ interface HierarchicalTermNode implements DatabaseIdentifier & HierarchicalNode } """The Listing type""" -type Listing implements ContentNode & DatabaseIdentifier & Node & NodeWithAuthor & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & Previewable & UniformResourceIdentifiable { +type Listing implements ContentNode & DatabaseIdentifier & Node & NodeWithAuthor & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & Previewable & UniformResourceIdentifiable & WithAcfPostListing { """The ancestors of the content node.""" ancestors( """ @@ -9637,6 +9598,28 @@ type Listing implements ContentNode & DatabaseIdentifier & Node & NodeWithAuthor """The permalink of the post""" link: String + """Connection between the Listing type and the ListingCategory type""" + listingCategories( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + + """Arguments for filtering the connection""" + where: ListingToListingCategoryConnectionWhereArgs + ): ListingToListingCategoryConnection + """The id field matches the WP_Post->ID field.""" listingId: Int! @deprecated(reason: "Deprecated in favor of the databaseId field") @@ -9656,6 +9639,9 @@ type Listing implements ContentNode & DatabaseIdentifier & Node & NodeWithAuthor """The password for the listing object.""" password: String + """Fields of the PostListing ACF Field Group""" + postListing: PostListing + """Connection between the Listing type and the Listing type""" preview: ListingToPreviewConnectionEdge @@ -9703,6 +9689,28 @@ type Listing implements ContentNode & DatabaseIdentifier & Node & NodeWithAuthor """The template assigned to the node""" template: ContentTemplate + """Connection between the Listing type and the TermNode type""" + terms( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + + """Arguments for filtering the connection""" + where: ListingToTermNodeConnectionWhereArgs + ): ListingToTermNodeConnection + """ The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. """ @@ -9715,6 +9723,443 @@ type Listing implements ContentNode & DatabaseIdentifier & Node & NodeWithAuthor uri: String } +"""The ListingCategory type""" +type ListingCategory implements DatabaseIdentifier & Node & TermNode & UniformResourceIdentifiable { + """Breadcrumb navigation items for this content""" + breadcrumbs: [BreadcrumbItem!] + + """Connection between the ListingCategory type and the ContentNode type""" + contentNodes( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + + """Arguments for filtering the connection""" + where: ListingCategoryToContentNodeConnectionWhereArgs + ): ListingCategoryToContentNodeConnection + + """The number of objects connected to the object""" + count: Int + + """The unique identifier stored in the database""" + databaseId: Int! + + """The description of the object""" + description: String + + """Connection between the TermNode type and the EnqueuedScript type""" + enqueuedScripts( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + ): TermNodeToEnqueuedScriptConnection + + """Connection between the TermNode type and the EnqueuedStylesheet type""" + enqueuedStylesheets( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + ): TermNodeToEnqueuedStylesheetConnection + + """The globally unique ID for the object""" + id: ID! + + """Whether the node is a Comment""" + isComment: Boolean! + + """Whether the node is a Content Node""" + isContentNode: Boolean! + + """Whether the node represents the front page.""" + isFrontPage: Boolean! + + """Whether the node represents the blog page.""" + isPostsPage: Boolean! + + """Whether the object is restricted from the current viewer""" + isRestricted: Boolean + + """Whether the node is a Term""" + isTermNode: Boolean! + + """The link to the term""" + link: String + + """The id field matches the WP_Post->ID field.""" + listingCategoryId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """Connection between the ListingCategory type and the Listing type""" + listings( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + + """Arguments for filtering the connection""" + where: ListingCategoryToListingConnectionWhereArgs + ): ListingCategoryToListingConnection + + """The human friendly name of the object.""" + name: String + + """An alphanumeric identifier for the object unique to its type.""" + slug: String + + """Connection between the ListingCategory type and the Taxonomy type""" + taxonomy: ListingCategoryToTaxonomyConnectionEdge + + """The name of the taxonomy that the object is associated with""" + taxonomyName: String + + """The ID of the term group that this term object belongs to""" + termGroupId: Int + + """The taxonomy ID that the object is associated with""" + termTaxonomyId: Int + + """The unique resource identifier path""" + uri: String +} + +""" +A paginated collection of ListingCategory Nodes, Supports cursor-based pagination and filtering to efficiently retrieve sets of ListingCategory Nodes +""" +interface ListingCategoryConnection implements Connection { + """ + A list of edges (relational context) between RootQuery and connected ListingCategory Nodes + """ + edges: [ListingCategoryConnectionEdge!]! + + """A list of connected ListingCategory Nodes""" + nodes: [ListingCategory!]! + + """Information about pagination in a connection.""" + pageInfo: ListingCategoryConnectionPageInfo! +} + +""" +Represents a connection to a ListingCategory. Contains both the ListingCategory Node and metadata about the relationship. +""" +interface ListingCategoryConnectionEdge implements Edge { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ + cursor: String + + """The connected ListingCategory Node""" + node: ListingCategory! +} + +""" +Pagination metadata specific to "ListingCategoryConnectionEdge" collections. Provides cursors and flags for navigating through sets of "ListingCategoryConnectionEdge" Nodes. +""" +interface ListingCategoryConnectionPageInfo implements PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +""" +Identifier types for retrieving a specific ListingCategory. Determines which unique property (global ID, database ID, slug, etc.) is used to locate the ListingCategory. +""" +enum ListingCategoryIdType { + """The Database ID for the node""" + DATABASE_ID + + """The hashed Global ID""" + ID + + """The name of the node""" + NAME + + """Url friendly name of the node""" + SLUG + + """The URI for the node""" + URI +} + +"""Connection between the ListingCategory type and the ContentNode type""" +type ListingCategoryToContentNodeConnection implements Connection & ContentNodeConnection { + """Edges for the ListingCategoryToContentNodeConnection connection""" + edges: [ListingCategoryToContentNodeConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [ContentNode!]! + + """Information about pagination in a connection.""" + pageInfo: ListingCategoryToContentNodeConnectionPageInfo! +} + +"""An edge in a connection""" +type ListingCategoryToContentNodeConnectionEdge implements ContentNodeConnectionEdge & Edge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: ContentNode! +} + +""" +Pagination metadata specific to "ListingCategoryToContentNodeConnection" collections. Provides cursors and flags for navigating through sets of ListingCategoryToContentNodeConnection Nodes. +""" +type ListingCategoryToContentNodeConnectionPageInfo implements ContentNodeConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +""" +Arguments for filtering the ListingCategoryToContentNodeConnection connection +""" +input ListingCategoryToContentNodeConnectionWhereArgs { + """The Types of content to filter""" + contentTypes: [ContentTypesOfListingCategoryEnum] + + """Filter the connection based on dates""" + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """Specific database ID of the object""" + id: Int + + """Array of IDs for the objects to retrieve""" + in: [ID] + + """Get objects with a specific mimeType property""" + mimeType: MimeTypeEnum + + """Slug / post_name of the object""" + name: String + + """Specify objects to retrieve. Use slugs""" + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """What parameter to use to order the objects by.""" + orderby: [PostObjectsConnectionOrderbyInput] + + """Use ID to return only children. Use 0 to return only top-level items""" + parent: ID + + """Specify objects whose parent is in an array""" + parentIn: [ID] + + """Specify posts whose parent is not in an array""" + parentNotIn: [ID] + + """Show posts with a specific password.""" + password: String + + """Show Posts based on a keyword search""" + search: String + + """Retrieve posts where post status is in an array.""" + stati: [PostStatusEnum] + + """Show posts with a specific status.""" + status: PostStatusEnum + + """Title of the object""" + title: String +} + +"""Connection between the ListingCategory type and the Listing type""" +type ListingCategoryToListingConnection implements Connection & ListingConnection { + """Edges for the ListingCategoryToListingConnection connection""" + edges: [ListingCategoryToListingConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [Listing!]! + + """Information about pagination in a connection.""" + pageInfo: ListingCategoryToListingConnectionPageInfo! +} + +"""An edge in a connection""" +type ListingCategoryToListingConnectionEdge implements Edge & ListingConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: Listing! +} + +""" +Pagination metadata specific to "ListingCategoryToListingConnection" collections. Provides cursors and flags for navigating through sets of ListingCategoryToListingConnection Nodes. +""" +type ListingCategoryToListingConnectionPageInfo implements ListingConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +""" +Arguments for filtering the ListingCategoryToListingConnection connection +""" +input ListingCategoryToListingConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """Find objects connected to author(s) in the array of author's userIds""" + authorIn: [ID] + + """Find objects connected to the author by the author's nicename""" + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """Filter the connection based on dates""" + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """Specific database ID of the object""" + id: Int + + """Array of IDs for the objects to retrieve""" + in: [ID] + + """Get objects with a specific mimeType property""" + mimeType: MimeTypeEnum + + """Slug / post_name of the object""" + name: String + + """Specify objects to retrieve. Use slugs""" + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """What parameter to use to order the objects by.""" + orderby: [PostObjectsConnectionOrderbyInput] + + """Use ID to return only children. Use 0 to return only top-level items""" + parent: ID + + """Specify objects whose parent is in an array""" + parentIn: [ID] + + """Specify posts whose parent is not in an array""" + parentNotIn: [ID] + + """Show posts with a specific password.""" + password: String + + """Show Posts based on a keyword search""" + search: String + + """Retrieve posts where post status is in an array.""" + stati: [PostStatusEnum] + + """Show posts with a specific status.""" + status: PostStatusEnum + + """Title of the object""" + title: String +} + +"""Connection between the ListingCategory type and the Taxonomy type""" +type ListingCategoryToTaxonomyConnectionEdge implements Edge & OneToOneConnection & TaxonomyConnectionEdge { + """ + Opaque reference to the nodes position in the connection. Value can be used with pagination args. + """ + cursor: String + + """The node of the connection, without the edges""" + node: Taxonomy! +} + """ A paginated collection of Listing Nodes, Supports cursor-based pagination and filtering to efficiently retrieve sets of Listing Nodes """ @@ -9780,6 +10225,167 @@ enum ListingIdType { URI } +"""Set relationships between the Listing to ListingCategories""" +input ListingListingCategoriesInput { + """ + If true, this will append the ListingCategory to existing related ListingCategories. If false, this will replace existing relationships. Default true. + """ + append: Boolean + + """The input list of items to set.""" + nodes: [ListingListingCategoriesNodeInput] +} + +""" +List of ListingCategories to connect the Listing to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. +""" +input ListingListingCategoriesNodeInput { + """ + The description of the ListingCategory. This field is used to set a description of the ListingCategory if a new one is created during the mutation. + """ + description: String + + """ + The ID of the ListingCategory. If present, this will be used to connect to the Listing. If no existing ListingCategory exists with this ID, no connection will be made. + """ + id: ID + + """ + The name of the ListingCategory. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. + """ + name: String + + """ + The slug of the ListingCategory. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. + """ + slug: String +} + +"""Connection between the Listing type and the ListingCategory type""" +type ListingToListingCategoryConnection implements Connection & ListingCategoryConnection { + """Edges for the ListingToListingCategoryConnection connection""" + edges: [ListingToListingCategoryConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [ListingCategory!]! + + """Information about pagination in a connection.""" + pageInfo: ListingToListingCategoryConnectionPageInfo! +} + +"""An edge in a connection""" +type ListingToListingCategoryConnectionEdge implements Edge & ListingCategoryConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: ListingCategory! +} + +""" +Pagination metadata specific to "ListingToListingCategoryConnection" collections. Provides cursors and flags for navigating through sets of ListingToListingCategoryConnection Nodes. +""" +type ListingToListingCategoryConnectionPageInfo implements ListingCategoryConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +""" +Arguments for filtering the ListingToListingCategoryConnection connection +""" +input ListingToListingCategoryConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """Array of term ids to include. Default empty array.""" + include: [ID] + + """Array of names to return term(s) for. Default empty.""" + name: [String] + + """Retrieve terms where the name is LIKE the input value. Default empty.""" + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """Direction the connection should be ordered in""" + order: OrderEnum + + """Field(s) to order terms by. Defaults to 'name'.""" + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """Parent term ID to retrieve direct-child terms of. Default empty.""" + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """Array of slugs to return term(s) for. Default empty.""" + slug: [String] + + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] + + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean +} + """Connection between the Listing type and the Listing type""" type ListingToListingConnection implements Connection & ListingConnection { """Edges for the ListingToListingConnection connection""" @@ -9952,6 +10558,132 @@ input ListingToRevisionConnectionWhereArgs { title: String } +"""Connection between the Listing type and the TermNode type""" +type ListingToTermNodeConnection implements Connection & TermNodeConnection { + """Edges for the ListingToTermNodeConnection connection""" + edges: [ListingToTermNodeConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [TermNode!]! + + """Information about pagination in a connection.""" + pageInfo: ListingToTermNodeConnectionPageInfo! +} + +"""An edge in a connection""" +type ListingToTermNodeConnectionEdge implements Edge & TermNodeConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: TermNode! +} + +""" +Pagination metadata specific to "ListingToTermNodeConnection" collections. Provides cursors and flags for navigating through sets of ListingToTermNodeConnection Nodes. +""" +type ListingToTermNodeConnectionPageInfo implements PageInfo & TermNodeConnectionPageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +"""Arguments for filtering the ListingToTermNodeConnection connection""" +input ListingToTermNodeConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """Array of term ids to include. Default empty array.""" + include: [ID] + + """Array of names to return term(s) for. Default empty.""" + name: [String] + + """Retrieve terms where the name is LIKE the input value. Default empty.""" + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """Direction the connection should be ordered in""" + order: OrderEnum + + """Field(s) to order terms by. Defaults to 'name'.""" + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """Parent term ID to retrieve direct-child terms of. Default empty.""" + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """Array of slugs to return term(s) for. Default empty.""" + slug: [String] + + """The Taxonomy to filter terms by""" + taxonomies: [TaxonomyEnum] + + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] + + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean +} + """The Location type""" type Location implements ContentNode & DatabaseIdentifier & HierarchicalContentNode & HierarchicalNode & Node & NodeWithExcerpt & NodeWithFeaturedImage & NodeWithRevisions & NodeWithTemplate & NodeWithTitle & Previewable & UniformResourceIdentifiable & WithAcfGroupPostLocation { """ @@ -13397,6 +14129,22 @@ enum PostIdType { URI } +""" +The "PostListing" Field Group. Added to the Schema by "WPGraphQL for ACF". +""" +type PostListing implements AcfFieldGroup & AcfFieldGroupFields & PostListing_Fields { + """The name of the field group""" + fieldGroupName: String @deprecated(reason: "Use __typename instead") +} + +""" +Interface representing fields of the ACF "PostListing" Field Group +""" +interface PostListing_Fields implements AcfFieldGroup & AcfFieldGroupFields { + """The name of the field group""" + fieldGroupName: String @deprecated(reason: "Use __typename instead") +} + """ Content field rendering options. Determines whether content fields are returned as raw data or with applied formatting and transformations. Default is RENDERED. """ @@ -17916,6 +18664,12 @@ type RootMutation { input: CreateListingInput! ): CreateListingPayload + """The createListingCategory mutation""" + createListingCategory( + """Input for the createListingCategory mutation""" + input: CreateListingCategoryInput! + ): CreateListingCategoryPayload + """The createLocation mutation""" createLocation( """Input for the createLocation mutation""" @@ -18036,6 +18790,12 @@ type RootMutation { input: DeleteListingInput! ): DeleteListingPayload + """The deleteListingCategory mutation""" + deleteListingCategory( + """Input for the deleteListingCategory mutation""" + input: DeleteListingCategoryInput! + ): DeleteListingCategoryPayload + """The deleteLocation mutation""" deleteLocation( """Input for the deleteLocation mutation""" @@ -18204,6 +18964,12 @@ type RootMutation { input: UpdateListingInput! ): UpdateListingPayload + """The updateListingCategory mutation""" + updateListingCategory( + """Input for the updateListingCategory mutation""" + input: UpdateListingCategoryInput! + ): UpdateListingCategoryPayload + """The updateLocation mutation""" updateLocation( """Input for the updateLocation mutation""" @@ -18599,6 +19365,37 @@ type RootQuery implements WithAcfOptionsPageSiteOptions { uri: String ): Listing @deprecated(reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")") + """Connection between the RootQuery type and the ListingCategory type""" + listingCategories( + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """The number of items to return after the referenced "after" cursor""" + first: Int + + """The number of items to return before the referenced "before" cursor""" + last: Int + + """Arguments for filtering the connection""" + where: RootQueryToListingCategoryConnectionWhereArgs + ): RootQueryToListingCategoryConnection + + """A 0bject""" + listingCategory( + """The globally unique identifier of the object.""" + id: ID! + + """Type of unique identifier to fetch by. Default is Global ID""" + idType: ListingCategoryIdType + ): ListingCategory + """Connection between the RootQuery type and the Listing type""" listings( """ @@ -20343,6 +21140,131 @@ input RootQueryToEventConnectionWhereArgs { title: String } +"""Connection between the RootQuery type and the ListingCategory type""" +type RootQueryToListingCategoryConnection implements Connection & ListingCategoryConnection { + """Edges for the RootQueryToListingCategoryConnection connection""" + edges: [RootQueryToListingCategoryConnectionEdge!]! + + """The nodes of the connection, without the edges""" + nodes: [ListingCategory!]! + + """Information about pagination in a connection.""" + pageInfo: RootQueryToListingCategoryConnectionPageInfo! +} + +"""An edge in a connection""" +type RootQueryToListingCategoryConnectionEdge implements Edge & ListingCategoryConnectionEdge { + """A cursor for use in pagination""" + cursor: String + + """The item at the end of the edge""" + node: ListingCategory! +} + +""" +Pagination metadata specific to "RootQueryToListingCategoryConnection" collections. Provides cursors and flags for navigating through sets of RootQueryToListingCategoryConnection Nodes. +""" +type RootQueryToListingCategoryConnectionPageInfo implements ListingCategoryConnectionPageInfo & PageInfo & WPPageInfo { + """When paginating forwards, the cursor to continue.""" + endCursor: String + + """When paginating forwards, are there more items?""" + hasNextPage: Boolean! + + """When paginating backwards, are there more items?""" + hasPreviousPage: Boolean! + + """When paginating backwards, the cursor to continue.""" + startCursor: String +} + +""" +Arguments for filtering the RootQueryToListingCategoryConnection connection +""" +input RootQueryToListingCategoryConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """Array of term ids to include. Default empty array.""" + include: [ID] + + """Array of names to return term(s) for. Default empty.""" + name: [String] + + """Retrieve terms where the name is LIKE the input value. Default empty.""" + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """Direction the connection should be ordered in""" + order: OrderEnum + + """Field(s) to order terms by. Defaults to 'name'.""" + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """Parent term ID to retrieve direct-child terms of. Default empty.""" + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """Array of slugs to return term(s) for. Default empty.""" + slug: [String] + + """Array of term taxonomy IDs, to match when querying terms.""" + termTaxonomyId: [ID] + + """Whether to prime meta caches for matched terms. Default true.""" + updateTermMetaCache: Boolean +} + """Connection between the RootQuery type and the Listing type""" type RootQueryToListingConnection implements Connection & ListingConnection { """Edges for the RootQueryToListingConnection connection""" @@ -23367,6 +24289,9 @@ enum TaxonomyEnum { """Taxonomy enum discipline""" DISCIPLINE + """Taxonomy enum listing_category""" + LISTINGCATEGORY + """Taxonomy enum post_format""" POSTFORMAT @@ -24560,6 +25485,42 @@ type UpdateEventPayload { event: Event } +"""Input for the updateListingCategory mutation.""" +input UpdateListingCategoryInput { + """The slug that the listing_category will be an alias of""" + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """The description of the listing_category object""" + description: String + + """The ID of the ListingCategory object to update""" + id: ID! + + """The name of the listing_category object to mutate""" + name: String + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +"""The payload for the updateListingCategory mutation.""" +type UpdateListingCategoryPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """The created listing_category""" + listingCategory: ListingCategory +} + """Input for the updateListing mutation.""" input UpdateListingInput { """The userId to assign as the author of the object""" @@ -24581,6 +25542,9 @@ input UpdateListingInput { """Override the edit lock when another user is editing the post""" ignoreEditLock: Boolean + """Set connections between the Listing and ListingCategories""" + listingCategories: ListingListingCategoriesInput + """ A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. """ @@ -27209,6 +28173,14 @@ interface WithAcfOptionsPageSiteOptions { siteOptions: SiteOptions } +""" +Provides access to fields of the "PostListing" ACF Field Group via the "postListing" field +""" +interface WithAcfPostListing { + """Fields of the PostListing ACF Field Group""" + postListing: PostListing +} + """The writing setting type""" type WritingSettings { """Catégorie d’article par défaut."""