diff --git a/.github/workflows/build-legacy-docs.yml b/.github/workflows/build-legacy-docs.yml
deleted file mode 100644
index 22924f369..000000000
--- a/.github/workflows/build-legacy-docs.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-name: Build Legacy Docs Site
-
-on:
- pull_request:
- paths:
- - 'internal/legacy.faustjs.org/**'
-
-jobs:
- build_legacy_docs:
- runs-on: ubuntu-latest
- defaults:
- run:
- working-directory: ./internal/legacy.faustjs.org
- steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-node@v3
- with:
- node-version: '18'
- - run: npm ci
- - run: npm run build
diff --git a/.gitignore b/.gitignore
index b2d4a139c..0ecd42389 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,9 +9,7 @@ process.yml
.env
.env.*
!.env.local.sample
-.docusaurus
build/
-examples/next/getting-started/package-lock.json
faustjs.code-workspace
# Ignore the WordPress source where used by various development environments
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
index b1660e88d..8dc6c5571 100644
--- a/DEVELOPMENT.md
+++ b/DEVELOPMENT.md
@@ -9,7 +9,6 @@ There are many ways to [contribute](/CONTRIBUTING.md) to this project.
## Project Structure
-- `/internal/legacy.faustjs.org` - legacy faustjs documentation site
- `/packages` - NPM packages
- `/examples` - Example projects
- `/plugins` - WordPress Plugins
diff --git a/examples/next/getting-started/.env.local.sample b/examples/next/getting-started/.env.local.sample
deleted file mode 100644
index d2b613710..000000000
--- a/examples/next/getting-started/.env.local.sample
+++ /dev/null
@@ -1,5 +0,0 @@
-# Your WordPress site URL
-NEXT_PUBLIC_WORDPRESS_URL=https://headlessfw.wpengine.com
-
-# Plugin secret found in WordPress Settings->Headless
-FAUSTWP_SECRET_KEY=YOUR_PLUGIN_SECRET
diff --git a/examples/next/getting-started/.eslintrc b/examples/next/getting-started/.eslintrc
deleted file mode 100644
index 15b1ed91a..000000000
--- a/examples/next/getting-started/.eslintrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "extends": "next"
-}
diff --git a/examples/next/getting-started/.gitignore b/examples/next/getting-started/.gitignore
deleted file mode 100644
index b886ae8b4..000000000
--- a/examples/next/getting-started/.gitignore
+++ /dev/null
@@ -1,37 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-
-# testing
-/coverage
-
-# next.js
-/.next/
-/out/
-
-# production
-/build
-
-# misc
-.DS_Store
-*.pem
-
-# debug
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# dotenv files
-.env
-.env.test
-.env.production
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
-
-# vercel
-.vercel
diff --git a/examples/next/getting-started/README.md b/examples/next/getting-started/README.md
deleted file mode 100644
index c35fe2ec6..000000000
--- a/examples/next/getting-started/README.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# Next.js Headless WordPress Getting Started Example
-
-⚠️ TRY THE NEW FAUST: This Example project uses the old version of Faust. We will only be providing ongoing support for critical bugs and vulnerabilities with this version. If you intended to use the new version of Faust, please follow this [getting started guide](https://faustjs.org/docs/getting-started). Read the [following announcement](https://faustjs.org/blog/sprint-22-update) that explains the re-release of Faust.js.
-
-## Setup
-
-See the [setup steps](https://github.com/wpengine/faustjs#quick-start).
-
-## Run it
-
-```bash
-npm install
-npm run dev
-```
-
-[http://localhost:3000]()
diff --git a/examples/next/getting-started/gqty.config.js b/examples/next/getting-started/gqty.config.js
deleted file mode 100644
index 7f253230d..000000000
--- a/examples/next/getting-started/gqty.config.js
+++ /dev/null
@@ -1,30 +0,0 @@
-require('dotenv-flow').config();
-
-/**
- * @type {import("@gqty/cli").GQtyConfig}
- */
-const config = {
- react: false,
- scalarTypes: { DateTime: 'string' },
- introspection: {
- endpoint: `${process.env.NEXT_PUBLIC_WORDPRESS_URL}/graphql`,
- headers: {},
- },
- destination: './src/client/index.ts',
- subscriptions: false,
- javascriptOutput: false,
-};
-
-console.log(`Using "${config.introspection.endpoint}" to generate schema...`);
-console.log(
- '**********************************************************************',
-);
-console.log(`* ✨ There is a new version of Faust ✨. *
-* If you are still using the this version, and you wish to migrate, *
-* take a look at our migration guide at *
-* https://faustjs.org/docs/migrationPath/overview *`);
-console.log(
- '**********************************************************************',
-);
-
-module.exports = config;
diff --git a/examples/next/getting-started/next-env.d.ts b/examples/next/getting-started/next-env.d.ts
deleted file mode 100644
index 4f11a03dc..000000000
--- a/examples/next/getting-started/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/examples/next/getting-started/next.config.js b/examples/next/getting-started/next.config.js
deleted file mode 100644
index 85e4a431c..000000000
--- a/examples/next/getting-started/next.config.js
+++ /dev/null
@@ -1,6 +0,0 @@
-const { withFaust } = require('@faustjs/next');
-
-/**
- * @type {import('next').NextConfig}
- **/
-module.exports = withFaust();
diff --git a/examples/next/getting-started/package.json b/examples/next/getting-started/package.json
deleted file mode 100644
index ca6c07f21..000000000
--- a/examples/next/getting-started/package.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "name": "@faustjs/next-headless-getting-started",
- "version": "0.1.0",
- "private": true,
- "engines": {
- "node": ">=14.0.0",
- "npm": ">=6.0.0"
- },
- "scripts": {
- "dev": "next dev",
- "build": "next build",
- "start": "next start",
- "clean": "rimraf .next node_modules",
- "lint": "next lint",
- "generate": "gqty generate",
- "wpe-build": "next build"
- },
- "dependencies": {
- "@faustjs/core": "^0.15.13",
- "@faustjs/next": "^0.16.0",
- "next": "^12.3.4",
- "normalize.css": "^8.0.1",
- "react": "^17.0.2",
- "react-dom": "^17.0.2",
- "sass": "^1.54.0",
- "sharp": "^0.32.6"
- },
- "devDependencies": {
- "@gqty/cli": "^3.1.0",
- "@types/node": "^17.0.17",
- "@types/react": "^17.0.34",
- "@types/react-dom": "^17.0.11",
- "dotenv-flow": "3.2.0",
- "eslint": "^8.4.1",
- "eslint-config-next": "^12.0.7",
- "rimraf": "^3.0.2",
- "typescript": "^4.5.2"
- },
- "overrides": {
- "postcss": "^8.4.31"
- }
-}
diff --git a/examples/next/getting-started/public/favicon.ico b/examples/next/getting-started/public/favicon.ico
deleted file mode 100644
index 851e88c43..000000000
Binary files a/examples/next/getting-started/public/favicon.ico and /dev/null differ
diff --git a/examples/next/getting-started/public/images/headless_hero_background.jpg b/examples/next/getting-started/public/images/headless_hero_background.jpg
deleted file mode 100644
index 4248eb22a..000000000
Binary files a/examples/next/getting-started/public/images/headless_hero_background.jpg and /dev/null differ
diff --git a/examples/next/getting-started/src/client/index.ts b/examples/next/getting-started/src/client/index.ts
deleted file mode 100644
index b8a67429b..000000000
--- a/examples/next/getting-started/src/client/index.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * GQTY: You can safely modify this file and Query Fetcher based on your needs
- */
-import type { IncomingMessage } from 'http';
-import { getClient } from '@faustjs/next';
-import {
- generatedSchema,
- scalarsEnumsHash,
- GeneratedSchema,
- SchemaObjectTypes,
- SchemaObjectTypesNames,
-} from './schema.generated';
-
-export const client = getClient<
- GeneratedSchema,
- SchemaObjectTypesNames,
- SchemaObjectTypes
->({
- schema: generatedSchema,
- scalarsEnumsHash,
-});
-
-export function serverClient(req: IncomingMessage) {
- return getClient({
- schema: generatedSchema,
- scalarsEnumsHash,
- context: req,
- });
-}
-
-export * from './schema.generated';
diff --git a/examples/next/getting-started/src/client/schema.generated.ts b/examples/next/getting-started/src/client/schema.generated.ts
deleted file mode 100644
index 7badff6ad..000000000
--- a/examples/next/getting-started/src/client/schema.generated.ts
+++ /dev/null
@@ -1,20793 +0,0 @@
-/**
- * GQTY AUTO-GENERATED CODE: PLEASE DO NOT MODIFY MANUALLY
- */
-
-import { SchemaUnionsKey } from 'gqty';
-
-export type Maybe = T | null;
-export type InputMaybe = Maybe;
-export type Exact = {
- [K in keyof T]: T[K];
-};
-export type MakeOptional = Omit & {
- [SubKey in K]?: Maybe;
-};
-export type MakeMaybe = Omit & {
- [SubKey in K]: Maybe;
-};
-/** All built-in and custom scalars, mapped to their actual values */
-export interface Scalars {
- ID: string;
- String: string;
- Boolean: boolean;
- Int: number;
- Float: number;
-}
-
-/** What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order. Default is the value of the 'avatar_rating' option */
-export enum AvatarRatingEnum {
- /** Indicates a G level avatar rating level. */
- G = 'G',
- /** Indicates a PG level avatar rating level. */
- PG = 'PG',
- /** Indicates an R level avatar rating level. */
- R = 'R',
- /** Indicates an X level avatar rating level. */
- X = 'X',
-}
-
-/** The Type of Identifier used to fetch a single resource. Default is ID. */
-export enum CategoryIdType {
- /** The Database ID for the node */
- DATABASE_ID = 'DATABASE_ID',
- /** The hashed Global ID */
- ID = 'ID',
- /** The name of the node */
- NAME = 'NAME',
- /** Url friendly name of the node */
- SLUG = 'SLUG',
- /** The URI for the node */
- URI = 'URI',
-}
-
-/** Arguments for filtering the CategoryToCategoryConnection connection */
-export interface CategoryToCategoryConnectionWhereArgs {
- /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */
- cacheDomain?: InputMaybe;
- /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */
- childOf?: InputMaybe;
- /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */
- childless?: InputMaybe;
- /** Retrieve terms where the description is LIKE the input value. Default empty. */
- descriptionLike?: InputMaybe;
- /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */
- exclude?: InputMaybe>>;
- /** 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?: InputMaybe>>;
- /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */
- hideEmpty?: InputMaybe;
- /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */
- hierarchical?: InputMaybe;
- /** Array of term ids to include. Default empty array. */
- include?: InputMaybe>>;
- /** Array of names to return term(s) for. Default empty. */
- name?: InputMaybe>>;
- /** Retrieve terms where the name is LIKE the input value. Default empty. */
- nameLike?: InputMaybe;
- /** Array of object IDs. Results will be limited to terms associated with these objects. */
- objectIds?: InputMaybe>>;
- /** Direction the connection should be ordered in */
- order?: InputMaybe;
- /** Field(s) to order terms by. Defaults to 'name'. */
- orderby?: InputMaybe;
- /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */
- padCounts?: InputMaybe;
- /** Parent term ID to retrieve direct-child terms of. Default empty. */
- parent?: InputMaybe;
- /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */
- search?: InputMaybe;
- /** Array of slugs to return term(s) for. Default empty. */
- slug?: InputMaybe>>;
- /** Array of term taxonomy IDs, to match when querying terms. */
- termTaxonomId?: InputMaybe>>;
- /** Array of term taxonomy IDs, to match when querying terms. */
- termTaxonomyId?: InputMaybe>>;
- /** Whether to prime meta caches for matched terms. Default true. */
- updateTermMetaCache?: InputMaybe;
-}
-
-/** Arguments for filtering the CategoryToContentNodeConnection connection */
-export interface CategoryToContentNodeConnectionWhereArgs {
- /** The Types of content to filter */
- contentTypes?: InputMaybe>>;
- /** Filter the connection based on dates */
- dateQuery?: InputMaybe;
- /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */
- hasPassword?: InputMaybe;
- /** Specific database ID of the object */
- id?: InputMaybe;
- /** Array of IDs for the objects to retrieve */
- in?: InputMaybe>>;
- /** Get objects with a specific mimeType property */
- mimeType?: InputMaybe;
- /** Slug / post_name of the object */
- name?: InputMaybe;
- /** Specify objects to retrieve. Use slugs */
- nameIn?: InputMaybe>>;
- /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */
- notIn?: InputMaybe>>;
- /** What parameter to use to order the objects by. */
- orderby?: InputMaybe>>;
- /** Use ID to return only children. Use 0 to return only top-level items */
- parent?: InputMaybe;
- /** Specify objects whose parent is in an array */
- parentIn?: InputMaybe>>;
- /** Specify posts whose parent is not in an array */
- parentNotIn?: InputMaybe>>;
- /** Show posts with a specific password. */
- password?: InputMaybe;
- /** Show Posts based on a keyword search */
- search?: InputMaybe;
- /** Retrieve posts where post status is in an array. */
- stati?: InputMaybe>>;
- /** Show posts with a specific status. */
- status?: InputMaybe;
- /** Title of the object */
- title?: InputMaybe;
-}
-
-/** Arguments for filtering the CategoryToPostConnection connection */
-export interface CategoryToPostConnectionWhereArgs {
- /** The user that's connected as the author of the object. Use the userId for the author object. */
- author?: InputMaybe;
- /** Find objects connected to author(s) in the array of author's userIds */
- authorIn?: InputMaybe>>;
- /** Find objects connected to the author by the author's nicename */
- authorName?: InputMaybe;
- /** Find objects NOT connected to author(s) in the array of author's userIds */
- authorNotIn?: InputMaybe>>;
- /** Category ID */
- categoryId?: InputMaybe;
- /** Array of category IDs, used to display objects from one category OR another */
- categoryIn?: InputMaybe>>;
- /** Use Category Slug */
- categoryName?: InputMaybe;
- /** Array of category IDs, used to display objects from one category OR another */
- categoryNotIn?: InputMaybe>>;
- /** Filter the connection based on dates */
- dateQuery?: InputMaybe;
- /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */
- hasPassword?: InputMaybe;
- /** Specific database ID of the object */
- id?: InputMaybe;
- /** Array of IDs for the objects to retrieve */
- in?: InputMaybe>>;
- /** Get objects with a specific mimeType property */
- mimeType?: InputMaybe;
- /** Slug / post_name of the object */
- name?: InputMaybe;
- /** Specify objects to retrieve. Use slugs */
- nameIn?: InputMaybe>>;
- /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */
- notIn?: InputMaybe>>;
- /** What parameter to use to order the objects by. */
- orderby?: InputMaybe>>;
- /** Use ID to return only children. Use 0 to return only top-level items */
- parent?: InputMaybe;
- /** Specify objects whose parent is in an array */
- parentIn?: InputMaybe>>;
- /** Specify posts whose parent is not in an array */
- parentNotIn?: InputMaybe>>;
- /** Show posts with a specific password. */
- password?: InputMaybe;
- /** Show Posts based on a keyword search */
- search?: InputMaybe;
- /** Retrieve posts where post status is in an array. */
- stati?: InputMaybe>>;
- /** Show posts with a specific status. */
- status?: InputMaybe;
- /** Tag Slug */
- tag?: InputMaybe;
- /** Use Tag ID */
- tagId?: InputMaybe;
- /** Array of tag IDs, used to display objects from one tag OR another */
- tagIn?: InputMaybe>>;
- /** Array of tag IDs, used to display objects from one tag OR another */
- tagNotIn?: InputMaybe>>;
- /** Array of tag slugs, used to display objects from one tag AND another */
- tagSlugAnd?: InputMaybe>>;
- /** Array of tag slugs, used to include objects in ANY specified tags */
- tagSlugIn?: InputMaybe>>;
- /** Title of the object */
- title?: InputMaybe;
-}
-
-/** The Type of Identifier used to fetch a single comment node. Default is "ID". To be used along with the "id" field. */
-export enum CommentNodeIdTypeEnum {
- /** Identify a resource by the Database ID. */
- DATABASE_ID = 'DATABASE_ID',
- /** Identify a resource by the (hashed) Global ID. */
- ID = 'ID',
-}
-
-/** The status of the comment object. */
-export enum CommentStatusEnum {
- /** Comments with the Approved status */
- APPROVE = 'APPROVE',
- /** Comments with the Unapproved status */
- HOLD = 'HOLD',
- /** Comments with the Spam status */
- SPAM = 'SPAM',
- /** Comments with the Trash status */
- TRASH = 'TRASH',
-}
-
-/** Arguments for filtering the CommentToCommentConnection connection */
-export interface CommentToCommentConnectionWhereArgs {
- /** Comment author email address. */
- authorEmail?: InputMaybe;
- /** Array of author IDs to include comments for. */
- authorIn?: InputMaybe>>;
- /** Array of author IDs to exclude comments for. */
- authorNotIn?: InputMaybe>>;
- /** Comment author URL. */
- authorUrl?: InputMaybe;
- /** Array of comment IDs to include. */
- commentIn?: InputMaybe>>;
- /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */
- commentNotIn?: InputMaybe>>;
- /** Include comments of a given type. */
- commentType?: InputMaybe;
- /** Include comments from a given array of comment types. */
- commentTypeIn?: InputMaybe>>;
- /** Exclude comments from a given array of comment types. */
- commentTypeNotIn?: InputMaybe;
- /** Content object author ID to limit results by. */
- contentAuthor?: InputMaybe>>;
- /** Array of author IDs to retrieve comments for. */
- contentAuthorIn?: InputMaybe>>;
- /** Array of author IDs *not* to retrieve comments for. */
- contentAuthorNotIn?: InputMaybe>>;
- /** Limit results to those affiliated with a given content object ID. */
- contentId?: InputMaybe;
- /** Array of content object IDs to include affiliated comments for. */
- contentIdIn?: InputMaybe>>;
- /** Array of content object IDs to exclude affiliated comments for. */
- contentIdNotIn?: InputMaybe>>;
- /** Content object name (i.e. slug ) to retrieve affiliated comments for. */
- contentName?: InputMaybe;
- /** Content Object parent ID to retrieve affiliated comments for. */
- contentParent?: InputMaybe;
- /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */
- contentStatus?: InputMaybe>>;
- /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */
- contentType?: InputMaybe>>;
- /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */
- includeUnapproved?: InputMaybe>>;
- /** Karma score to retrieve matching comments for. */
- karma?: InputMaybe;
- /** The cardinality of the order of the connection */
- order?: InputMaybe;
- /** Field to order the comments by. */
- orderby?: InputMaybe;
- /** Parent ID of comment to retrieve children of. */
- parent?: InputMaybe;
- /** Array of parent IDs of comments to retrieve children for. */
- parentIn?: InputMaybe>>;
- /** Array of parent IDs of comments *not* to retrieve children for. */
- parentNotIn?: InputMaybe>>;
- /** Search term(s) to retrieve matching comments for. */
- search?: InputMaybe;
- /** Comment status to limit results by. */
- status?: InputMaybe;
- /** Include comments for a specific user ID. */
- userId?: InputMaybe;
-}
-
-/** Arguments for filtering the CommentToParentCommentConnection connection */
-export interface CommentToParentCommentConnectionWhereArgs {
- /** Comment author email address. */
- authorEmail?: InputMaybe;
- /** Array of author IDs to include comments for. */
- authorIn?: InputMaybe>>;
- /** Array of author IDs to exclude comments for. */
- authorNotIn?: InputMaybe>>;
- /** Comment author URL. */
- authorUrl?: InputMaybe;
- /** Array of comment IDs to include. */
- commentIn?: InputMaybe>>;
- /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */
- commentNotIn?: InputMaybe>>;
- /** Include comments of a given type. */
- commentType?: InputMaybe;
- /** Include comments from a given array of comment types. */
- commentTypeIn?: InputMaybe>>;
- /** Exclude comments from a given array of comment types. */
- commentTypeNotIn?: InputMaybe;
- /** Content object author ID to limit results by. */
- contentAuthor?: InputMaybe>>;
- /** Array of author IDs to retrieve comments for. */
- contentAuthorIn?: InputMaybe>>;
- /** Array of author IDs *not* to retrieve comments for. */
- contentAuthorNotIn?: InputMaybe>>;
- /** Limit results to those affiliated with a given content object ID. */
- contentId?: InputMaybe;
- /** Array of content object IDs to include affiliated comments for. */
- contentIdIn?: InputMaybe>>;
- /** Array of content object IDs to exclude affiliated comments for. */
- contentIdNotIn?: InputMaybe>>;
- /** Content object name (i.e. slug ) to retrieve affiliated comments for. */
- contentName?: InputMaybe;
- /** Content Object parent ID to retrieve affiliated comments for. */
- contentParent?: InputMaybe;
- /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */
- contentStatus?: InputMaybe>>;
- /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */
- contentType?: InputMaybe>>;
- /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */
- includeUnapproved?: InputMaybe>>;
- /** Karma score to retrieve matching comments for. */
- karma?: InputMaybe;
- /** The cardinality of the order of the connection */
- order?: InputMaybe;
- /** Field to order the comments by. */
- orderby?: InputMaybe;
- /** Parent ID of comment to retrieve children of. */
- parent?: InputMaybe;
- /** Array of parent IDs of comments to retrieve children for. */
- parentIn?: InputMaybe>>;
- /** Array of parent IDs of comments *not* to retrieve children for. */
- parentNotIn?: InputMaybe>>;
- /** Search term(s) to retrieve matching comments for. */
- search?: InputMaybe;
- /** Comment status to limit results by. */
- status?: InputMaybe;
- /** Include comments for a specific user ID. */
- userId?: InputMaybe;
-}
-
-/** Options for ordering the connection */
-export enum CommentsConnectionOrderbyEnum {
- /** Order by browser user agent of the commenter. */
- COMMENT_AGENT = 'COMMENT_AGENT',
- /** Order by approval status of the comment. */
- COMMENT_APPROVED = 'COMMENT_APPROVED',
- /** Order by name of the comment author. */
- COMMENT_AUTHOR = 'COMMENT_AUTHOR',
- /** Order by e-mail of the comment author. */
- COMMENT_AUTHOR_EMAIL = 'COMMENT_AUTHOR_EMAIL',
- /** Order by IP address of the comment author. */
- COMMENT_AUTHOR_IP = 'COMMENT_AUTHOR_IP',
- /** Order by URL address of the comment author. */
- COMMENT_AUTHOR_URL = 'COMMENT_AUTHOR_URL',
- /** Order by the comment contents. */
- COMMENT_CONTENT = 'COMMENT_CONTENT',
- /** Order by date/time timestamp of the comment. */
- COMMENT_DATE = 'COMMENT_DATE',
- /** Order by GMT timezone date/time timestamp of the comment. */
- COMMENT_DATE_GMT = 'COMMENT_DATE_GMT',
- /** Order by the globally unique identifier for the comment object */
- COMMENT_ID = 'COMMENT_ID',
- /** Order by the array list of comment IDs listed in the where clause. */
- COMMENT_IN = 'COMMENT_IN',
- /** Order by the comment karma score. */
- COMMENT_KARMA = 'COMMENT_KARMA',
- /** Order by the comment parent ID. */
- COMMENT_PARENT = 'COMMENT_PARENT',
- /** Order by the post object ID. */
- COMMENT_POST_ID = 'COMMENT_POST_ID',
- /** Order by the the type of comment, such as 'comment', 'pingback', or 'trackback'. */
- COMMENT_TYPE = 'COMMENT_TYPE',
- /** Order by the user ID. */
- USER_ID = 'USER_ID',
-}
-
-/** The Type of Identifier used to fetch a single resource. Default is ID. */
-export enum ContentNodeIdTypeEnum {
- /** Identify a resource by the Database ID. */
- DATABASE_ID = 'DATABASE_ID',
- /** Identify a resource by the (hashed) Global ID. */
- ID = 'ID',
- /** Identify a resource by the URI. */
- URI = 'URI',
-}
-
-/** Allowed Content Types */
-export enum ContentTypeEnum {
- /** The Type of Content object */
- ATTACHMENT = 'ATTACHMENT',
- /** The Type of Content object */
- PAGE = 'PAGE',
- /** The Type of Content object */
- POST = 'POST',
-}
-
-/** The Type of Identifier used to fetch a single Content Type node. To be used along with the "id" field. Default is "ID". */
-export enum ContentTypeIdTypeEnum {
- /** The globally unique ID */
- ID = 'ID',
- /** The name of the content type. */
- NAME = 'NAME',
-}
-
-/** Arguments for filtering the ContentTypeToContentNodeConnection connection */
-export interface ContentTypeToContentNodeConnectionWhereArgs {
- /** The Types of content to filter */
- contentTypes?: InputMaybe>>;
- /** Filter the connection based on dates */
- dateQuery?: InputMaybe;
- /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */
- hasPassword?: InputMaybe;
- /** Specific database ID of the object */
- id?: InputMaybe;
- /** Array of IDs for the objects to retrieve */
- in?: InputMaybe>>;
- /** Get objects with a specific mimeType property */
- mimeType?: InputMaybe;
- /** Slug / post_name of the object */
- name?: InputMaybe;
- /** Specify objects to retrieve. Use slugs */
- nameIn?: InputMaybe>>;
- /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */
- notIn?: InputMaybe>>;
- /** What parameter to use to order the objects by. */
- orderby?: InputMaybe>>;
- /** Use ID to return only children. Use 0 to return only top-level items */
- parent?: InputMaybe;
- /** Specify objects whose parent is in an array */
- parentIn?: InputMaybe>>;
- /** Specify posts whose parent is not in an array */
- parentNotIn?: InputMaybe>>;
- /** Show posts with a specific password. */
- password?: InputMaybe;
- /** Show Posts based on a keyword search */
- search?: InputMaybe;
- /** Retrieve posts where post status is in an array. */
- stati?: InputMaybe>>;
- /** Show posts with a specific status. */
- status?: InputMaybe;
- /** Title of the object */
- title?: InputMaybe;
-}
-
-/** Allowed Content Types of the Category taxonomy. */
-export enum ContentTypesOfCategoryEnum {
- /** The Type of Content object */
- POST = 'POST',
-}
-
-/** Allowed Content Types of the PostFormat taxonomy. */
-export enum ContentTypesOfPostFormatEnum {
- /** The Type of Content object */
- POST = 'POST',
-}
-
-/** Allowed Content Types of the Tag taxonomy. */
-export enum ContentTypesOfTagEnum {
- /** The Type of Content object */
- POST = 'POST',
-}
-
-/** Input for the createCategory mutation. */
-export interface CreateCategoryInput {
- /** The slug that the category will be an alias of */
- aliasOf?: InputMaybe;
- /** 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?: InputMaybe;
- /** The description of the category object */
- description?: InputMaybe;
- /** The name of the category object to mutate */
- name: Scalars['String'];
- /** The ID of the category that should be set as the parent */
- parentId?: InputMaybe;
- /** 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?: InputMaybe;
-}
-
-/** Input for the createComment mutation. */
-export interface CreateCommentInput {
- /** The approval status of the comment. */
- approved?: InputMaybe;
- /** The name of the comment's author. */
- author?: InputMaybe;
- /** The email of the comment's author. */
- authorEmail?: InputMaybe;
- /** The url of the comment's author. */
- authorUrl?: InputMaybe;
- /** 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?: InputMaybe;
- /** The database ID of the post object the comment belongs to. */
- commentOn?: InputMaybe;
- /** Content of the comment. */
- content?: InputMaybe;
- /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */
- date?: InputMaybe;
- /** Parent comment ID of current comment. */
- parent?: InputMaybe;
- /** The approval status of the comment */
- status?: InputMaybe;
- /** Type of comment. */
- type?: InputMaybe;
-}
-
-/** Input for the createMediaItem mutation. */
-export interface CreateMediaItemInput {
- /** Alternative text to display when mediaItem is not displayed */
- altText?: InputMaybe;
- /** The userId to assign as the author of the mediaItem */
- authorId?: InputMaybe;
- /** The caption for the mediaItem */
- caption?: InputMaybe;
- /** 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?: InputMaybe;
- /** The comment status for the mediaItem */
- commentStatus?: InputMaybe;
- /** The date of the mediaItem */
- date?: InputMaybe;
- /** The date (in GMT zone) of the mediaItem */
- dateGmt?: InputMaybe;
- /** Description of the mediaItem */
- description?: InputMaybe;
- /** The file name of the mediaItem */
- filePath?: InputMaybe;
- /** The file type of the mediaItem */
- fileType?: InputMaybe;
- /** The ID of the parent object */
- parentId?: InputMaybe;
- /** The ping status for the mediaItem */
- pingStatus?: InputMaybe;
- /** The slug of the mediaItem */
- slug?: InputMaybe;
- /** The status of the mediaItem */
- status?: InputMaybe;
- /** The title of the mediaItem */
- title?: InputMaybe;
-}
-
-/** Input for the createPage mutation. */
-export interface CreatePageInput {
- /** The userId to assign as the author of the object */
- authorId?: InputMaybe;
- /** 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?: InputMaybe;
- /** The comment status for the object */
- commentStatus?: InputMaybe;
- /** The content of the object */
- content?: InputMaybe;
- /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */
- date?: InputMaybe;
- /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */
- menuOrder?: InputMaybe;
- /** The ID of the parent object */
- parentId?: InputMaybe;
- /** The password used to protect the content of the object */
- password?: InputMaybe;
- /** The slug of the object */
- slug?: InputMaybe;
- /** The status of the object */
- status?: InputMaybe;
- /** The title of the object */
- title?: InputMaybe;
-}
-
-/** Input for the createPostFormat mutation. */
-export interface CreatePostFormatInput {
- /** The slug that the post_format will be an alias of */
- aliasOf?: InputMaybe;
- /** 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?: InputMaybe;
- /** The description of the post_format object */
- description?: InputMaybe;
- /** The name of the post_format object to mutate */
- name: Scalars['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?: InputMaybe;
-}
-
-/** Input for the createPost mutation. */
-export interface CreatePostInput {
- /** The userId to assign as the author of the object */
- authorId?: InputMaybe;
- /** Set connections between the post and categories */
- categories?: InputMaybe;
- /** 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?: InputMaybe;
- /** The comment status for the object */
- commentStatus?: InputMaybe;
- /** The content of the object */
- content?: InputMaybe;
- /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */
- date?: InputMaybe;
- /** The excerpt of the object */
- excerpt?: InputMaybe;
- /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */
- menuOrder?: InputMaybe;
- /** The password used to protect the content of the object */
- password?: InputMaybe;
- /** The ping status for the object */
- pingStatus?: InputMaybe;
- /** URLs that have been pinged. */
- pinged?: InputMaybe>>;
- /** Set connections between the post and postFormats */
- postFormats?: InputMaybe;
- /** The slug of the object */
- slug?: InputMaybe;
- /** The status of the object */
- status?: InputMaybe;
- /** Set connections between the post and tags */
- tags?: InputMaybe;
- /** The title of the object */
- title?: InputMaybe;
- /** URLs queued to be pinged. */
- toPing?: InputMaybe>>;
-}
-
-/** Input for the createTag mutation. */
-export interface CreateTagInput {
- /** The slug that the post_tag will be an alias of */
- aliasOf?: InputMaybe;
- /** 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?: InputMaybe;
- /** The description of the post_tag object */
- description?: InputMaybe;
- /** The name of the post_tag object to mutate */
- name: Scalars['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?: InputMaybe;
-}
-
-/** Input for the createUser mutation. */
-export interface CreateUserInput {
- /** User's AOL IM account. */
- aim?: InputMaybe;
- /** 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?: InputMaybe;
- /** A string containing content about the user. */
- description?: InputMaybe;
- /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */
- displayName?: InputMaybe;
- /** A string containing the user's email address. */
- email?: InputMaybe;
- /** The user's first name. */
- firstName?: InputMaybe;
- /** User's Jabber account. */
- jabber?: InputMaybe;
- /** The user's last name. */
- lastName?: InputMaybe;
- /** User's locale. */
- locale?: InputMaybe;
- /** A string that contains a URL-friendly name for the user. The default is the user's username. */
- nicename?: InputMaybe;
- /** The user's nickname, defaults to the user's username. */
- nickname?: InputMaybe;
- /** A string that contains the plain text password for the user. */
- password?: InputMaybe;
- /** The date the user registered. Format is Y-m-d H:i:s. */
- registered?: InputMaybe;
- /** A string for whether to enable the rich editor or not. False if not empty. */
- richEditing?: InputMaybe;
- /** An array of roles to be assigned to the user. */
- roles?: InputMaybe>>;
- /** A string that contains the user's username for logging in. */
- username: Scalars['String'];
- /** A string containing the user's URL for the user's web site. */
- websiteUrl?: InputMaybe;
- /** User's Yahoo IM account. */
- yim?: InputMaybe;
-}
-
-/** Date values */
-export interface DateInput {
- /** Day of the month (from 1 to 31) */
- day?: InputMaybe;
- /** Month number (from 1 to 12) */
- month?: InputMaybe;
- /** 4 digit year (e.g. 2017) */
- year?: InputMaybe;
-}
-
-/** Filter the connection based on input */
-export interface DateQueryInput {
- /** Nodes should be returned after this date */
- after?: InputMaybe;
- /** Nodes should be returned before this date */
- before?: InputMaybe;
- /** Column to query against */
- column?: InputMaybe;
- /** For after/before, whether exact value should be matched or not */
- compare?: InputMaybe;
- /** Day of the month (from 1 to 31) */
- day?: InputMaybe;
- /** Hour (from 0 to 23) */
- hour?: InputMaybe;
- /** For after/before, whether exact value should be matched or not */
- inclusive?: InputMaybe;
- /** Minute (from 0 to 59) */
- minute?: InputMaybe;
- /** Month number (from 1 to 12) */
- month?: InputMaybe;
- /** OR or AND, how the sub-arrays should be compared */
- relation?: InputMaybe;
- /** Second (0 to 59) */
- second?: InputMaybe