From b3f9e0fd99ef204f39bb24abfcde42daf76af004 Mon Sep 17 00:00:00 2001 From: Jude Allred Date: Wed, 13 Dec 2023 23:26:26 -0500 Subject: [PATCH] Remove auto-types.ts and hardcode its relevant items into types.ts This file was ignored and persisted across branches, thus causing fresh checkouts to break (as Vite no longer generates this) but existing checkouts to act "normal". I've removed the files and its special cases entirely, and added its contents into types.ts. This now repairs the build. Next up is pruning out the unused generated items and only keeping the relevant ones. --- apps/sim-core/packages/core/.gitignore | 5 +- apps/sim-core/packages/core/.prettierignore | 2 - apps/sim-core/packages/core/codegen.yml | 13 - .../HashRouter/Effect/templates/empty.ts | 2 +- .../HashRouter/Effect/templates/starter.ts | 2 +- .../src/features/simulator/simulate/slice.ts | 2 +- .../packages/core/src/util/api/auto-types.ts | 3667 +++ .../core/src/util/api/graphql-schema.json | 21863 ---------------- .../util/api/queries/addDatasetToProject.ts | 2 +- .../src/util/api/queries/bootstrapQuery.ts | 2 +- .../util/api/queries/canUserEditProject.ts | 2 +- .../src/util/api/queries/commitActions.ts | 2 +- .../queries/forkAndReleaseBehaviorsQuery.ts | 2 +- .../util/api/queries/partialProjectByPath.ts | 2 +- .../src/util/api/queries/projectHistory.ts | 2 +- .../api/queries/unpreparedProjectByPath.ts | 2 +- .../packages/core/src/util/api/types.ts | 3672 ++- .../packages/core/src/util/api/utils.ts | 2 +- 18 files changed, 7350 insertions(+), 21896 deletions(-) delete mode 100644 apps/sim-core/packages/core/codegen.yml create mode 100644 apps/sim-core/packages/core/src/util/api/auto-types.ts delete mode 100644 apps/sim-core/packages/core/src/util/api/graphql-schema.json diff --git a/apps/sim-core/packages/core/.gitignore b/apps/sim-core/packages/core/.gitignore index d76d9b4..e86ef84 100644 --- a/apps/sim-core/packages/core/.gitignore +++ b/apps/sim-core/packages/core/.gitignore @@ -1,5 +1,2 @@ coverage -dist - -# auto-generated types for API queries -src/util/api/auto-types.ts \ No newline at end of file +dist \ No newline at end of file diff --git a/apps/sim-core/packages/core/.prettierignore b/apps/sim-core/packages/core/.prettierignore index 33e8c3d..e69de29 100644 --- a/apps/sim-core/packages/core/.prettierignore +++ b/apps/sim-core/packages/core/.prettierignore @@ -1,2 +0,0 @@ -src/util/api/graphql-schema.json -src/util/api/auto-types.ts diff --git a/apps/sim-core/packages/core/codegen.yml b/apps/sim-core/packages/core/codegen.yml deleted file mode 100644 index ddf1d53..0000000 --- a/apps/sim-core/packages/core/codegen.yml +++ /dev/null @@ -1,13 +0,0 @@ -schema: ./src/util/api/graphql-schema.json -overwrite: true -generates: - ./src/util/api/auto-types.ts: - plugins: - - add: - content: "// tslint:disable" - - "typescript" - - "typescript-operations" - config: - skipTypename: true - maybeValue: T | null | undefined - documents: ./src/util/api/queries/*.ts diff --git a/apps/sim-core/packages/core/src/components/HashRouter/Effect/templates/empty.ts b/apps/sim-core/packages/core/src/components/HashRouter/Effect/templates/empty.ts index 5c65fc5..cd74152 100644 --- a/apps/sim-core/packages/core/src/components/HashRouter/Effect/templates/empty.ts +++ b/apps/sim-core/packages/core/src/components/HashRouter/Effect/templates/empty.ts @@ -1,4 +1,4 @@ -import { CommitActionVerb } from "../../../../util/api/auto-types"; +import { CommitActionVerb } from "../../../../util/api/types"; import { ProjectTemplate } from "./types"; import { defaultJsBehaviorSrc } from "../../../../util/defaultJsBehaviorSrc"; diff --git a/apps/sim-core/packages/core/src/components/HashRouter/Effect/templates/starter.ts b/apps/sim-core/packages/core/src/components/HashRouter/Effect/templates/starter.ts index 5b7aef5..9fa1865 100644 --- a/apps/sim-core/packages/core/src/components/HashRouter/Effect/templates/starter.ts +++ b/apps/sim-core/packages/core/src/components/HashRouter/Effect/templates/starter.ts @@ -1,4 +1,4 @@ -import { CommitActionVerb } from "../../../../util/api/auto-types"; +import { CommitActionVerb } from "../../../../util/api/types"; import { ProjectTemplate } from "./types"; const starterSimAnalysis = `\ diff --git a/apps/sim-core/packages/core/src/features/simulator/simulate/slice.ts b/apps/sim-core/packages/core/src/features/simulator/simulate/slice.ts index c0761ed..b2f76f5 100644 --- a/apps/sim-core/packages/core/src/features/simulator/simulate/slice.ts +++ b/apps/sim-core/packages/core/src/features/simulator/simulate/slice.ts @@ -17,7 +17,7 @@ import { } from "@hashintel/engine-web"; import { AnalysisMode } from "./enum"; -import { Commit, ProjectHistoryItemType } from "../../../util/api/auto-types"; +import { Commit, ProjectHistoryItemType } from "../../../util/api/types"; import { CommitWithoutStats } from "../../../util/api/queries/commitActions"; import { DEFAULT_STEPS_PER_SECOND, diff --git a/apps/sim-core/packages/core/src/util/api/auto-types.ts b/apps/sim-core/packages/core/src/util/api/auto-types.ts new file mode 100644 index 0000000..2f81e6c --- /dev/null +++ b/apps/sim-core/packages/core/src/util/api/auto-types.ts @@ -0,0 +1,3667 @@ +// tslint:disable +export type Maybe = T | null | undefined; +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 type Scalars = { + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + JSONObject: any; + Date: any; + JSON: any; + Upload: any; +}; + +/** The queries available in this schema */ +export type Query = { + /** A flat list of active cache keys */ + cacheFlat: Array; + /** Active cache keys structured by namespace, resource, and query */ + cacheStructured: Scalars['JSONObject']; + /** Retrieve a list of application build URLs */ + coreVersions?: Maybe>; + /** Query for scraped datasets (admin only) */ + scrapedDatasets: ScrapedDatasetResults; + datasetFilterValues: DatasetFilterValues; + /** Retrieve an experiment run by its id */ + experimentRun?: Maybe; + /** Retrieve a specific run by its id */ + simulationRun?: Maybe; + /** Generate an experiment plan from a selected definition in an experiments.json object */ + experimentPlan: ExperimentPlan; + /** Retrieve a project issue */ + issue: Issue; + /** Return all keywords in use across the Index */ + keywords: Array; + /** + * License which may be used to publish items to the Index under. + * + * If no suitable license is listed, publishers are advised to select Copyright + * (All Rights Reserved) and then note their specific usage conditions in the + * listing's descriptions. + */ + licenses: Array; + /** Retrieve a project merge request */ + mergeRequest: MergeRequest; + /** Retrieve data on a specific organization by its ID or name. One of ID or name must be supplied */ + org?: Maybe; + /** Retrieve data on all organizations, or those with names containing a specific string */ + orgs?: Maybe>; + /** Return a PolyModel by its slug */ + polyModel: PolyModel; + /** Return all PolyModels available via the HASH API */ + polyModels: Array; + /** Retrieve a project by its path */ + project: Project; + /** Retrieve a release of a particular project */ + release: Release; + /** + * " + * Query for special types of projects + */ + specialProjects: Array; + /** Search for projects matching the filters specified. */ + searchProjects: ProjectSearchResults; + /** Return all site-wide roles in the system */ + roles: Array; + scrapers: Array; + source?: Maybe; + /** Retrieve all available subject types in the system */ + subjects: Array; + /** Retrieve a subject. */ + subject: Subject; + /** Retrieve all available properties in the system */ + properties: Array; + /** Retrieve a property */ + property: Property; + /** Information on the user making the request */ + me?: Maybe; + /** Retrieve all users by page, with optional filtering */ + users: UsersResult; + /** Retrieve the details of a specific user by their ID, email address, or shortname */ + user?: Maybe; + /** Retrieve a user or organization by their shortname or id */ + userOrOrg?: Maybe; + /** + * Fetch available integrations, either for this user, + * or for this user that are also authorized for the given projectId. + */ + availableIntegrations: Array; + /** Fetch full integration information -- _WILL_ include the secret of the credential itself if the user is allowed access. */ + integration?: Maybe; + /** Internal-only endpoint for fetching integrations. */ + integrations: Array; + /** + * Retrieves the set of integrations to be used for a given user and project. + * Errors out if the user has not set up integrations properly for the project. + */ + resolveIntegrations: Array; +}; + + +/** The queries available in this schema */ +export type QueryScrapedDatasetsArgs = { + perPage?: Maybe; + page?: Maybe; + sort?: Maybe; + filters?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryExperimentRunArgs = { + id: Scalars['ID']; +}; + + +/** The queries available in this schema */ +export type QuerySimulationRunArgs = { + id: Scalars['ID']; +}; + + +/** The queries available in this schema */ +export type QueryExperimentPlanArgs = { + name: Scalars['String']; + experimentsSrc: Scalars['String']; +}; + + +/** The queries available in this schema */ +export type QueryIssueArgs = { + projectPath: Scalars['String']; + issueId: Scalars['Int']; +}; + + +/** The queries available in this schema */ +export type QueryMergeRequestArgs = { + projectPath: Scalars['String']; + mergeRequestId: Scalars['Int']; +}; + + +/** The queries available in this schema */ +export type QueryOrgArgs = { + id?: Maybe; + name?: Maybe; + shortname?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryOrgsArgs = { + name?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryPolyModelArgs = { + slug: Scalars['String']; +}; + + +/** The queries available in this schema */ +export type QueryProjectArgs = { + projectPath?: Maybe; + ref?: Maybe; + oldId?: Maybe; + oldType?: Maybe; + accessCode?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryReleaseArgs = { + projectPath: Scalars['String']; + tag?: Maybe; + files?: Maybe>; +}; + + +/** The queries available in this schema */ +export type QuerySpecialProjectsArgs = { + type: SpecialProjectType; +}; + + +/** The queries available in this schema */ +export type QuerySearchProjectsArgs = { + query?: Maybe; + subjects?: Maybe>; + types?: Maybe>; + perPage?: Maybe; + page?: Maybe; + sort?: Maybe; + language?: Maybe; + temporalCoverage?: Maybe; + dataFrequency?: Maybe; + spatialCoverage?: Maybe; + releasedOnly?: Maybe; +}; + + +/** The queries available in this schema */ +export type QuerySubjectsArgs = { + onlyPopulated?: Maybe>; +}; + + +/** The queries available in this schema */ +export type QuerySubjectArgs = { + name: Scalars['String']; + namespace?: Maybe; + version?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryPropertyArgs = { + name: Scalars['String']; + namespace?: Maybe; + version?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryUsersArgs = { + page?: Maybe; + sort?: Maybe; + sortDirection?: Maybe; + search?: Maybe; + filter?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryUserArgs = { + id?: Maybe; + email?: Maybe; + shortname?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryUserOrOrgArgs = { + shortname?: Maybe; + id?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryAvailableIntegrationsArgs = { + types?: Maybe>; + hFlowOnly?: Maybe; + namespaceId?: Maybe; + projectId?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryIntegrationArgs = { + id: Scalars['ID']; +}; + + +/** The queries available in this schema */ +export type QueryIntegrationsArgs = { + ids: Array; +}; + + +/** The queries available in this schema */ +export type QueryResolveIntegrationsArgs = { + projectId: Scalars['ID']; +}; + + +export enum ScrapedSortOption { + /** The date the dataset was last modified */ + DateModified = 'dateModified', + /** The date the dataset was originally published */ + DatePublished = 'datePublished' +} + +export type ScrapedDatasetFilters = { + /** A text string to search */ + query?: Maybe; + /** The name of the organization as listed in the source */ + publisher?: Maybe; + published?: Maybe; + ignored?: Maybe; + updated?: Maybe; + fileFormat?: Maybe; + zip?: Maybe; +}; + +export enum FlagToggle { + /** Include results with the flag */ + Include = 'include', + /** Exclude results with the flag */ + Exclude = 'exclude', + /** Only show results with the flag */ + Only = 'only' +} + +export enum FormatFilter { + /** Show results with any files */ + Any = 'any', + /** Show results with no files */ + None = 'none', + /** Only show results with an accepted file format */ + Accepted = 'accepted', + /** Only show results with a CSV file */ + Csv = 'csv', + /** Only show results with a JSON file */ + Json = 'json' +} + +export type ScrapedDatasetResults = { + /** The results for the query, limited to the requested page */ + results: Array; + /** The number of results requested */ + perPage: Scalars['Int']; + /** The page requested */ + page: Scalars['Int']; + /** The total number of datasets matching the query */ + totalCount: Scalars['Int']; + /** The publishers available for query */ + publishers: Array; + /** The filter settings for the query */ + filters: ScrapedDatasetFiltersUsed; +}; + +export type ScrapedDataset = { + /** The source the dataset was scraped from */ + source?: Maybe; + /** The id used to identify the dataset in its original source */ + sourceId?: Maybe; + /** The URL to view the dataset in its original source */ + sourceUrl?: Maybe; + /** The id of this specific revision of the dataset */ + revisionId?: Maybe; + /** Whether or not the dataset has been published to the Index */ + published?: Maybe; + /** Whether or not the dataset has been permanently ignored */ + ignored?: Maybe; + /** + * Whether or not a dataset has been actioned from the approval queue (i.e. + * published, updated, temporarily ignored, or permanently ignored) + */ + actioned?: Maybe; + /** Whether a dataset has been updated since its publication on HASH */ + updated?: Maybe; + /** Whether a dataset has been handled/actioned from the queue */ + handled?: Maybe; + /** An exteral webpage for the dataset or dataset series */ + landingPage?: Maybe; + /** Additional reference information for the dataset */ + references?: Maybe>>; + version?: Maybe; + language?: Maybe>>; + /** Date published of the dataset itself, not the db entry (createdAt) */ + datePublished?: Maybe; + /** Date the dataset itself was updated, not the db entry (createdAt) */ + dateModified?: Maybe; + /** How frequently the dataset is updated */ + updateFreq?: Maybe; + /** Keywords or tags associated with the dataset */ + keywords?: Maybe>>; + /** The keywords listed in the source */ + keywordsInSource?: Maybe>>; + contactPoint?: Maybe; + contactPointEmail?: Maybe; + /** The period of time the dataset covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints within the dataset */ + temporalFrequency?: Maybe; + /** The physical area covered by the dataset */ + spatialCoverage?: Maybe; + /** Additional information about the rights held or offered on the dataset */ + rights?: Maybe; + /** The name of a collection or group the dataset belongs to */ + isPartOf?: Maybe; + /** The International Standard Serial Number used to identify a serial publication */ + issn?: Maybe; + /** The technique(s) used to measure the data */ + measurementTechnique?: Maybe; + /** The specific variable the data measures */ + variableMeasured?: Maybe; + /** The name of the data catalog the resource is included in, if any */ + includedInDataCatalog?: Maybe; + /** The HASH id(s) of the category the dataset has been published under */ + category?: Maybe>; + /** The category(s) listed in the source */ + categoryInSource?: Maybe>>; + /** The HASH id of the organization the dataset has been published under */ + publisher?: Maybe; + /** The publisher listed in the source (this will be the same as the organization if no other specific publisher was listed) */ + publisherInSource?: Maybe; + /** The name of the organization responsible for the datase listed in the source */ + organizationInSource?: Maybe; + /** A URL to the logo of the organization responsible for the dataset */ + organizationLogoInSource?: Maybe; + /** The HASH id of the license the dataset has been published under */ + license?: Maybe; + /** The license listed in the source */ + licenseInSource?: Maybe; + /** A URL describing the license the dataset is made available under */ + licenseUrlInSource?: Maybe; + /** The subject listed in the source */ + subjectInSource?: Maybe; + /** The HASH id of the subject or subjects of the dataset */ + subject?: Maybe>; + /** Files associated with the dataset */ + resources?: Maybe>>; + /** The ID used for identifying a specific dataset */ + id: Scalars['ID']; + /** The title of the dataset */ + title?: Maybe; + /** A friendly name for the dataset */ + name?: Maybe; + /** A description, instructions or notes on the dataset */ + description?: Maybe; + /** The url from which the dataset can be downloaded */ + url?: Maybe; + /** The date/time the database record for the dataset was last updated */ + updatedAt?: Maybe; + /** The date/time the dataset was added to the database */ + createdAt?: Maybe; +}; + + +/** A resource or file associated with a dataset */ +export type DatasetResource = { + /** The id of the resource in its source */ + id?: Maybe; + /** The revisionId of the dataset this resource was introduced in */ + revisionId?: Maybe; + /** The format of the file available under url */ + format?: Maybe; + /** A description of the resource */ + description?: Maybe; + /** A URL to a file describing the resource */ + describedBy?: Maybe; + /** The type of file listed under describedBy */ + describedByType?: Maybe; + /** The name of the resource */ + name?: Maybe; + /** URL to the resource itself, or its landing page */ + url?: Maybe; + /** A preview of the dataset's first 30 rows (CSV only) */ + preview?: Maybe>>>>; + /** The size of the file */ + size?: Maybe; + createdAt?: Maybe; + updatedAt?: Maybe; +}; + +export type PublisherCount = { + name: Scalars['String']; + count: Scalars['Int']; +}; + +export type ScrapedDatasetFiltersUsed = { + /** A text string to search */ + query?: Maybe; + publisher?: Maybe; + published?: Maybe; + handled?: Maybe; + ignored?: Maybe; + updated?: Maybe; + fileFormat?: Maybe; +}; + +export type DatasetFilterValues = { + temporalCoverage: Array; + dataFrequency: Array; + spatialCoverage: Array; +}; + +export type ExperimentRun = { + id: Scalars['ID']; + /** A friendly name for the ExperimentRun */ + name: Scalars['String']; + /** The project the experiment is related to. */ + project: Project; + /** The full path to the project this experiment is related to */ + projectPath: Scalars['String']; + /** The name of the experiment package to run */ + packageName: ExperimentPackageName; + /** Contextual data needed by the experiment package, if any */ + packageData?: Maybe; + /** Information on which simulation packages to run in this experiment */ + simPackages?: Maybe>; + /** The specific commit this experiment was started from */ + commit: Scalars['String']; + /** The individual runs within the experiment. */ + simulationRuns: Array; + /** The contents of experiment.json used to generate the experiment. */ + experimentSrc?: Maybe; + /** The source files needed to run the simulation, including dependencies */ + simulationFiles: Array; + /** + * [DEPRECATED - use packageData.changedProperties] All the different property + * configurations used to generate the individual runs + */ + changedProperties?: Maybe>; + /** + * [DEPRECATED - see simulationFiles instead] If the simulation depends on any + * shared behaviors, they will be provided here in createExperimentRun returns + */ + sharedBehaviors?: Maybe>>>; + /** + * [DEPRECATED - see simulationFiles instead] If the simulation depends on any + * shared datasets, they will be provided here in createExperimentRun returns + */ + sharedDatasets?: Maybe>>>; + /** When the ExperimentRun was initiated. */ + createdAt: Scalars['Date']; + /** When the ExperimentRun was last updated (e.g. with compute usage). */ + updatedAt: Scalars['Date']; + /** When the experiment's cloud compute usage was finalised (usually when the experiment ended) */ + usageFinalisedAt?: Maybe; + /** The user that initiated the experiment */ + user?: Maybe; + /** How much cloud compute time the experiment used (in seconds) */ + computeUsage: Scalars['Int']; +}; + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type Project = { + /** The MongoDB ObjectId of the project */ + _id: Scalars['ID']; + /** The ID of the project */ + id: Scalars['ID']; + /** A friendly name for the project */ + name: Scalars['String']; + /** The slug of the project */ + path: Scalars['String']; + /** The namespace the resource belongs to, which represents either a user or an organization */ + namespace: Scalars['String']; + /** The user or organisation which owns the resource */ + owner?: Maybe; + /** Whether the owner is a user or an org */ + ownerType: OwnerTypeName; + /** The full path of the resource, including its namespace and path/name, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; + /** The level of access restriction on the resource */ + visibility: VisibilityLevel; + /** A status given to some projects */ + trusted?: Maybe; + /** The total size of the project, in bytes */ + size?: Maybe; + /** A short description of the project */ + description?: Maybe; + /** A mirror of README.md from the project repository */ + readme?: Maybe; + /** The type of data model the project relates to */ + type: ProjectTypeName; + /** Whether or not the project is archived (read-only and hidden from search results) */ + archived: Scalars['Boolean']; + /** The file contents of the project */ + files: Array; + /** Experiments run on the project by the user or fellow organisation members */ + experiments?: Maybe>; + history?: Maybe; + /** The branch or tag at which this project was requested (if any) */ + ref?: Maybe; + /** A URL to an image or video representing the project */ + avatar?: Maybe; + /** Issues raised against a project */ + issues: Array; + contributors: Array; + /** The number of open issues on a project */ + issueCount: Scalars['Int']; + /** Merge requests open against a project */ + mergeRequests: Array; + /** The number of open merge requests on a project */ + mergeRequestCount: Scalars['Int']; + /** Where the project avatar is a video, this is an URL to an image frame from the video to act as a thumbnail or fallback */ + thumbnail?: Maybe; + /** A URL to a wide-ratio (1.91:1) cover image to promote and illustrate projects */ + image?: Maybe; + /** Keywords / tags to help users locate the project */ + keywords: Array; + /** The license the work is made available under */ + license?: Maybe; + /** The subject(s) of the project */ + subject: Array; + /** + * The percentage of behaviors in the project written in each programming + * language (only available in Simulation or Behavior projects with releases - + * calculation applies to the latest release) + */ + languageSplit?: Maybe>; + /** For behavior releases only, the languages of the released behaviors */ + languages?: Maybe>; + /** The original source of the project (for dataset projects) */ + source?: Maybe; + /** An external webpage for the dataset or dataset series */ + landingPage?: Maybe; + /** The period of time the project covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints within the project (for datasets) */ + dataFrequency?: Maybe; + /** The physical area covered by the project */ + spatialCoverage?: Maybe; + /** The number of times a project has been forked */ + forkCount: Scalars['Int']; + /** The number of times a project has been starred */ + starCount: Scalars['Int']; + /** What project, if any, this project is a fork of */ + forkOf?: Maybe; + /** The paths of forks of the project the requesting user organization has */ + orgForkPaths?: Maybe>; + /** The paths of forks of the project the requesting user has */ + userForkPaths?: Maybe>; + /** The number of forks of the project the requesting user has */ + userForkCount?: Maybe; + /** The dependencies listed in a project */ + dependencies: Array; + /** The number of simulations that depend on an item within the listing */ + dependents?: Maybe; + /** A weighted score of the listing's relevance to a search query */ + relevance?: Maybe; + /** A score assigned to the popularity of the project */ + popularity: Scalars['Int']; + /** The latest release of the project (if any) */ + latestRelease?: Maybe; + /** All releases of a project */ + releases: Array; + /** A temporary URL from which the project can be downloaded as a zip file */ + downloadUrl?: Maybe; + /** The date the project was originally created */ + createdAt: Scalars['Date']; + /** The date the project was last updated */ + updatedAt: Scalars['Date']; + /** + * Whether or not the logged-in user can edit the project. To do so, one of the following must be true: + * + * 1) The user is a site admin OR + * 2) The project owner is the user OR + * 3) The project owner is an organization to which the user belongs + */ + canUserEdit: Scalars['Boolean']; + /** + * Whether or not the logged-in user can fork the project. Projects cannot be + * forked into the namespace they already exist in. + */ + canUserFork: Scalars['Boolean']; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectFilesArgs = { + withPreview?: Maybe; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectExperimentsArgs = { + limit?: Maybe; + createdFrom?: Maybe; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectHistoryArgs = { + createdBefore?: Maybe; + pageToCurrent?: Maybe; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectIssuesArgs = { + labels?: Maybe>; + state?: Maybe; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectMergeRequestsArgs = { + state?: Maybe; +}; + +export type UserOrOrg = User | Org; + +/** A registered user of the prototype HASH ecosystem */ +export type User = { + /** The unique ID */ + id: Scalars['ID']; + /** The user's given / first name */ + givenName?: Maybe; + /** The user's GitLab ID. */ + gitId: Scalars['Int']; + /** Any additional name(s) the user has */ + additionalName?: Maybe>; + /** The user's family name / surname / last name */ + familyName?: Maybe; + /** + * The user's given and family names combined, OR their given name if no family + * name is present, OR their email if no name at all is present + */ + fullName: Scalars['String']; + /** A unique string identifying the user in HASH */ + shortname: Scalars['String']; + /** The user's role */ + role?: Maybe; + /** The user's email address */ + email?: Maybe; + /** The user's telephone number */ + telephone?: Maybe; + /** A brief description of the user's history / profile */ + biography?: Maybe; + /** Where the user is geographically based */ + location?: Maybe; + /** The language(s) the user knows */ + knowsLanguage?: Maybe>; + /** The user's website */ + url?: Maybe; + /** An image representing the user / their avatar */ + image?: Maybe; + /** The start of the user's latest session on HASH */ + lastLogin?: Maybe; + /** The user's registered payment methods */ + paymentMethods?: Maybe>; + /** How many compute seconds the user has remaining this month */ + computeUsageRemaining: Scalars['Int']; + /** The user's past invoices */ + invoices?: Maybe>; + /** Outstanding balance on a user's account for which an invoice has not been finalized */ + upcomingInvoice?: Maybe; + /** List the paths of projects a user has starred */ + starredProjects: Array; + /** Full details of projects a user has starred, sorted and paginated */ + starredProjectsDetails: UserOrOrgProjectResults; + archived?: Maybe; + /** Organisations the user belongs to, and their role in each */ + memberOf?: Maybe>; + /** Projects belonging to the namespace */ + projects: UserOrOrgProjectResults; + /** The number of projects belonging to the namespace */ + projectCount: Scalars['Int']; + /** The type of projects the namespace has available */ + projectTypes: Array; + /** Datasets which the user has write access to through ownership or sharing */ + datasets?: Maybe>; + /** The date/time the user's record was created in the database */ + createdAt: Scalars['Date']; + /** The date/time the users's record was last modified in the database */ + updatedAt: Scalars['Date']; + /** [DEPRECATED] Whether or not the user has been through the HASH onboarding tour */ + onboarded?: Maybe; + /** The user's progress through the onboarding tour */ + tourProgress?: Maybe; + /** Whether the user is a staff member */ + staffMember?: Maybe; + /** [DEPRECATED] True if the user had early access to the HASH Cloud */ + earlyCloudAccess?: Maybe; +}; + + +/** A registered user of the prototype HASH ecosystem */ +export type UserStarredProjectsDetailsArgs = { + page?: Maybe; + sort?: Maybe; +}; + + +/** A registered user of the prototype HASH ecosystem */ +export type UserProjectsArgs = { + page?: Maybe; + sort?: Maybe; + types?: Maybe>; +}; + +/** The site-wide role the user holds */ +export type Role = { + /** Role ID */ + id: Scalars['ID']; + /** Role name */ + name: Scalars['String']; + /** A longer description of the role */ + description?: Maybe; +}; + +export type PaymentMethod = { + id: Scalars['ID']; + brand?: Maybe; + expiry: Scalars['String']; + last4: Scalars['String']; + default?: Maybe; +}; + +export type Invoice = { + number: Scalars['String']; + status: Scalars['String']; + created: Scalars['Date']; + periodStart: Scalars['Date']; + periodEnd: Scalars['Date']; + total: Scalars['Int']; + /** + * For invoices requiring payment, the client secret for the PaymentIntent. + * Needed in order to process an on-session payment in the client. + */ + clientSecret?: Maybe; +}; + +export enum SortOption { + /** + * Where a text query is provided, a score representing how well the project's + * title, keywords and description match the query + */ + Relevance = 'relevance', + /** Combined view and download count for the project */ + Popularity = 'popularity', + /** The date the project was last modified */ + UpdatedAt = 'updatedAt', + /** The date the project was originally created */ + CreatedAt = 'createdAt' +} + +export type UserOrOrgProjectResults = { + /** The requested page of results */ + results: Array; + /** The total number of available results (of the selected type, if filtered) */ + totalCount: Scalars['Int']; + /** The page returned */ + page: Scalars['Int']; + /** The sort applied */ + sort: SortOption; + /** The type filter(s) applied, if any */ + types?: Maybe>; +}; + +/** The names of possible types of items a project */ +export enum ProjectTypeName { + Simulation = 'Simulation', + Dataset = 'Dataset', + Behavior = 'Behavior' +} + +export type OrgInfo = { + /** Information on the organisation */ + org: Org; + /** The user's access/permission level for the organization */ + role: Role; + /** The user's job title in the organization */ + jobTitle?: Maybe; +}; + +/** An organization, company, etc */ +export type Org = { + /** The unique ID of the organization */ + id: Scalars['ID']; + /** The short name for the organization */ + name: Scalars['String']; + /** The organization's GitLab ID. */ + gitId: Scalars['Int']; + /** Alternate name(s) the organization may be referred to as */ + alternateName?: Maybe>; + /** Free single-line text to specify organization location (see 'address' for postal address) */ + location?: Maybe; + /** The physical address(es) of the organization (see 'location' for a single line of free text) */ + address?: Maybe>; + /** A description of the organization */ + description?: Maybe; + /** The full legal name of the organization */ + legalName?: Maybe; + /** A unique string identifying the organization in HASH */ + shortname: Scalars['String']; + /** The parent organization of this organization, if any */ + parentOrganization?: Maybe; + /** The subsidiaries / child organizations of this organization, if any */ + subOrganization?: Maybe>; + /** Whether the organization is non-profit or not */ + nonProfit?: Maybe; + /** Users belonging to the organization */ + members?: Maybe>; + /** The number of users belonging to the organization */ + memberCount?: Maybe; + /** The roles available for members of the org (i.e. permissions over the org) */ + roles?: Maybe>; + /** Whether the organization's membership is made public or not */ + publicMembership: Scalars['Boolean']; + /** A way for HASH users to contact the organization with any questions */ + supportContact?: Maybe; + /** The organization's logo */ + logo?: Maybe; + /** A square avatar representing the organization */ + avatar?: Maybe; + /** Any other images associated with the organization */ + image?: Maybe; + /** The organization's website(s) */ + url?: Maybe; + /** Projects belonging to the namespace */ + projects: UserOrOrgProjectResults; + /** The number of projects belonging to the namespace */ + projectCount: Scalars['Int']; + /** The type of projects the namespace has available */ + projectTypes: Array; + /** Whether the current user may edit the org */ + canUserEdit: Scalars['Boolean']; + /** When the org's HASH record was last updated */ + updatedAt: Scalars['Date']; + /** When the org was created in HASH */ + createdAt: Scalars['Date']; +}; + + +/** An organization, company, etc */ +export type OrgProjectsArgs = { + page?: Maybe; + sort?: Maybe; + types?: Maybe>; +}; + +/** A physical address of an organization or entity */ +export type PostalAddress = { + /** The post office box number for PO box addresses. */ + postOfficeBoxNumber?: Maybe; + /** The street address. */ + streetAddress?: Maybe; + /** The locality in which the street address is (e.g. a town) */ + addressLocality?: Maybe; + /** The region (e.g. a state, county, or other top-level district in a country */ + addressRegion?: Maybe; + /** The country */ + addressCountry?: Maybe; + /** The postal code or zip code */ + postalCode?: Maybe; +}; + +/** Metadata on a dataset for use in instantiating agents and other dataset properties */ +export type Dataset = { + /** The ID used for identifying a specific dataset */ + id: Scalars['ID']; + /** A friendly name for the dataset */ + name?: Maybe; + /** The complete shortname for the dataset */ + shortname: Scalars['String']; + /** A filename for the dataset */ + filename: Scalars['String']; + /** The format of the dataset */ + format?: Maybe; + /** The file extension for the dataset, without period. e.g. 'csv' */ + extension: Scalars['String']; + /** A description, instructions or notes on the dataset */ + description?: Maybe; + /** The subject or subjects of the dataset */ + subject: Array; + /** The url from which the dataset can be downloaded */ + url?: Maybe; + /** The date/time the database record for the dataset was last updated */ + updatedAt: Scalars['Date']; + /** The date/time the dataset was added to the database */ + createdAt: Scalars['Date']; + /** The original source of the dataset */ + source?: Maybe; + /** An exteral webpage for the dataset or dataset series */ + landingPage?: Maybe; + /** The size of the dataset in bytes */ + size?: Maybe; + /** The period of time the dataset covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints within the dataset */ + temporalFrequency?: Maybe; + /** The physical area covered by the dataset */ + spatialCoverage?: Maybe; + /** A preview of the dataset's contents */ + preview?: Maybe; +}; + +/** The subject of a dataset. */ +export type Subject = { + /** The unique identifier of the subject */ + id: Scalars['ID']; + /** The name of the subject */ + name: Scalars['String']; + /** The namespace the resource belongs to, which represents either a user or an organization */ + namespace: Scalars['String']; + /** The user or organisation which owns the resource */ + owner?: Maybe; + /** Whether the owner is a user or an org */ + ownerType: OwnerTypeName; + /** The full path of the resource, including its namespace and path/name, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; + /** The level of access restriction on the resource */ + visibility: VisibilityLevel; + /** Additional description of the subject */ + description?: Maybe; + /** The subject's direct parent(s) */ + subTypeOf?: Maybe>; + /** All the subjects which this inherits from (including via its parents) */ + ancestors?: Maybe>; + /** The direct children of this subject, if any */ + children?: Maybe>; + /** The source this subject was forked from, if any */ + forkOf?: Maybe; + /** A label showing the hierarchy or hierarchies above the subject */ + parentChain?: Maybe>; + /** The subject's properties (whether belonging to itself directly, or via one of its ancestors) */ + properties?: Maybe>; + /** The license the schema is made available under */ + license?: Maybe; + /** Which version of this subject this is. */ + version?: Maybe; + /** A weighted score of the subject's relevance to a search query */ + relevance?: Maybe; + /** A score assigned to the popularity of the project */ + popularity: Scalars['Int']; + /** Whether this is a ComplexType, or a primitive DataType */ + type: SubjectType; + /** Can the requesting user edit this subject? */ + canUserEdit: Scalars['Boolean']; + /** When the subject was created */ + createdAt: Scalars['Date']; + /** When the subject was last updated */ + updatedAt: Scalars['Date']; +}; + +/** The type of entity that owns the project */ +export enum OwnerTypeName { + User = 'User', + Org = 'Org' +} + +/** The level of access restriction on the project */ +export enum VisibilityLevel { + /** Projects can be accessed by anyone */ + Public = 'public', + /** Projects can only be accessed by users who have been granted access (either directly or via group membership) */ + Private = 'private' +} + +export type SchemaReference = { + name: Scalars['String']; + namespace: Scalars['String']; + version?: Maybe; +}; + +export type PropertiesBySchema = { + id: Scalars['ID']; + schema: SchemaReference; + properties: Array; +}; + +export type Property = { + /** The unique identifier of the subject */ + id: Scalars['ID']; + /** The property name */ + name: Scalars['String']; + /** The namespace the resource belongs to, which represents either a user or an organization */ + namespace: Scalars['String']; + /** The user or organisation which owns the resource */ + owner?: Maybe; + /** Whether the owner is a user or an org */ + ownerType: OwnerTypeName; + /** The full path of the resource, including its namespace and path/name, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; + /** The level of access restriction on the resource */ + visibility: VisibilityLevel; + /** A description of the property */ + description?: Maybe; + /** The subject(s) the property belongs directly to */ + propertyOf: Array; + /** The type of property or subject expected in this field */ + expectedType: Array; + /** The superproperty of this property, if any */ + subPropertyOf?: Maybe>; + /** The subproperties of this property, if any */ + subProperties?: Maybe>; + /** The property which superseded this property, if any */ + supersededBy?: Maybe; + /** The inverse of this property, if anything */ + inverseOf?: Maybe; + /** Which version of this property this is. */ + version?: Maybe; + /** Can the requesting user edit this property? */ + canUserEdit: Scalars['Boolean']; + /** When the property was created */ + createdAt: Scalars['Date']; + /** When the property was last updated */ + updatedAt: Scalars['Date']; +}; + +/** A license under which a creative work is made available for viewing or use. */ +export type License = { + /** The unique identifier of the license */ + id: Scalars['ID']; + /** An additional slug identifier for the license */ + key?: Maybe; + /** The name of the license */ + name: Scalars['String']; + /** Additional description of the license */ + description?: Maybe; + /** A link to an explanation of the license's terms */ + url?: Maybe; + /** Whether the license is the default assigned when publishing to the Index */ + default?: Maybe; + /** Whether the license is not part of the core list of selectable licenses - it is available for use only if searched for */ + nonCore?: Maybe; + /** A URL for a logo for the license */ + logo?: Maybe; +}; + +export enum SubjectType { + ComplexType = 'ComplexType', + DataType = 'DataType' +} + +export type TourProgress = { + completed: Scalars['Boolean']; + version?: Maybe; + lastStepViewed?: Maybe; +}; + +/** A file in a project repository */ +export type ProjectFile = { + /** A unique identifier within the repo */ + id: Scalars['ID']; + /** The filename */ + name: Scalars['String']; + /** The full path to the file within the repository */ + path: Scalars['String']; + /** + * The path the user refers to this by in their simulation logic. + * If this is an imported dependency, its full path. + * e.g. in the format @[namespace]/[slug]/[filename.ext] + * For legacy behavior requests, this will be @[namespace]/[filename.ext] + * For local datasets/behaviors, the filename. + */ + dependencyPath: Scalars['String']; + /** The contents of the file */ + contents: Scalars['String']; + /** The size of the file in bytes */ + size: Scalars['Int']; + /** The id of the last commit that affected the file */ + lastCommit: Scalars['String']; + /** The id of the commit this file is from */ + commit: Scalars['String']; + /** The branch or tag this version of the file is from */ + ref: Scalars['String']; + /** "The type of file. Only currently implemented for Dataset */ + type?: Maybe; + /** The discovered subject of the dataset */ + discoveredSubject?: Maybe; +}; + +export enum ProjectFileType { + Dataset = 'Dataset', + Behavior = 'Behavior' +} + +export type ProjectHistoryReturn = { + items: Array; + next?: Maybe; + remaining: Scalars['Boolean']; + receivedCurrent: Scalars['Boolean']; +}; + +export type ProjectHistoryItem = { + itemType: ProjectHistoryItemType; + item: ProjectHistoryItemItem; + createdAt: Scalars['Date']; +}; + +export enum ProjectHistoryItemType { + Release = 'Release', + CommitGroup = 'CommitGroup', + ExperimentRun = 'ExperimentRun' +} + +export type ProjectHistoryItemItem = ReleaseBasic | CommitGroup | ExperimentRun; + +/** Basic information about a release */ +export type ReleaseBasic = { + /** The version number */ + tag: Scalars['String']; + /** The date of the release */ + createdAt: Scalars['Date']; + /** A note accompanying the release (e.g. changes since last version) */ + description?: Maybe; + /** The files exported from the release (or a subset of them if requested) */ + files: Array; +}; + + +/** Basic information about a release */ +export type ReleaseBasicFilesArgs = { + withPreview?: Maybe; +}; + +export type CommitGroup = { + commits: Array; +}; + +export type Commit = { + /** A unique id for the commit */ + id: Scalars['ID']; + /** The commit message */ + message: Scalars['String']; + /** Statistics on additions and deletions from the commit */ + stats: CommitStats; + /** The time at which the commit was created */ + createdAt: Scalars['Date']; +}; + +export type CommitStats = { + /** Lines added */ + additions: Scalars['Int']; + /** Lines deleted */ + deletions: Scalars['Int']; + /** Total actions */ + total: Scalars['Int']; +}; + +export enum IssueLabel { + Bug = 'bug', + Comment = 'comment', + Request = 'request', + Question = 'question' +} + +export enum IssueState { + Opened = 'opened', + Closed = 'closed' +} + +/** An issue raised on a project */ +export type Issue = { + /** The unique identifier of the issue globally */ + id: Scalars['Int']; + /** The unique identifier of the issue within the project */ + iid: Scalars['Int']; + /** The title of the issue */ + title: Scalars['String']; + author?: Maybe; + /** A description of the issue */ + description: Scalars['String']; + /** Label(s) representing the issue's type(s) */ + labels: Array; + /** Whether the issue is open or closed */ + state: IssueState; + /** Awards (emoji) the issue has received */ + awards: Array; + /** Discussion threads on the issue */ + discussions: Array; + /** Number of comments on the issue */ + notesCount: Scalars['Int']; + createdAt: Scalars['Date']; + updatedAt: Scalars['Date']; + closedAt?: Maybe; + closedBy?: Maybe; +}; + +export type Award = { + id: Scalars['Int']; + /** The name of the award emoji (e.g. "thumbs-up") */ + name: EmojiName; + /** The shortname of the awarding user */ + author: Scalars['String']; +}; + +export enum EmojiName { + Thumbsup = 'thumbsup', + Thumbsdown = 'thumbsdown' +} + +/** A discussion thread on an issue or merge request */ +export type Discussion = { + /** The unique identifier of the discussion globally */ + id: Scalars['String']; + /** Notes (comments) in the discussion thread */ + notes: Array; +}; + +export type Note = { + author?: Maybe; + /** Emojis awarded to the note */ + awards: Array; + /** The text content of the note */ + body: Scalars['String']; + /** When the note was originally created */ + createdAt: Scalars['Date']; + /** A globally unique id for the note */ + id: Scalars['Int']; + /** The unique identifier of the noteable item within the project (iid) */ + noteableIid: Scalars['Int']; + /** The type of noteable item */ + noteableType: NoteableTypeName; + /** Whether or not it is possible to resolve/unresolve a note (Merge Requests only) */ + resolvable: Scalars['Boolean']; + /** For resolvable notes, whether or not it is currently resolved */ + resolved?: Maybe; + /** The shortname of the user who resolved the note */ + resolvedBy?: Maybe; + /** If the note is system-generated rather than user text content */ + system: Scalars['Boolean']; + /** The last time the note was updated */ + updatedAt: Scalars['Date']; +}; + +export enum NoteableTypeName { + Issue = 'Issue', + MergeRequest = 'MergeRequest' +} + +export type ContributorInfo = { + id: Scalars['ID']; + shortname: Scalars['String']; + image: Scalars['String']; + contributions: ContributionData; +}; + +export type ContributionData = { + commits: Scalars['Int']; +}; + +export enum MergeRequestState { + Opened = 'opened', + Closed = 'closed', + Locked = 'locked', + Merged = 'merged' +} + +/** A request to merge changes into a project branch */ +export type MergeRequest = { + /** The unique identifier of the merge request globally */ + id: Scalars['Int']; + /** The unique identifier of the merge request within the project */ + iid: Scalars['Int']; + /** The path of the project the merge request originated from, in the format @namespace/path */ + sourcePath: Scalars['String']; + /** The path of the project the merge request is opened against, in the format @namespace/path */ + projectPath: Scalars['String']; + /** The title of the merge request */ + title: Scalars['String']; + author?: Maybe; + /** A description of the merge request */ + description: Scalars['String']; + /** Label(s) representing the merge request's type(s) */ + labels?: Maybe>; + /** The list of files changed as part of the merge request */ + changes: Array; + /** Conflicts between the source and target branch, if any */ + conflicts?: Maybe>; + /** Whether the merge request is open, closed, or merged */ + state: MergeRequestState; + /** Whether or not the merge request may be merged */ + mergeable: Scalars['Boolean']; + /** Whether or not the merge request has conflicts */ + hasConflicts: Scalars['Boolean']; + /** Whether or not the merge request is marked as draft */ + workInProgress: Scalars['Boolean']; + /** Awards (emoji) the merge request has received */ + awards: Array; + /** Discussion threads on the merge request */ + discussions: Array; + /** Number of comments on the merge request */ + notesCount: Scalars['Int']; + createdAt: Scalars['Date']; + updatedAt: Scalars['Date']; + closedAt?: Maybe; + closedBy?: Maybe; + mergedAt?: Maybe; + mergedBy?: Maybe; +}; + +export enum MergeRequestLabel { + Bugfix = 'bugfix', + Feature = 'feature', + Enhancement = 'enhancement' +} + +export type FileChange = { + deletedFile?: Maybe; + diff: Scalars['String']; + newFile?: Maybe; + newPath?: Maybe; + oldPath?: Maybe; + aMode?: Maybe; + bMode?: Maybe; + renamedFile?: Maybe; +}; + +export type MergeRequestConflict = { + filePath: Scalars['String']; + diff: Scalars['String']; +}; + +/** The languages in use in the project as of the latest release */ +export type LanguageSplit = { + language: BehaviorLanguage; + percentage: Scalars['Float']; +}; + +export enum BehaviorLanguage { + JavaScript = 'JavaScript', + Python = 'Python', + Rust = 'Rust' +} + +export type ForkOfProject = { + /** Project slug */ + path: Scalars['String']; + /** The namespace the project belongs to */ + namespace: Scalars['String']; + /** The full path of the project, including its namespace and path, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; +}; + +/** A release of specific files from a project, with a version tag */ +export type Release = { + /** An id for the project */ + id: Scalars['String']; + /** A friendly name for the project */ + name: Scalars['String']; + /** The slug/shortname of the project */ + path: Scalars['String']; + /** The visibility of the project */ + visibility: VisibilityLevel; + /** The namespace the project belongs to, which represents either a user or an organization */ + namespace: Scalars['String']; + /** The type of project this release relates to */ + type: ProjectTypeName; + /** The full path of the project, including its namespace and path, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; + /** A description of the release */ + description?: Maybe; + /** The specific release tag/version these files relate to */ + tag: Scalars['String']; + /** The date this version was released */ + createdAt: Scalars['Date']; + /** The files exported from the release (or a subset of them if requested) */ + files: Array; + /** Provides the tag from the most recent release */ + latestReleaseTag: Scalars['String']; + /** The date of the latest release */ + latestCreatedAt: Scalars['String']; + /** + * Whether or not the logged-in user can edit the release's source project. To do so, one of the following must be true: + * + * 1) The user is a site admin OR + * 2) The project owner is the user OR + * 3) The project owner is an organization to which the user belongs + */ + canUserEdit: Scalars['Boolean']; +}; + +export enum ExperimentPackageName { + Simple = 'simple', + Single = 'single', + Optimization = 'optimization' +} + +export type ExperimentPackageData = { + /** The properties changed in an experiment (if known on creation) */ + changedProperties?: Maybe>; + /** For optimization experiments, the metric to optimize for */ + metricName?: Maybe; + /** For optimization experiments, the objective for the metric */ + metricObjective?: Maybe; + /** The maximum number of runs to try in an experiment */ + maxRuns?: Maybe; + /** The maximum number of steps a run should go for */ + maxSteps?: Maybe; + /** The minimum number of steps a run should go for before being terminated */ + minSteps?: Maybe; + /** For optimization experiments, combinations of parameter values to use for the first runs. */ + initialPoints?: Maybe>; + /** For optimization experiments, the fields to explore as hyperparameters */ + fields?: Maybe>; +}; + +export enum MetricObjective { + Max = 'max', + Min = 'min' +} + +export type OptimizationField = { + name: Scalars['String']; + /** A range of values to explore */ + range?: Maybe; + /** Discrete values to explore */ + values?: Maybe>>; + /** A distribution of values to explore */ + distribution?: Maybe; + /** For normal distribution */ + mean?: Maybe; + /** For normal distribution */ + std?: Maybe; + /** For beta distribution */ + alpha?: Maybe; + /** For beta distribution */ + beta?: Maybe; + /** For logNormal distribution */ + mu?: Maybe; + /** For logNormal distribution */ + sigma?: Maybe; + /** For poisson distribution */ + rate?: Maybe; + /** For gamma distribution */ + shape?: Maybe; + /** For gamma distribution */ + scale?: Maybe; +}; + + +export enum DistributionName { + Normal = 'normal', + LogNormal = 'logNormal', + Poisson = 'poisson', + Beta = 'beta', + Gamma = 'gamma' +} + +export type SimulationPackageData = { + name: Scalars['String']; + data?: Maybe; +}; + +export type SimulationRun = { + id: Scalars['ID']; + /** + * The specific property values different in this SimulationRun compared to the + * others in the ExperimentRun. Will be null if this was a single-run experiment. + */ + propertyValues?: Maybe; + /** [DEPRECATED] - obsolete null value */ + propertiesSrc?: Maybe; + /** An optional name to help identify the SimulationRun */ + name?: Maybe; + /** For optimization experiments, the value of the metric of interest at the end of this run */ + metricOutcome?: Maybe; + /** The folder in s3 this run's output is stored in, in the hash-experiments bucket */ + s3Key: Scalars['String']; + /** the ExperimentRun this is a part of */ + experimentRun: ExperimentRun; + /** The path to the project this run is associated with */ + projectPath: Scalars['String']; + /** The commit this run's source code can be found at */ + commit: Scalars['String']; + /** [DEPRECATED - use ExperimentRun.simulationFiles] The source code used to generate this run */ + files?: Maybe>; + /** URL to retrieve the JSON files containing steps data */ + stepsLink?: Maybe; + /** URL to retrieve the JSON files containing analysis data */ + analysisLink?: Maybe; + /** When the SimulationRun was initiated. */ + createdAt: Scalars['Date']; + /** When the SimulationRun was last updated (e.g. to be renamed) */ + updatedAt?: Maybe; +}; + +export type ExperimentPlan = { + plan: Scalars['JSONObject']; + definition: Scalars['JSONObject']; +}; + +/** A keyword used to tag an item in the Index to indicate its theme, content, subject matter, etc */ +export type Keyword = { + /** The keyword itself */ + name: Scalars['String']; + /** How many times the keyword appears across all Index listings */ + count?: Maybe; +}; + +/** A 3D Object for use in visualizing simulations */ +export type PolyModel = { + /** The unique slug for the 3D model */ + slug: Scalars['String']; + /** The path to the folder all the model assets are stored in */ + folderPath: Scalars['String']; + /** Urls for resource files making up the 3D model */ + resourceUrls: Array; +}; + +export enum OldProjectType { + Simulation = 'Simulation', + IndexListing = 'IndexListing' +} + +export enum SpecialProjectType { + Onboarding = 'Onboarding', + Example = 'Example', + Featured = 'Featured' +} + +export enum SearchableTypeName { + Simulation = 'Simulation', + Dataset = 'Dataset', + Behavior = 'Behavior', + Schema = 'Schema' +} + +export type ProjectSearchResults = { + /** The results for the query, limited to the request page */ + results: Array; + /** The number of results requested */ + perPage: Scalars['Int']; + /** The page requested */ + page: Scalars['Int']; + /** The total number of listings matching the query */ + totalCount: Scalars['Int']; + /** The field by which the results have been sorted */ + sort?: Maybe; +}; + +export type SearchableType = Project | Subject; + +export type GitHubScraper = { + createdAt: Scalars['Date']; + creator: User; + files: Array; + frequency: ScraperFrequency; + lastCheckedAt?: Maybe; + lastReleaseAt?: Maybe; + name?: Maybe; + namespace: Scalars['String']; + path: Scalars['String']; + repoPath: Scalars['String']; + status?: Maybe; +}; + +export type GitHubScraperFile = { + fileDownloadUrl: Scalars['String']; + filepathInRepo: Scalars['String']; + filenameInHASH: Scalars['String']; + nameInHASH?: Maybe; +}; + +export enum ScraperFrequency { + Daily = 'daily', + Weekly = 'weekly', + Monthly = 'monthly' +} + +export enum ScraperStatus { + Active = 'active', + Error = 'error', + Paused = 'paused' +} + +export type Source = { + name?: Maybe; + url?: Maybe; + publisher?: Maybe; +}; + +/** Whether to filter a response by a particular project type, or all projects */ +export enum ProjectTypeFilter { + Simulation = 'Simulation', + Dataset = 'Dataset', + Behavior = 'Behavior', + All = 'All' +} + +export enum UserSortOption { + CreatedAt = 'createdAt', + LastLogin = 'lastLogin', + ProjectCount = 'projectCount', + Role = 'role' +} + +export enum SortDirection { + Asc = 'Asc', + Desc = 'Desc' +} + +export type UsersResult = { + totalCount: Scalars['Int']; + users: Array; + page: Scalars['Int']; + sort: UserSortOption; + sortDirection: SortDirection; + filter?: Maybe; +}; + +/** An enum of possible source types. */ +export enum SourceTypeName { + Mapbox = 'mapbox', + Bigquery = 'bigquery', + Mongodb = 'mongodb', + Snowflake = 'snowflake', + Elasticsearch = 'elasticsearch', + S3 = 's3' +} + +/** + * An integration for connecting to other data sources and APIs. + * Consists of _exactly one_ source configuration (host, port, database, etc) and _exactly one_ credential. + * Can be owned by either a user or an organization. + * If owned by an organization, only an admin can modify it, but any member of the organization can access it. + */ +export type Integration = { + /** The ObjectId of the integration in MongoDB. */ + id: Scalars['ID']; + /** The user-defined name of the integration. Any given owner-name-type combination must be unique. */ + name: Scalars['String']; + /** The type of source that this is an integration for. Currently only Mapbox. Later BigQuery, Snowflake etc. */ + type: SourceTypeName; + /** The ObjectId of the attached credential for this integration. */ + credentialId: Scalars['String']; + /** The ObjectId of the owner of this integration. */ + ownerId: Scalars['ID']; + /** The owner itself -- either a user or an organization. Could theoretically be a simulation project itself in the future. */ + owner?: Maybe; + /** + * Authorization information for this credential. Only relevant to the availableIntegrations endpoint, + * where it contains information about when and how a user gave authorization for an integration to be used in a project. + */ + authorization?: Maybe; + /** Source configuration information for this integration. Hostnames, databases, etc. */ + source: SubSource; +}; + +/** An authorization for an integration to be used by a project. */ +export type Authorization = { + /** When the authorization was initially granted. */ + grantedAt: Scalars['Date']; + /** The user that initially granted the authorization. */ + grantedBy: Scalars['ID']; + /** + * A map of user IDs to: { + * date: Date! + * asName: String! + * } + * To be used for finding the authorized integration the user is currently using for simulation runs. + * i.e., for a given user/project/required-integration-name combination, whichever authorization was used most + * recently is the one the user is using. Hit the permitIntegration endpoint to update a + * combination to the most recently used. + */ + lastAuthorized?: Maybe; +}; + +/** Source configuration information for an integration of a specific type. */ +export type SubSource = { + /** The ID of the source. */ + id: Scalars['ID']; + /** A user-defined nickname for the source. Any given owner-name-type combination must be unique. */ + name: Scalars['String']; + /** The type of configuration. Currently only mapbox. */ + type: SourceTypeName; + /** The ID of the owner of this source. */ + ownerId: Scalars['ID']; + /** The owner itself. An organization or user. */ + owner: UserOrOrg; + /** The type-specific source information. */ + configuration: SourceType; + /** A list of the types of credentials that are compatible with this source. */ + allowedCredentials: Array; +}; + +/** A union of all possible configuration types. */ +export type SourceType = Mapbox | BigQuery | MongoDb | Snowflake | ElasticSearch | S3 | Unknown; + +/** Configuration information for Mapbox. */ +export type Mapbox = { + baseUrl?: Maybe; +}; + +/** Configuration information for Google BigQuery. */ +export type BigQuery = { + /** + * The base URL to query against. Example: https://bigquery.googleapis.com/bigquery/v1/projects/some-project-id/queries + * If not specified, will be literally https://bigquery.googleapis.com/bigquery/v1/projects/$projectId/queries. + */ + url?: Maybe; + /** The ID of the _Google Cloud_ project (no relation to HASH project IDs). */ + projectId: Scalars['String']; + /** The ID of the _Google Cloud_ dataset that will be queried. */ + datasetId: Scalars['String']; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Some valid SQL statement to use when querying the dataset. + * Should be in a format that runs successfully in Google's query editor. Example: + * "#standardSQL\nSELECT\n growth.country_name,\n growth.net_migration,\n + * CAST(area.country_area AS INT64) AS country_area\nFROM (\n SELECT\n + * country_name,\n net_migration,\n country_code\n FROM\n + * `bigquery-public-data.census_bureau_international.birth_death_growth_rates`\n + * WHERE\n year = 2020) growth\nINNER JOIN (\n SELECT\n country_area,\n + * country_code\n FROM\n + * `bigquery-public-data.census_bureau_international.country_names_area`) + * area\nON\n growth.country_code = area.country_code\nORDER BY\n net_migration DESC", + */ + query?: Maybe; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Whether the query is using Legacy SQL features. Almost invariably false, and the user will likely know if it isn't. + */ + useLegacySql?: Maybe; +}; + +/** Configuration information for MongoDB. */ +export type MongoDb = { + /** Base database configuration information (host, port, et cetera). */ + store: Datastore; + /** Optional. The name of the replica set. */ + replicaSet?: Maybe; + /** Optional. The name of the authentication database. Defaults to admin or $external depending on linked credentials. */ + authenticationDatabase?: Maybe; + /** Optional. The authentication mechanism to use. Default depends on linked credentials. */ + authenticationMechanism?: Maybe; +}; + +/** Composition-over-inheritance type for common configuration fields for databases. */ +export type Datastore = { + /** The host and port of the server(s) to connect to. */ + servers: Array; + /** The name of the database to connect to. */ + database: Scalars['String']; + /** Connection string options for this specific connection. Example: timezone=UTC&batchInsert=False */ + options?: Maybe; + /** Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0 */ + version?: Maybe; +}; + +/** An individual server for an integration. */ +export type Server = { + /** The host uri. Examples: 127.0.0.1 or https://localhost or mymongoserver.example.com. */ + host: Scalars['String']; + /** The port. */ + port: Scalars['Int']; +}; + +/** Configuration information for Snowflake. */ +export type Snowflake = { + /** + * The Snowflake account name. Example: if the Snowflake URL for the user is mycompany.snowflakecomputing.com, + * the value here would just be 'mycompany'. + */ + accountName: Scalars['String']; + /** The warehouse name. */ + warehouse: Scalars['String']; + /** The database name. */ + database: Scalars['String']; + /** The name of the schema. This is the schema as understood by Snowflake, and is not related to HASH schemas. */ + schema: Scalars['String']; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Some valid SQL statement to use when querying the store. + */ + query?: Maybe; + /** Optional. The role to use. */ + role?: Maybe; +}; + +/** Configuration information for ElasticSearch. */ +export type ElasticSearch = { + /** Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0 */ + version?: Maybe; + /** Optional. The name of the index to query against. */ + indexName?: Maybe; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * The query JSON to run. Example: "{"query":{"match_all":{}}}" + */ + query?: Maybe; + /** Server information for the elasticsearch cluster. */ + server: Server; +}; + +/** Configuration information for an S3 bucket. */ +export type S3 = { + /** The name of the bucket. */ + bucket: Scalars['String']; + /** + * The object key or object key pattern. Example: if the S3 URI is + * s3://hash-terraform-state-s3-backend/base/terraform.tfstate, + * the key is "base/terraform.tfstate", and a matching pattern could be "base/*.tfstate". + */ + key: Scalars['String']; + /** The AWS region the bucket is located in. Example: us-east-1. */ + region: Scalars['String']; + /** The format of the source file. */ + format: FileFormat; +}; + +/** An enum of possible file types in S3 (or in the future other object storage services) */ +export enum FileFormat { + Csv = 'csv', + Json = 'json', + Parquet = 'parquet' +} + +/** A type that could not be determined. */ +export type Unknown = { + unknown?: Maybe; +}; + +/** An enum of the names of all accepted secret types. */ +export enum CredentialType { + Token = 'token', + Googleserviceaccount = 'googleserviceaccount', + Userpass = 'userpass', + Ldap = 'ldap', + Kerberos = 'kerberos', + X509 = 'x509', + Aws = 'aws' +} + +/** An integration including the secret itself of the linked credential. Only accessible through the integration endpoint. */ +export type FullIntegration = { + /** The ObjectId of the integration in MongoDB. */ + id: Scalars['ID']; + /** The user-defined name of the integration. Any given owner-name-type combination must be unique. */ + name: Scalars['String']; + /** The type of source that this is an integration for. Currently only Mapbox. Later BigQuery, Snowflake etc. */ + type: SourceTypeName; + /** The ObjectId of the attached credential for this integration. */ + credentialId?: Maybe; + /** The credential itself. This _WILL_ contain the secret itself if requested by an authorized entity. (!) */ + credential?: Maybe; + /** The ObjectId of the owner of this integration. */ + ownerId: Scalars['ID']; + /** The owner itself -- either a user or an organization. Could theoretically be a simulation project itself in the future. */ + owner?: Maybe; + /** + * Authorization information for this credential. Currently only relevant to the availableIntegrations endpoint, + * where it contains information about when and how a user gave authorization for an integration to be used in a project. + */ + authorization?: Maybe; + /** Source configuration information for this integration. Hostnames, databases, etc. */ + source: SubSource; +}; + +/** A credential for accessing an integration. */ +export type Credential = { + /** User-defined name of the credential. Any given pair of owner ID and name must be unique. */ + name: Scalars['String']; + /** The type of credential to store. Currently only supports persistent tokens. Later GCP credentials, keytabs, etc. */ + type: CredentialType; + /** The credential itself. Currently only supports persistent tokens. Later GCP credentials, keytabs, etc. */ + secret: SecretType; + /** The ID of the owning entity -- either a User or an Organization. */ + ownerId: Scalars['ID']; + /** When the credential was created. */ + createdAt: Scalars['Date']; + /** When the credential was last updated. */ + updatedAt: Scalars['Date']; + /** The user that last altered the credential. */ + updatedBy: Scalars['ID']; +}; + +/** A union type for all accepted secret types. */ +export type SecretType = Token | GoogleServiceAccount | UserPass | Ldap | Kerberos | Aws | X509; + +/** A secret type for persistent (non-expiring) tokens. */ +export type Token = { + /** A string of the token itself. */ + accessToken: Scalars['String']; +}; + +/** + * A resolved secret type for Google Cloud service account credentials. + * The key names differ from the conventional format because they are aligned with those of GCP. + */ +export type GoogleServiceAccount = { + /** The type of account. Must be "service_account". */ + type: Scalars['String']; + /** The project ID. Typically matches the project ID of the source it is used with. */ + project_id: Scalars['String']; + /** The ID of the private key for the account. */ + private_key_id: Scalars['String']; + /** The private key itself. */ + private_key: Scalars['String']; + /** The email address associated with the service account. */ + client_email: Scalars['String']; + /** The ID of the client. */ + client_id: Scalars['String']; + /** The URI of the authentication endpoint. */ + auth_uri: Scalars['String']; + /** The URI of the token endpoint. */ + token_uri: Scalars['String']; + /** The endpoint for x509 certification. */ + auth_provider_x509_cert_url: Scalars['String']; + /** The client x509 certification url. */ + client_x509_cert_url: Scalars['String']; +}; + +/** A static username and password. */ +export type UserPass = { + /** The username. */ + username: Scalars['String']; + /** The password. */ + password: Scalars['String']; +}; + +/** + * LDAP authentication information. Depending on configuration, the username may be of a + * templated format like alice@place.example.com, or the literal distinguished name + * of a format like cn=admin,dc=example,dc=com + */ +export type Ldap = { + /** The username. */ + username: Scalars['String']; + /** Optional. The password. */ + password?: Maybe; + /** The full distinguished name. Example: 'CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM' */ + distinguishedName: Scalars['String']; +}; + +/** Kerberos authentication information. */ +export type Kerberos = { + /** The name of the realm. Example: UPENN.EDU */ + realm: Scalars['String']; + /** The location of the kdc server(s). Example: ["kerberos1.upenn.edu", "kerberos2.upenn.edu", "kerberos3.upenn.edu"] */ + kdcAddresses: Array; + /** The fully qualified principal name. Example: bob@UPENN.EDU */ + principal: Scalars['String']; + /** The serialized keytab file and/or password for this principal. */ + userKey: Scalars['String']; +}; + +/** + * AWS authentication information. This is the _only_ accepted way to use AWS authorization. + * See: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html + */ +export type Aws = { + /** + * A unique ID generated by the user to be used as a password/key when assuming the IAM role. + * See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html for more information. + * This should be generated in-browser with instructions/links for the user to follow to set this up. + * This key will never be shown to the user again, so warn them to properly set it up first. + */ + externalId: Scalars['String']; + /** The Amazon Resource Name of the role to use. This role must have access to whatever resources it needs. */ + roleArn: Scalars['String']; + /** Whether to include a temporary session token in requests. */ + useSessionToken: Scalars['Boolean']; +}; + +/** + * X.509 (TLS and/or SSL) authentication information. This is for the fairly niche case where the source requires + * HTTPS communication, but is using its own self-signing certificate authority. + */ +export type X509 = { + /** The x.509 PEM file for the client to use. */ + certificateKeyFilePem: Scalars['Upload']; + /** The Certificate Authority file to trust, that signed both the client and the target instance's certificates. */ + certificateAuthorityFile: Scalars['Upload']; +}; + + +/** The full resolved integration for a project. */ +export type ResolvedIntegration = { + /** The shortname of the integration referred to in the project. */ + name: Scalars['String']; + /** The integration itself. */ + integration: FullIntegration; +}; + +/** The mutation operations available in this schema */ +export type Mutation = { + /** [DEPRECATED] Register an occurence of an event */ + registerEvent?: Maybe; + /** Register an occurence of events */ + registerEvents?: Maybe; + /** Clear all cached data */ + clearCache?: Maybe; + snapshot: Scalars['Boolean']; + /** Promote a version to production */ + promoteToLive?: Maybe; + /** Delete an existing credential. */ + deleteCredential: Scalars['Boolean']; + /** Create an entry in the database for the dataset and request a signed URL for uploading the file */ + addDataset: DatasetInit; + /** Update the dataset's metadata */ + updateDataset?: Maybe; + /** Add a dataset to a project. */ + addDatasetToProject: Project; + /** Remove a dataset from a project */ + removeDatasetFromProject: Project; + /** Update the name of a dataset in a project */ + updateDatasetName: Project; + /** Publish a dataset from the dataset approval queue (admin only) */ + publishDataset?: Maybe; + /** Ignore or un-ignore a scraped dataset (for approval queue filtering) */ + setDatasetStatus?: Maybe; + /** + * Internal and system accounts only -- link and release an already persisted dataset. + * Includes discovered schema only if it has changed. + */ + addAndReleaseDataset: UpdateAndReleaseReturn; + /** Create a discussion note on a 'noteable' (e.g. an issue or merge request) */ + createDiscussion: NoteableType; + /** Add a reply to a discussion thread */ + createDiscussionReply: Discussion; + /** Edit a note/comment */ + editNote: Note; + /** Resolve or unresolve an entire discussion thread */ + updateDiscussionStatus: Discussion; + /** Awards an emoji to a note */ + awardEmojiToNote: Note; + /** Removes an emoji from a note */ + removeEmojiFromNote: Note; + /** Awards an emoji to an item that can receive comments (e.g. a merge request issue) */ + awardEmojiToNoteable: NoteableType; + /** Remove an emoji from an item that can receive comments (e.g. a merge request issue) */ + removeEmojiFromNoteable: NoteableType; + /** + * Creates an ExperimentRun with a name - looks up the experiment name from the repo's experiments.json, and then: + * (1) for each necessary run in the experiment, applies the changed properties to the + * Simulation repository in a new commit + * (2) constructs an s3 folder to save the output of the SimulationRun to. + * format: [userId]/[experimentRunId]/[simulationRunId] + * + * Each SimulationRun has an s3Key indicating where its data is/should be saved. + * + * s3 Bucket: hash-experiments + * + * A single SimulationRun experiment using an exact copy of the referenced + * simulation can be created by passing singleRun: true + */ + createExperimentRun: ExperimentRunInitialData; + createSimulationRun: SimulationRunInitialData; + /** + * Report cloud compute usage for an ExperimentRun. Multiple reports may be made + * to update the usage count, until the report is finalised + */ + reportComputeUsage: ExperimentRun; + /** Provide a name for a experiment run */ + updateExperimentRun: ExperimentRun; + /** Provide a name or the outcome for a simulation run */ + updateSimulationRun: SimulationRun; + /** + * Deletes an experiment run and each simulation run within it, including the + * stored output and the immutable simulation variants used in the experiment. + * Does not delete the original simulation that the experiment was called from. + */ + deleteExperimentRun?: Maybe; + /** + * Deletes a simulation run, including the stored output and the immutable + * simulation variant used to produce the run. Does not delete the original + * simulatiton the experiment was based on, nor other simulation runs in the same + * experiment. Returns the updated ExperimentRun without the deleted SimulationRun. + */ + deleteSimulationRun: ExperimentRun; + /** Set computeUsageRemaining for a user */ + setComputeUsage?: Maybe; + /** Create an issue on a project */ + createIssue: Issue; + /** Edit a project issue */ + editIssue: Issue; + /** Create an merge request */ + createMergeRequest: MergeRequest; + /** Edit a project merge request */ + editMergeRequest: MergeRequest; + /** Accept a merge request and merges its changes in */ + acceptMergeRequest: MergeRequest; + /** Adds git conflicts as a separate commit to be resolved in hCore */ + commitConflictsToMergeRequest: MergeRequest; + /** Add an organization, under a 'data' key, as an object following the shape defined by type OrgInput */ + addOrg?: Maybe; + /** + * Update a specific organization, identified by the ID provided under the 'id' + * key, with the fields to be added or updated under 'data' + */ + updateOrg?: Maybe; + /** + * Delete a specific organization, identified by the ID provided under the + * 'orgId' key. User be an admin of the organization Returns true if successful. + */ + deleteOrg?: Maybe; + /** Adds a user to an organization. */ + addUserToOrg?: Maybe; + /** Removes a user from an organization. */ + removeUserFromOrg?: Maybe; + /** Remove yourself from an organization. */ + removeMeFromOrg?: Maybe; + /** Update your job title in an organiization */ + updateMyJobTitle?: Maybe; + /** Update a user's role in an organization. */ + updateUserOrgRole?: Maybe; + /** Create a new project. Defaults to creating it in the current user's namespace if no other namespace is provided. */ + createProject: Project; + /** Create a commit in a project's repository */ + createCommit: CreateCommitReturn; + /** Creates a release of the project */ + createRelease: ReleaseBasic; + /** Deletes a project */ + deleteProject: Scalars['Boolean']; + /** Fork a project into another namespace, optionally renaming it */ + forkProject: Project; + /** Update a project's metadata */ + updateProject: Project; + /** + * Updates a project's metadata and then creates a release from the updated + * project. A wrapper around the separate 'updateProject' and 'release' + * mutations, guaranteeing update before release. + */ + updateAndRelease: UpdateAndReleaseReturn; + /** + * Forks a project and then applies an update. A wrapper around the separate + * 'forkProject' and 'updateProject' mutations. If the update fails, the fork + * will be deleted + */ + forkAndUpdate: Project; + /** + * Forks a project and then applies a commit. A wrapper around the separate + * 'forkProject' and 'createCommit'. If the commit fails, the fork will be deleted. + */ + forkAndCommit: ForkAndCommitReturn; + /** + * Forks a project, applies an update, and creates a release of the specified + * behavior file(s) from it, followed by updating the original project to import + * the newly released behavior(s) and delete the local copies. If any step fails, + * the fork will be deleted. + * + * update.files must be provided, specifying the name and path of file(s) within + * the repo to be exported as part of the release + */ + forkAndReleaseBehavior: ForkAndReleaseBehaviorReturn; + /** Star a project */ + starProject: StarReturn; + /** Unstar a project */ + unstarProject: StarReturn; + /** Request an access code for a private project. This may not always be unique. */ + requestPrivateProjectAccessCode: ProjectAccessCodeReturn; + addGitHubScraper: GitHubScraper; + /** Create a subject/type */ + createSubject: Subject; + /** Copies a subject to another namespace */ + forkSubject: Subject; + /** Updates a subject */ + updateSubject: Subject; + /** Creates a property */ + createProperty: Property; + /** Updates a property */ + updateProperty: Property; + /** Delete an existing source. */ + deleteSource: Scalars['Boolean']; + /** Add a user to the system */ + addUser?: Maybe; + /** Update a user's details (admins only) */ + updateUser?: Maybe; + deleteUser: Scalars['Boolean']; + /** Update your details */ + updateMe: User; + /** Obtain a client secret to use in registering a payment method */ + registerPaymentMethod: Scalars['String']; + setDefaultPaymentMethod: User; + sendLoginReminder: Scalars['Boolean']; + /** Create or update an integration. */ + upsertIntegration?: Maybe; + /** + * NOT IMPLEMENTED YET. + * TODO Requires CRUD operations on individual sources and credentials first. + */ + integrate?: Maybe; + /** + * Authorize a project to use a given integration. + * This endpoint can be called repeatedly to update the latest authorized/used integrations for the project. + */ + permitIntegration?: Maybe; + /** Delete an existing integration. */ + deleteIntegration?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationRegisterEventArgs = { + action: EventAction; + label?: Maybe; + context?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationRegisterEventsArgs = { + actions: Array; +}; + + +/** The mutation operations available in this schema */ +export type MutationPromoteToLiveArgs = { + stamp: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteCredentialArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddDatasetArgs = { + data: DatasetCreationInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateDatasetArgs = { + id: Scalars['ID']; + data: DatasetUpdateInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddDatasetToProjectArgs = { + id: Scalars['ID']; + projectPath: Scalars['String']; + rawCsv?: Maybe; + exported?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveDatasetFromProjectArgs = { + filename: Scalars['String']; + projectPath: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateDatasetNameArgs = { + filename: Scalars['String']; + projectPath: Scalars['String']; + name: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationPublishDatasetArgs = { + id: Scalars['ID']; + data: DatasetPublishInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationSetDatasetStatusArgs = { + id: Scalars['ID']; + ignored: Scalars['Boolean']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddAndReleaseDatasetArgs = { + data: DatasetRelease; + discoveredSchema?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateDiscussionArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + body: Scalars['String']; + state?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateDiscussionReplyArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + discussionId: Scalars['String']; + body: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationEditNoteArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + noteId: Scalars['Int']; + body?: Maybe; + resolved?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateDiscussionStatusArgs = { + projectPath: Scalars['String']; + mergeRequestId: Scalars['Int']; + discussionId: Scalars['String']; + resolved: Scalars['Boolean']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAwardEmojiToNoteArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + noteId: Scalars['Int']; + name: EmojiName; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveEmojiFromNoteArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + noteId: Scalars['Int']; + awardId: Scalars['Int']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAwardEmojiToNoteableArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + name: EmojiName; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveEmojiFromNoteableArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + awardId: Scalars['Int']; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateExperimentRunArgs = { + name: Scalars['String']; + projectPath: Scalars['String']; + ref?: Maybe; + packageName?: Maybe; + createRuns?: Maybe; + singleRun?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateSimulationRunArgs = { + id: Scalars['ID']; + propertyValues: Scalars['JSONObject']; +}; + + +/** The mutation operations available in this schema */ +export type MutationReportComputeUsageArgs = { + id: Scalars['ID']; + usage: Scalars['Int']; + finalise?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateExperimentRunArgs = { + id: Scalars['ID']; + name: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateSimulationRunArgs = { + id: Scalars['ID']; + name?: Maybe; + metricOutcome?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteExperimentRunArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteSimulationRunArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationSetComputeUsageArgs = { + shortname: Scalars['String']; + amount: Scalars['Int']; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateIssueArgs = { + projectPath: Scalars['String']; + title: Scalars['String']; + description: Scalars['String']; + labels: Array; +}; + + +/** The mutation operations available in this schema */ +export type MutationEditIssueArgs = { + projectPath: Scalars['String']; + issueId: Scalars['Int']; + description?: Maybe; + title?: Maybe; + labels?: Maybe>; + state?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateMergeRequestArgs = { + projectPath: Scalars['String']; + sourcePath: Scalars['String']; + title: Scalars['String']; + description: Scalars['String']; + labels?: Maybe>; +}; + + +/** The mutation operations available in this schema */ +export type MutationEditMergeRequestArgs = { + projectPath: Scalars['String']; + mergeRequestId: Scalars['Int']; + description?: Maybe; + title?: Maybe; + labels?: Maybe>; + state?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationAcceptMergeRequestArgs = { + projectPath: Scalars['String']; + mergeRequestId: Scalars['Int']; + commitMessage?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCommitConflictsToMergeRequestArgs = { + projectPath: Scalars['String']; + sourcePath: Scalars['String']; + mergeRequestId: Scalars['Int']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddOrgArgs = { + data: OrgInput; + addCreator?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateOrgArgs = { + orgId: Scalars['ID']; + data: OrgInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteOrgArgs = { + orgId: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddUserToOrgArgs = { + orgId: Scalars['ID']; + userId: Scalars['ID']; + roleId?: Maybe; + jobTitle?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveUserFromOrgArgs = { + orgId: Scalars['ID']; + userId: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveMeFromOrgArgs = { + orgId: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateMyJobTitleArgs = { + orgId: Scalars['ID']; + jobTitle?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateUserOrgRoleArgs = { + orgId: Scalars['ID']; + userId: Scalars['ID']; + roleId?: Maybe; + jobTitle?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateProjectArgs = { + name: Scalars['String']; + path: Scalars['String']; + namespace?: Maybe; + type?: Maybe; + visibility?: Maybe; + description?: Maybe; + licenseId?: Maybe; + actions?: Maybe>; + message?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateCommitArgs = { + projectPath: Scalars['String']; + message: Scalars['String']; + actions: Array; + accessCode?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateReleaseArgs = { + projectPath: Scalars['String']; + tag: Scalars['String']; + description?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteProjectArgs = { + projectPath: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkProjectArgs = { + projectPath: Scalars['String']; + namespace?: Maybe; + path?: Maybe; + name?: Maybe; + ref?: Maybe; + asBehavior?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateProjectArgs = { + projectPath: Scalars['String']; + data: ProjectUpdate; + commitMessage?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateAndReleaseArgs = { + projectPath: Scalars['String']; + update: ProjectUpdate; + commitMessage?: Maybe; + tag: Scalars['String']; + description?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkAndUpdateArgs = { + projectPath: Scalars['String']; + namespace?: Maybe; + path?: Maybe; + name?: Maybe; + update: ProjectUpdate; + commitMessage?: Maybe; + ref?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkAndCommitArgs = { + projectPath: Scalars['String']; + namespace?: Maybe; + path?: Maybe; + name?: Maybe; + commitMessage: Scalars['String']; + actions: Array; + ref?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkAndReleaseBehaviorArgs = { + projectPath: Scalars['String']; + namespace?: Maybe; + path?: Maybe; + name?: Maybe; + update: ProjectUpdate; + commitMessage?: Maybe; + tag: Scalars['String']; + description?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationStarProjectArgs = { + projectPath: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUnstarProjectArgs = { + projectPath: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationRequestPrivateProjectAccessCodeArgs = { + projectPath: Scalars['String']; + accessLevel: ProjectAccessCodeAccessType; + unique?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddGitHubScraperArgs = { + data: GitHubScraperCreationData; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateSubjectArgs = { + description: Scalars['String']; + namespace: Scalars['String']; + name: Scalars['String']; + subTypeOf?: Maybe>; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkSubjectArgs = { + namespace: Scalars['String']; + name: Scalars['String']; + version?: Maybe; + targetNamespace: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateSubjectArgs = { + namespace: Scalars['String']; + name: Scalars['String']; + version?: Maybe; + description?: Maybe; + properties?: Maybe>; + subTypeOf?: Maybe>; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreatePropertyArgs = { + description: Scalars['String']; + name: Scalars['String']; + namespace: Scalars['String']; + expectedType: Array; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdatePropertyArgs = { + namespace: Scalars['String']; + name: Scalars['String']; + description?: Maybe; + expectedType: Array; + subPropertyOf?: Maybe>; + supersededBy?: Maybe; + inverseOf?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteSourceArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddUserArgs = { + data: UserCreationInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateUserArgs = { + id: Scalars['ID']; + data: UserUpdateInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteUserArgs = { + email: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateMeArgs = { + data: UserUpdateInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationSetDefaultPaymentMethodArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationSendLoginReminderArgs = { + email: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpsertIntegrationArgs = { + name: Scalars['String']; + integrationType: SourceTypeName; + credential?: Maybe; + ownerId?: Maybe; + source: SourceCreationInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationIntegrateArgs = { + name: Scalars['String']; + integrationType: SourceTypeName; + credentialId: Scalars['ID']; + sourceId: Scalars['ID']; + ownerId?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationPermitIntegrationArgs = { + projectId: Scalars['ID']; + integrationId: Scalars['ID']; + asName: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteIntegrationArgs = { + id: Scalars['ID']; + deleteSource?: Maybe; + deleteCredentials?: Maybe; +}; + +export enum EventAction { + RunSimulation = 'RunSimulation', + OpenSimulation = 'OpenSimulation', + OpenProject = 'OpenProject', + ExperimentRun = 'ExperimentRun', + ExperimentSimulationRun = 'ExperimentSimulationRun' +} + +export type AnalyticEvent = { + /** The name of the action taken */ + action: EventAction; + /** A label for the event */ + label?: Maybe; + /** Any additional context about the event */ + context?: Maybe; +}; + +export type DatasetCreationInput = { + /** A friendly name for the dataset */ + name: Scalars['String']; + /** The filename to be used when the dataset itself is uploaded */ + filename: Scalars['String']; + /** The full path of the project the dataset is being assigned to */ + projectPath: Scalars['String']; +}; + +export type DatasetInit = { + /** The details the client needs to be able to upload a file */ + postForm?: Maybe; + /** The metadata held in the database on the dataset */ + dataset?: Maybe; +}; + +/** Information required to upload a file using a temporary security policy */ +export type SignedPostForm = { + /** The signed URL to be used for uploading the file */ + url: Scalars['String']; + /** The fields the client must attach to the form to be submitted, with the file to upload appended last under 'file' */ + fields?: Maybe; +}; + +export type DatasetUpdateInput = { + /** A friendly name for the dataset */ + name?: Maybe; + /** A description, instructions or notes on the dataset */ + description?: Maybe; +}; + +export type DatasetPublishInput = { + /** The title of the dataset */ + title: Scalars['String']; + /** A description, instructions or notes on the dataset */ + description: Scalars['String']; + /** A shortname unique among the publisher's listings */ + shortname: Scalars['String']; + /** The actual file(s) to be made available under the listing */ + resources: Array; + /** The id of the publisher of the dataset */ + existingPublisherId?: Maybe; + /** Details of an organization to create as the dataset's publisher */ + newPublisher?: Maybe; + /** The id of the license the dataset is made available under */ + existingLicenseId?: Maybe; + /** Details of a license to create and assign the dataset to */ + newLicense?: Maybe; + /** The id of the subject(s) of the dataset */ + existingSubjectIds?: Maybe>; + landingPage?: Maybe; + /** Additional reference information for the dataset */ + references?: Maybe>; + version?: Maybe; + language?: Maybe>; + /** How frequently the dataset is updated */ + updateFreq?: Maybe; + /** Keywords or tags associated with the dataset */ + keywords?: Maybe>; + contactPoint?: Maybe; + contactPointEmail?: Maybe; + /** The period of time the dataset covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints within the dataset */ + temporalFrequency?: Maybe; + /** The physical area covered by the dataset */ + spatialCoverage?: Maybe; + /** Additional information about the rights held or offered on the dataset */ + rights?: Maybe; + /** The name of a collection or group the dataset belongs to */ + isPartOf?: Maybe; + /** The International Standard Serial Number used to identify a serial publication */ + issn?: Maybe; + /** The technique(s) used to measure the data */ + measurementTechnique?: Maybe; + /** The specific variable the data measures */ + variableMeasured?: Maybe; + /** The name of the data catalog the resource is included in, if any */ + includedInDataCatalog?: Maybe; +}; + +export type DatasetResourceInput = { + /** The id of the resource as assigned in its source */ + id?: Maybe; + /** The name of the resource */ + name: Scalars['String']; + /** The shortname of the resource, including extension */ + shortname: Scalars['String']; + /** The revisionId in its source the resource was first made available under */ + revisionId?: Maybe; + /** The URL to the specific file being uploaded and made available */ + url: Scalars['String']; + /** The file format of the resource, expressed as a mime-type */ + format: Scalars['String']; + /** A description of the resource */ + description?: Maybe; + /** A URL to an explanation of the resource */ + describedBy?: Maybe; + /** The type of file which describes the resource */ + describedByType?: Maybe; + /** The size of the file */ + size?: Maybe; + createdAt?: Maybe; + updatedAt?: Maybe; +}; + +export type PublisherCreationInput = { + name: Scalars['String']; + logoUrl?: Maybe; + logoFile?: Maybe; +}; + +export type LicenseCreationInput = { + /** The name of the license */ + name: Scalars['String']; + /** Additional description of the license */ + description?: Maybe; + /** A link to an explanation of the license's terms */ + url?: Maybe; + /** A link to a logo representing the license */ + logo?: Maybe; +}; + +/** Input required for hFlow internal dataset creation. */ +export type DatasetRelease = { + /** The name of the dataset. */ + name: Scalars['String']; + /** The filename alias to use. */ + filename: Scalars['String']; + /** The project path in the format '@owner/project-name'. */ + projectPath: Scalars['String']; + /** S3 location information. */ + s3Location: S3LocationInput; + /** The message to add to the commit. */ + message: Scalars['String']; + /** The size of all files (not the size of an individual file). */ + size: Scalars['Int']; + /** The new version. */ + version: Scalars['String']; +}; + +export type S3LocationInput = { + bucket: Scalars['String']; + folder: Scalars['String']; + files: Array; +}; + +export type UpdateAndReleaseReturn = { + project: Project; + release: ReleaseBasic; +}; + +export enum StateEvent { + Close = 'close', + Reopen = 'reopen' +} + +export type NoteableType = Issue | MergeRequest; + +export type ExperimentRunInitialData = { + experimentRun: ExperimentRun; + computeUsageRemaining: Scalars['Int']; +}; + +export type SimulationRunInitialData = { + id: Scalars['ID']; + name: Scalars['String']; + s3Key: Scalars['String']; + stepsUploadForm: SignedPostForm; + analysisUploadForm: SignedPostForm; +}; + +/** Inputs allowed when creating or updating an organization */ +export type OrgInput = { + /** The name for the organization */ + name?: Maybe; + /** Alternate name(s) the organization may be referred to as */ + alternateName?: Maybe>; + /** A unique string identifying the organization in HASH (may only be updated after creation by admins) */ + shortname?: Maybe; + /** Free single-line text to specify organization location (see 'address' for postal address) */ + location?: Maybe; + /** The physical address(es) of the organization (see 'location' for a single line of free text) */ + address?: Maybe>; + /** A description of the organization */ + description?: Maybe; + /** The full legal name of the organization */ + legalName?: Maybe; + /** The parent organization of this organization */ + parentOrganization?: Maybe; + /** Whether the organization is non-profit or not */ + nonProfit?: Maybe; + /** Whether the organization's membership is made public or not */ + publicMembership?: Maybe; + /** A way for HASH users to contact the organization with any questions */ + supportContact?: Maybe; + /** The organization's logo */ + logo?: Maybe; + /** A square image representing the organization */ + avatar?: Maybe; + /** Another image associated with the organization */ + image?: Maybe>; + /** The organization's website */ + url?: Maybe>; +}; + +/** A physical address of an organization or entity */ +export type PostalAddressInput = { + /** The post office box number for PO box addresses. */ + postOfficeBoxNumber?: Maybe; + /** The street address. */ + streetAddress?: Maybe; + /** The locality in which the street address is (e.g. a town) */ + addressLocality?: Maybe; + /** The region (e.g. a state, county, or other top-level district in a country */ + addressRegion?: Maybe; + /** The country */ + addressCountry?: Maybe; + /** The postal code or zip code */ + postalCode?: Maybe; +}; + +/** An action operating on a single file as part of a commit */ +export type CommitAction = { + /** The type of action to take */ + action: CommitActionVerb; + /** The path of the file to operate on (or the new path, if being moved) */ + filePath: Scalars['String']; + /** If a file is being moved, its previous path in the repository */ + previousPath?: Maybe; + /** If a file is being created or updated, its content */ + content?: Maybe; +}; + +/** The types of action allowed on a file as part of a commit */ +export enum CommitActionVerb { + Create = 'create', + Delete = 'delete', + Move = 'move', + Update = 'update' +} + +export type CreateCommitReturn = { + commit: Commit; + project: Project; +}; + +export type ProjectUpdate = { + /** A friendly name for the project */ + name?: Maybe; + /** A namespace to move the project into */ + namespace?: Maybe; + /** A short description of the project */ + description?: Maybe; + /** The files to export from the project in its releases (e.g. behaviors) */ + files?: Maybe>; + /** The level of access restriction on the project */ + visibility?: Maybe; + /** Keywords / tags to help users locate the project */ + keywords?: Maybe>; + /** The subjects of the project */ + subject?: Maybe>; + /** The id of the license the project is made available under */ + license?: Maybe; + /** Update the project type */ + type?: Maybe; + /** + * Details of a new license to create and assign for the listing. This license + * will become available for future use by the publisher only + */ + newLicense?: Maybe; + /** The period of time the project's dataset(s) covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints of dataset(s) within the projcet */ + dataFrequency?: Maybe; + /** The physical area covered by dataset(s) in the project */ + spatialCoverage?: Maybe; + /** An image to display representing the listing */ + avatar?: Maybe; + /** A wide-ratio (1.91:1) cover image to promote and illustrate listings */ + image?: Maybe; +}; + +export type ExportedFile = { + /** The filename */ + filename: Scalars['String']; + /** The path to the file within the repo */ + path: Scalars['String']; +}; + +export type SchemaReferenceInput = { + name: Scalars['String']; + namespace: Scalars['String']; + version?: Maybe; +}; + +export type ForkAndCommitReturn = { + project: Project; + commit: Commit; +}; + +export type ForkAndReleaseBehaviorReturn = { + sourceProject: Project; + behaviorProject: Project; +}; + +export type StarReturn = { + project: Project; + user: User; +}; + +/** The level of access that an access code grants */ +export enum ProjectAccessCodeAccessType { + Write = 'Write', + Read = 'Read', + ReadEmbed = 'ReadEmbed' +} + +export type ProjectAccessCodeReturn = { + code: ProjectAccessCode; + unique: Scalars['Boolean']; +}; + +export type ProjectAccessCode = { + code: Scalars['String']; + accessLevel: ProjectAccessCodeAccessType; + project: Project; + creator: User; + createdAt: Scalars['Date']; + updatedAt: Scalars['Date']; +}; + +export type GitHubScraperCreationData = { + description?: Maybe; + files: Array; + frequency: ScraperFrequency; + /** The id of a predefined license to make the project available under. */ + licenseId?: Maybe; + /** A custom license to create a LICENSE.md file from */ + licenseText?: Maybe; + name: Scalars['String']; + namespace: Scalars['String']; + path: Scalars['String']; + readme?: Maybe; + repoPath: Scalars['String']; +}; + +export type GitHubScraperFileInput = { + fileDownloadUrl: Scalars['String']; + filepathInRepo: Scalars['String']; + filenameInHASH: Scalars['String']; + nameInHASH?: Maybe; +}; + +export type UserCreationInput = { + additionalName?: Maybe>; + biography?: Maybe; + email: Scalars['String']; + familyName?: Maybe; + givenName?: Maybe; + image?: Maybe; + knowsLanguage?: Maybe>; + location?: Maybe; + role?: Maybe; + shortname: Scalars['String']; + telephone?: Maybe; + url?: Maybe; +}; + +export type UserUpdateInput = { + givenName?: Maybe; + familyName?: Maybe; + /** Only admins may update shortnames after user creation */ + shortname?: Maybe; + biography?: Maybe; + knowsLanguage?: Maybe>; + location?: Maybe; + url?: Maybe; + telephone?: Maybe; + image?: Maybe; + onboarded?: Maybe; + tourProgress?: Maybe; + /** The ID of the role to assign a user (admins only) */ + role?: Maybe; +}; + +export type TourProgressInput = { + completed: Scalars['Boolean']; + version?: Maybe; + lastStepViewed?: Maybe; +}; + +/** Required inputs for creating a new credential. */ +export type CredentialCreationInput = { + /** User-defined name of the credential. Any given pair of owner ID and name must be unique. */ + name: Scalars['String']; + /** The type of credential to store. Currently token, googleserviceaccount, userpass, ldap, kerberos, x509, aws. */ + type: CredentialType; + /** + * Optional: the ID of the owning entity -- either a User or an Organization. + * If not provided, the owner will be the user that created the credential. + */ + ownerId?: Maybe; + /** + * A string of the secret token itself. Used for Token credentials. + * Note: GraphQL does not currently support union types in inputs. + * Check SecretType for what fields are necessary for the type of credential you are creating. + */ + accessToken?: Maybe; + /** The Google Cloud service account JSON. A file. Will be of a format like that of the GoogleServiceAccount type. */ + serviceAccountJson?: Maybe; + /** Inputs required for username and password credentials. */ + userPass?: Maybe; + /** Inputs required for LDAP credentials. */ + ldap?: Maybe; + /** Inputs required for AWS credentials. */ + aws?: Maybe; + /** Inputs required for Kerberos credentials. */ + kerberos?: Maybe; + /** Inputs required for x.509 credentials. */ + x509?: Maybe; +}; + +/** An input type for UserPass credentials. */ +export type UserPassInput = { + /** The username. */ + username: Scalars['String']; + /** The password. */ + password: Scalars['String']; +}; + +/** + * An input type for LDAP credentials. This differs little from UserPass, but affects configurations for some + * clients, e.g. MongoDB. + */ +export type LdapInput = { + /** The username. */ + username: Scalars['String']; + /** Optional. The password. */ + password?: Maybe; + /** The full distinguished name. Example: 'CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM' */ + distinguishedName: Scalars['String']; +}; + +/** + * AWS authentication information. This is the _only_ accepted way to use AWS authorization. + * See: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html + */ +export type AwsInput = { + /** + * A unique ID generated by the user to be used as a password/key when assuming the IAM role. + * See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html for more information. + * This should be generated in-browser with instructions/links for the user to follow to set this up. + * This key will never be shown to the user again, so warn them to properly set it up first. + */ + externalId: Scalars['String']; + /** The Amazon Resource Name of the role to use. This role must have access to whatever resources it needs. */ + roleArn: Scalars['String']; + /** Whether to include a temporary session token in requests. */ + useSessionToken: Scalars['Boolean']; +}; + +/** Kerberos authentication information. */ +export type KerberosInput = { + /** The name of the realm. Example: UPENN.EDU */ + realm: Scalars['String']; + /** The location of the kdc server(s). Example: ["kerberos1.upenn.edu", "kerberos2.upenn.edu", "kerberos3.upenn.edu"] */ + kdcAddresses: Array; + /** The fully qualified principal name. Example: bob@UPENN.EDU */ + principal: Scalars['String']; + /** The serialized keytab file and/or password for this principal. */ + userKey: Scalars['String']; +}; + +/** + * X.509 (TLS and/or SSL) authentication information. This is for the fairly niche case where the source requires + * HTTPS communication, but using its own self-signing certificate authority. + */ +export type X509Input = { + /** The x.509 PEM file for the client to use. */ + certificateKeyFilePem: Scalars['Upload']; + /** The Certificate Authority file to trust, that signed both the client and the target instance's certificates. */ + certificateAuthorityFile: Scalars['Upload']; +}; + +/** Information required to create a new source. */ +export type SourceCreationInput = { + /** The name of the source. */ + name: Scalars['String']; + /** The type of source to create. */ + type: SourceTypeName; + /** The ID of the owner of the new source. If not provided, this will be the user that created it. */ + ownerId?: Maybe; + /** + * MapBox: The base URL for the integration. + * Note: GraphQL does not currently support union types in inputs. + * Check SourceType for what fields are necessary for the type of integration you are creating. + */ + baseUrl?: Maybe; + /** Information to create a BigQuery source. */ + bigquery?: Maybe; + /** Information to create a MongoDB and/or MongoDB Atlas source. */ + mongodb?: Maybe; + /** Information to create a Snowflake source. */ + snowflake?: Maybe; + /** Information to create an ElasticSearch source. */ + elasticsearch?: Maybe; + /** Information to create an S3 source. */ + s3?: Maybe; +}; + +/** BigQuery source creation information. */ +export type BigQueryCreation = { + /** + * The base URL to query against. Example: https://bigquery.googleapis.com/bigquery/v1/projects/some-project-id/queries + * If not specified, will be literally https://bigquery.googleapis.com/bigquery/v1/projects/$projectId/queries. + */ + url?: Maybe; + /** The ID of the _Google Cloud_ project (no relation to HASH project IDs). */ + projectId: Scalars['String']; + /** The ID of the _Google Cloud_ dataset that will be queried. */ + datasetId: Scalars['String']; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Some valid SQL statement to use when querying the dataset. + * Should be in a format that runs successfully in Google's query editor. Example: + * "#standardSQL\nSELECT\n growth.country_name,\n growth.net_migration,\n + * CAST(area.country_area AS INT64) AS country_area\nFROM (\n SELECT\n + * country_name,\n net_migration,\n country_code\n FROM\n + * `bigquery-public-data.census_bureau_international.birth_death_growth_rates`\n + * WHERE\n year = 2020) growth\nINNER JOIN (\n SELECT\n country_area,\n + * country_code\n FROM\n + * `bigquery-public-data.census_bureau_international.country_names_area`) + * area\nON\n growth.country_code = area.country_code\nORDER BY\n net_migration DESC", + */ + query?: Maybe; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Whether the query is using Legacy SQL features. Almost invariably false, and the user will likely know if it isn't. + */ + useLegacySql?: Maybe; +}; + +/** MongoDB and/or MongoDB Atlas source creation information. */ +export type MongoDbCreation = { + /** Base database configuration information (host, port, et cetera). */ + store: DatastoreInput; + /** Optional. The name of the replica set. */ + replicaSet?: Maybe; + /** Optional. The name of the authentication database. Defaults to admin or $external depending on linked credentials. */ + authenticationDatabase?: Maybe; + /** Optional. The authentication mechanism to use. Default depends on linked credentials. */ + authenticationMechanism?: Maybe; +}; + +/** Composition-over-inheritance type for common configuration fields for databases, but an input type! */ +export type DatastoreInput = { + /** The host and port of the server(s) to connect to. */ + servers: Array; + /** The name of the database to connect to. */ + database: Scalars['String']; + /** Connection string options for this specific connection. Example: timezone=UTC&batchInsert=False */ + options?: Maybe; + /** Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0 */ + version?: Maybe; +}; + +/** An individual server for an integration, but an input type. */ +export type ServerInput = { + /** The host uri. Examples: 127.0.0.1 or https://localhost or mymongoserver.example.com. */ + host: Scalars['String']; + /** The port. */ + port: Scalars['Int']; +}; + +/** Snowflake source information. */ +export type SnowflakeCreation = { + /** + * The Snowflake account name. Example: if the Snowflake URL for the user is mycompany.snowflakecomputing.com, + * the value here would just be 'mycompany'. + */ + accountName: Scalars['String']; + /** The warehouse name. */ + warehouse: Scalars['String']; + /** The database name. */ + database: Scalars['String']; + /** The name of the schema. This is the schema as understood by Snowflake, and is not related to HASH schemas. */ + schema: Scalars['String']; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Some valid SQL statement to use when querying the store. + */ + query?: Maybe; + /** Optional. The role to use. */ + role?: Maybe; +}; + +/** Input information for ElasticSearch. */ +export type ElasticSearchCreation = { + /** Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0 */ + version?: Maybe; + /** Optional. The name of the index to query against. */ + indexName?: Maybe; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * The query JSON to run. Example: "{"query":{"match_all":{}}}" + */ + query?: Maybe; + /** Server information for the elasticsearch cluster. */ + server: ServerInput; +}; + +/** Input information for an S3 bucket. */ +export type S3Creation = { + /** The name of the bucket. */ + bucket: Scalars['String']; + /** + * The object key or object key pattern. Example: if the S3 URI is + * s3://hash-terraform-state-s3-backend/base/terraform.tfstate, + * the key is "base/terraform.tfstate", and a matching pattern could be "base/*.tfstate". + */ + key: Scalars['String']; + /** The AWS region the bucket is located in. Example: us-east-1. */ + region: Scalars['String']; + /** The format of the source file. */ + format: FileFormat; +}; + +export type File = { + filename: Scalars['String']; + mimetype: Scalars['String']; + encoding: Scalars['String']; +}; + +export type FileFormatCount = { + name?: Maybe; + count?: Maybe; +}; + +/** + * A list of all integrations available to a user, + * OR + * A list of all integrations authorized for a project for a given user + * IF it is part of a Project response, or a projectId was given in the request. + */ +export type AvailableIntegrations = { + integrations: Array; +}; + +/** + * NOT IMPLEMENTED YET. + * TODO Requires CRUD operations on individual sources and credentials first. + * Purpose is to enable sources without credentials and vice versa to be added at the organization level, + * and for sources to be tied directly to projects without credentials. + */ +export type IntegrateInput = { + name: Scalars['String']; + integrationType: SourceTypeName; + credentialId: Scalars['ID']; + sourceId: Scalars['ID']; + ownerId?: Maybe; +}; + +export type AddDatasetToProjectMutationVariables = Exact<{ + id: Scalars['ID']; + projectPath: Scalars['String']; + csv: Scalars['Boolean']; +}>; + + +export type AddDatasetToProjectMutation = { addDatasetToProject: ( + Pick + & { files: Array> } + ) }; + +export type BasicUserFragmentFragment = Pick; + +export type CanUserEditProjectQueryVariables = Exact<{ + pathWithNamespace: Scalars['String']; + ref: Scalars['String']; +}>; + + +export type CanUserEditProjectQuery = { project: ( + Pick + & { dependencies: Array> } + ) }; + +export type CommitActionsMutationVariables = Exact<{ + pathWithNamespace: Scalars['String']; + actions: Array | CommitAction; + message: Scalars['String']; + includeFullProject: Scalars['Boolean']; + accessCode?: Maybe; +}>; + + +export type CommitActionsMutation = { createCommit: { project?: Maybe<( + Pick + & FullProjectFragmentFragment + )>, commit: Pick } }; + +export type ExampleProjectsFragmentFragment = { specialProjects: Array }; + +export type ForkAndReleaseBehaviorsMutationVariables = Exact<{ + projectPath: Scalars['String']; + name: Scalars['String']; + namespace?: Maybe; + path: Scalars['String']; + commitMessage: Scalars['String']; + tag: Scalars['String']; + releaseDescription: Scalars['String']; + files: Array | ExportedFile; + projectDescription: Scalars['String']; + visibility: VisibilityLevel; + license: Scalars['String']; + keywords: Array | Scalars['String']; +}>; + + +export type ForkAndReleaseBehaviorsMutation = { forkAndReleaseBehavior: { sourceProject: ( + Pick + & FilesFragmentFragment + ), behaviorProject: Pick } }; + +export type UserProjectsFragmentFragment = { projects: { results: Array } }; + +export type MyProjectsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type MyProjectsQuery = { me?: Maybe }; + +export type PartialProjectFragmentFragment = ( + Pick + & { latestRelease?: Maybe>, forkOf?: Maybe> } +); + +export type PartialProjectByPathQueryVariables = Exact<{ + pathWithNamespace: Scalars['String']; + version: Scalars['String']; +}>; + + +export type PartialProjectByPathQuery = { project: PartialProjectFragmentFragment }; + +export type ProjectHistoryQueryVariables = Exact<{ + pathWithNamespace: Scalars['String']; + ref: Scalars['String']; + pageToCurrent: Scalars['Boolean']; + accessCode?: Maybe; + createdBefore?: Maybe; +}>; + + +export type ProjectHistoryQuery = { project: { history?: Maybe<( + Pick + & { items: Array<( + Pick + & { item: ( + { __typename: 'ReleaseBasic' } + & Pick + ) | ( + { __typename: 'CommitGroup' } + & { commits: Array> } + ) | ( + { __typename: 'ExperimentRun' } + & Pick + & { packageData?: Maybe>, simulationRuns: Array> } + ) } + )> } + )> } }; + +export type FilesFragmentFragment = { files: Array>, dependencies: Array<( + Pick + & { files: Array> } + )> }; + +export type FullProjectFragmentFragment = ( + Pick + & { forkOf?: Maybe>, latestRelease?: Maybe>, license?: Maybe> } + & FilesFragmentFragment +); + +export type ProjectByPathQueryVariables = Exact<{ + pathWithNamespace: Scalars['String']; + version: Scalars['String']; + accessCode?: Maybe; +}>; + + +export type ProjectByPathQuery = { project: FullProjectFragmentFragment }; diff --git a/apps/sim-core/packages/core/src/util/api/graphql-schema.json b/apps/sim-core/packages/core/src/util/api/graphql-schema.json deleted file mode 100644 index 46ac476..0000000 --- a/apps/sim-core/packages/core/src/util/api/graphql-schema.json +++ /dev/null @@ -1,21863 +0,0 @@ -{ - "__schema": { - "queryType": { - "name": "Query" - }, - "mutationType": { - "name": "Mutation" - }, - "subscriptionType": null, - "types": [ - { - "kind": "OBJECT", - "name": "Query", - "description": "The queries available in this schema", - "fields": [ - { - "name": "cacheFlat", - "description": "A flat list of active cache keys", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cacheStructured", - "description": "Active cache keys structured by namespace, resource, and query", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "coreVersions", - "description": "Retrieve a list of application build URLs", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scrapedDatasets", - "description": "Query for scraped datasets (admin only)", - "args": [ - { - "name": "perPage", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "10" - }, - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "1" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "ENUM", - "name": "ScrapedSortOption", - "ofType": null - }, - "defaultValue": "dateModified" - }, - { - "name": "filters", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "ScrapedDatasetFilters", - "ofType": null - }, - "defaultValue": "{published: exclude, ignored: exclude, updated: include, fileFormat: csv, zip: include}" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ScrapedDatasetResults", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasetFilterValues", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DatasetFilterValues", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "experimentRun", - "description": "Retrieve an experiment run by its id", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ExperimentRun", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "simulationRun", - "description": "Retrieve a specific run by its id", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "SimulationRun", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "experimentPlan", - "description": "Generate an experiment plan from a selected definition in an experiments.json object", - "args": [ - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "experimentsSrc", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ExperimentPlan", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "issue", - "description": "Retrieve a project issue", - "args": [ - { - "name": "projectPath", - "description": "The path of the project to raise the issue on, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "issueId", - "description": "The unique identifier of the issue", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Issue", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "keywords", - "description": "Return all keywords in use across the Index", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Keyword", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "licenses", - "description": "License which may be used to publish items to the Index under.\n\nIf no suitable license is listed, publishers are advised to select Copyright\n(All Rights Reserved) and then note their specific usage conditions in the\nlisting's descriptions.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "License", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mergeRequest", - "description": "Retrieve a project merge request", - "args": [ - { - "name": "projectPath", - "description": "The path of the project to raise the merge request on, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "mergeRequestId", - "description": "The unique identifier of the merge request", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MergeRequest", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": "Retrieve data on a specific organization by its ID or name. One of ID or name must be supplied", - "args": [ - { - "name": "id", - "description": "The ID of the organization", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The organization's name (case-insensitive, first partial match returned)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "shortname", - "description": "The organization's shortname (unique string identifier in HASH)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgs", - "description": "Retrieve data on all organizations, or those with names containing a specific string", - "args": [ - { - "name": "name", - "description": "Optional - search organizations by name (case-insensitive, all partial matches returned)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "polyModel", - "description": "Return a PolyModel by its slug", - "args": [ - { - "name": "slug", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PolyModel", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "polyModels", - "description": "Return all PolyModels available via the HASH API", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PolyModel", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "project", - "description": "Retrieve a project by its path", - "args": [ - { - "name": "projectPath", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "ref", - "description": "Retrieve the project at a given tag, branch, or commit. Defaults to the\nlatest tag if it exists, or main if there are no releases.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "oldId", - "description": "Retrieve a project by its old database id, to service legacy URLs", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "oldType", - "description": "Whether the oldId belonged to an Index listing or a simulation", - "type": { - "kind": "ENUM", - "name": "OldProjectType", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "accessCode", - "description": "Access token to use if project is private.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "release", - "description": "Retrieve a release of a particular project", - "args": [ - { - "name": "projectPath", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "tag", - "description": "The release tag/version to retrieve. Defaults to the latest release if none specified", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "files", - "description": "Specify only a subset of released files to retrieve. Otherwise, all files exported from the release are provided", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Release", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "specialProjects", - "description": "\"\nQuery for special types of projects", - "args": [ - { - "name": "type", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SpecialProjectType", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "searchProjects", - "description": "Search for projects matching the filters specified.", - "args": [ - { - "name": "query", - "description": "Text to search for in the project's description or keywords. Where this is\nprovided, results will be sorted by a relevance score which weights matches\nin keywords higher than in description.\n\nEnclose phrases in \"escaped quotes\" for exact phrase matches, and exclude\nresults containing specific words by -prefixing -them -with -a -minus.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "subjects", - "description": "Limit the results of a search to listings covering a specific subject or subjects.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "types", - "description": "The types of items being searched for", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SearchableTypeName", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "perPage", - "description": "The number of results to return (default 10).", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "10" - }, - { - "name": "page", - "description": "The page of results to return (default 1).", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "1" - }, - { - "name": "sort", - "description": "How the results should be sorted", - "type": { - "kind": "ENUM", - "name": "SortOption", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "language", - "description": "For behavior projects only, the programming language of the behavior(s)", - "type": { - "kind": "ENUM", - "name": "BehaviorLanguage", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "temporalCoverage", - "description": "For datasets only, the time period covered by the dataset(s)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "dataFrequency", - "description": "For datasets only, the frequency of data points within the dataset(s)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "spatialCoverage", - "description": "For datasets only, the geographical area covered by the dataset(s)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "releasedOnly", - "description": "Only return projects with at least one release", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectSearchResults", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "roles", - "description": "Return all site-wide roles in the system", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Role", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scrapers", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GitHubScraper", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "source", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Source", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjects", - "description": "Retrieve all available subject types in the system", - "args": [ - { - "name": "onlyPopulated", - "description": "Only return subjects which have Index listings associated with them, for\neither all listings, or a given type. Omit to return all categories,\nincluding ones which are not assigned to any listing.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectTypeFilter", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subject", - "description": "Retrieve a subject.", - "args": [ - { - "name": "name", - "description": "The subject's name", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "If omitted, 'schema' is used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version", - "description": "If omitted, the latest is returned", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "properties", - "description": "Retrieve all available properties in the system", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Property", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "property", - "description": "Retrieve a property", - "args": [ - { - "name": "name", - "description": "The property's name", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "If omitted, 'schema' is used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version", - "description": "If omitted, the latest is returned", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Property", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "me", - "description": "Information on the user making the request", - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "users", - "description": "Retrieve all users by page, with optional filtering", - "args": [ - { - "name": "page", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "1" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "ENUM", - "name": "UserSortOption", - "ofType": null - }, - "defaultValue": "createdAt" - }, - { - "name": "sortDirection", - "description": null, - "type": { - "kind": "ENUM", - "name": "SortDirection", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "search", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "filter", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsersResult", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": "Retrieve the details of a specific user by their ID, email address, or shortname", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "shortname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userOrOrg", - "description": "Retrieve a user or organization by their shortname or id", - "args": [ - { - "name": "shortname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "UNION", - "name": "UserOrOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "availableIntegrations", - "description": "Fetch available integrations, either for this user,\nor for this user that are also authorized for the given projectId.", - "args": [ - { - "name": "types", - "description": "A list of integration types to retrieve. Will retrieve all available integrations if no type specified.", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SourceTypeName", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "hFlowOnly", - "description": "Filter integration types to those valid as hFlow sources only", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "namespaceId", - "description": "Limit the query to integrations belonging to this namespace.", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "projectId", - "description": "The project ID to query for authorizations for.\nIf not given, returns all integrations of these types that the user has access to.\nIf given, only returns integrations that the user has access to that are authorized for this project.", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Integration", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integration", - "description": "Fetch full integration information -- _WILL_ include the secret of the credential itself if the user is allowed access.", - "args": [ - { - "name": "id", - "description": "The ID of the integration to retrieve.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "FullIntegration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrations", - "description": "Internal-only endpoint for fetching integrations.", - "args": [ - { - "name": "ids", - "description": "The ID of the integration to retrieve.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FullIntegration", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resolveIntegrations", - "description": "Retrieves the set of integrations to be used for a given user and project.\nErrors out if the user has not set up integrations properly for the project.", - "args": [ - { - "name": "projectId", - "description": "The ID of the project to resolve integrations for.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ResolvedIntegration", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "String", - "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "JSONObject", - "description": "", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Int", - "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ScrapedSortOption", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "dateModified", - "description": "The date the dataset was last modified", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datePublished", - "description": "The date the dataset was originally published", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ScrapedDatasetFilters", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "query", - "description": "A text string to search", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "publisher", - "description": "The name of the organization as listed in the source", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "published", - "description": null, - "type": { - "kind": "ENUM", - "name": "FlagToggle", - "ofType": null - }, - "defaultValue": "exclude" - }, - { - "name": "ignored", - "description": null, - "type": { - "kind": "ENUM", - "name": "FlagToggle", - "ofType": null - }, - "defaultValue": "exclude" - }, - { - "name": "updated", - "description": null, - "type": { - "kind": "ENUM", - "name": "FlagToggle", - "ofType": null - }, - "defaultValue": "include" - }, - { - "name": "fileFormat", - "description": null, - "type": { - "kind": "ENUM", - "name": "FormatFilter", - "ofType": null - }, - "defaultValue": "csv" - }, - { - "name": "zip", - "description": null, - "type": { - "kind": "ENUM", - "name": "FlagToggle", - "ofType": null - }, - "defaultValue": "include" - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "FlagToggle", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "include", - "description": "Include results with the flag", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "exclude", - "description": "Exclude results with the flag", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "only", - "description": "Only show results with the flag", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "FormatFilter", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "any", - "description": "Show results with any files", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "none", - "description": "Show results with no files", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "accepted", - "description": "Only show results with an accepted file format", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "csv", - "description": "Only show results with a CSV file", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "json", - "description": "Only show results with a JSON file", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ScrapedDatasetResults", - "description": null, - "fields": [ - { - "name": "results", - "description": "The results for the query, limited to the requested page", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ScrapedDataset", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "perPage", - "description": "The number of results requested", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": "The page requested", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "The total number of datasets matching the query", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publishers", - "description": "The publishers available for query", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PublisherCount", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filters", - "description": "The filter settings for the query", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ScrapedDatasetFiltersUsed", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ScrapedDataset", - "description": null, - "fields": [ - { - "name": "source", - "description": "The source the dataset was scraped from", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sourceId", - "description": "The id used to identify the dataset in its original source", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sourceUrl", - "description": "The URL to view the dataset in its original source", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "revisionId", - "description": "The id of this specific revision of the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "published", - "description": "Whether or not the dataset has been published to the Index", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ignored", - "description": "Whether or not the dataset has been permanently ignored", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "actioned", - "description": "Whether or not a dataset has been actioned from the approval queue (i.e.\npublished, updated, temporarily ignored, or permanently ignored)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated", - "description": "Whether a dataset has been updated since its publication on HASH", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "handled", - "description": "Whether a dataset has been handled/actioned from the queue", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "landingPage", - "description": "An exteral webpage for the dataset or dataset series", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "references", - "description": "Additional reference information for the dataset", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "version", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "language", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datePublished", - "description": "Date published of the dataset itself, not the db entry (createdAt)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dateModified", - "description": "Date the dataset itself was updated, not the db entry (createdAt)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateFreq", - "description": "How frequently the dataset is updated", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "keywords", - "description": "Keywords or tags associated with the dataset", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "keywordsInSource", - "description": "The keywords listed in the source", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contactPoint", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contactPointEmail", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "temporalCoverage", - "description": "The period of time the dataset covers", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "temporalFrequency", - "description": "The frequency interval of the datapoints within the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "spatialCoverage", - "description": "The physical area covered by the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rights", - "description": "Additional information about the rights held or offered on the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isPartOf", - "description": "The name of a collection or group the dataset belongs to", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "issn", - "description": "The International Standard Serial Number used to identify a serial publication", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "measurementTechnique", - "description": "The technique(s) used to measure the data", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "variableMeasured", - "description": "The specific variable the data measures", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "includedInDataCatalog", - "description": "The name of the data catalog the resource is included in, if any", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "category", - "description": "The HASH id(s) of the category the dataset has been published under", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "categoryInSource", - "description": "The category(s) listed in the source", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publisher", - "description": "The HASH id of the organization the dataset has been published under", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publisherInSource", - "description": "The publisher listed in the source (this will be the same as the organization if no other specific publisher was listed)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organizationInSource", - "description": "The name of the organization responsible for the datase listed in the source", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organizationLogoInSource", - "description": "A URL to the logo of the organization responsible for the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "license", - "description": "The HASH id of the license the dataset has been published under", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "licenseInSource", - "description": "The license listed in the source", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "licenseUrlInSource", - "description": "A URL describing the license the dataset is made available under", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectInSource", - "description": "The subject listed in the source", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subject", - "description": "The HASH id of the subject or subjects of the dataset", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resources", - "description": "Files associated with the dataset", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DatasetResource", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "The ID used for identifying a specific dataset", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The title of the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "A friendly name for the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description, instructions or notes on the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The url from which the dataset can be downloaded", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "The date/time the database record for the dataset was last updated", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "The date/time the dataset was added to the database", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "The `Boolean` scalar type represents `true` or `false`.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Date", - "description": "", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "ID", - "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DatasetResource", - "description": "A resource or file associated with a dataset", - "fields": [ - { - "name": "id", - "description": "The id of the resource in its source", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "revisionId", - "description": "The revisionId of the dataset this resource was introduced in", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "format", - "description": "The format of the file available under url", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description of the resource", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "describedBy", - "description": "A URL to a file describing the resource", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "describedByType", - "description": "The type of file listed under describedBy", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the resource", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "URL to the resource itself, or its landing page", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "preview", - "description": "A preview of the dataset's first 30 rows (CSV only)", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "size", - "description": "The size of the file", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PublisherCount", - "description": null, - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "count", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ScrapedDatasetFiltersUsed", - "description": null, - "fields": [ - { - "name": "query", - "description": "A text string to search", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publisher", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "published", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "FlagToggle", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "handled", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "FlagToggle", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ignored", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "FlagToggle", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "FlagToggle", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fileFormat", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "FormatFilter", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DatasetFilterValues", - "description": null, - "fields": [ - { - "name": "temporalCoverage", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dataFrequency", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "spatialCoverage", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ExperimentRun", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "A friendly name for the ExperimentRun", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "project", - "description": "The project the experiment is related to.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectPath", - "description": "The full path to the project this experiment is related to", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "packageName", - "description": "The name of the experiment package to run", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ExperimentPackageName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "packageData", - "description": "Contextual data needed by the experiment package, if any", - "args": [], - "type": { - "kind": "OBJECT", - "name": "ExperimentPackageData", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "simPackages", - "description": "Information on which simulation packages to run in this experiment", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SimulationPackageData", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "commit", - "description": "The specific commit this experiment was started from", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "simulationRuns", - "description": "The individual runs within the experiment.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SimulationRun", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "experimentSrc", - "description": "The contents of experiment.json used to generate the experiment.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "simulationFiles", - "description": "The source files needed to run the simulation, including dependencies", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectFile", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "changedProperties", - "description": "[DEPRECATED - use packageData.changedProperties] All the different property\nconfigurations used to generate the individual runs", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sharedBehaviors", - "description": "[DEPRECATED - see simulationFiles instead] If the simulation depends on any\nshared behaviors, they will be provided here in createExperimentRun returns", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectFile", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sharedDatasets", - "description": "[DEPRECATED - see simulationFiles instead] If the simulation depends on any\nshared datasets, they will be provided here in createExperimentRun returns", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectFile", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "When the ExperimentRun was initiated.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "When the ExperimentRun was last updated (e.g. with compute usage).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "usageFinalisedAt", - "description": "When the experiment's cloud compute usage was finalised (usually when the experiment ended)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": "The user that initiated the experiment", - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "computeUsage", - "description": "How much cloud compute time the experiment used (in seconds)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Project", - "description": "A collection of files that might be a simulation, dataset(s), or behavior(s)", - "fields": [ - { - "name": "_id", - "description": "The MongoDB ObjectId of the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "The ID of the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "A friendly name for the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", - "description": "The slug of the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "namespace", - "description": "The namespace the resource belongs to, which represents either a user or an organization", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": "The user or organisation which owns the resource", - "args": [], - "type": { - "kind": "UNION", - "name": "UserOrOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ownerType", - "description": "Whether the owner is a user or an org", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "OwnerTypeName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pathWithNamespace", - "description": "The full path of the resource, including its namespace and path/name, in the format @namespace/path", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "visibility", - "description": "The level of access restriction on the resource", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "VisibilityLevel", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "trusted", - "description": "A status given to some projects", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "size", - "description": "The total size of the project, in bytes", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A short description of the project", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "readme", - "description": "A mirror of README.md from the project repository", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of data model the project relates to", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectTypeName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "archived", - "description": "Whether or not the project is archived (read-only and hidden from search results)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "files", - "description": "The file contents of the project", - "args": [ - { - "name": "withPreview", - "description": "For dataset files - include a preview sample of rows as part of the contents\n(a URL to download the entire file is always provided)", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectFile", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "experiments", - "description": "Experiments run on the project by the user or fellow organisation members", - "args": [ - { - "name": "limit", - "description": "Limit the results to this many experiments", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "createdFrom", - "description": "Limit the results to only experiments created on or after this timestamp", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ExperimentRun", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "history", - "description": null, - "args": [ - { - "name": "createdBefore", - "description": "Limit the results to only experiments created on or before this timestamp", - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "pageToCurrent", - "description": "Ensure the request release of the project is included in results – paging automatically if necessary", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "OBJECT", - "name": "ProjectHistoryReturn", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ref", - "description": "The branch or tag at which this project was requested (if any)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "avatar", - "description": "A URL to an image or video representing the project", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "issues", - "description": "Issues raised against a project", - "args": [ - { - "name": "labels", - "description": "Filter issues by label", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "IssueLabel", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "state", - "description": "Filter issues by state", - "type": { - "kind": "ENUM", - "name": "IssueState", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Issue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contributors", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ContributorInfo", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "issueCount", - "description": "The number of open issues on a project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mergeRequests", - "description": "Merge requests open against a project", - "args": [ - { - "name": "state", - "description": "Filter merge requests by state", - "type": { - "kind": "ENUM", - "name": "MergeRequestState", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MergeRequest", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mergeRequestCount", - "description": "The number of open merge requests on a project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thumbnail", - "description": "Where the project avatar is a video, this is an URL to an image frame from the video to act as a thumbnail or fallback", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": "A URL to a wide-ratio (1.91:1) cover image to promote and illustrate projects", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "keywords", - "description": "Keywords / tags to help users locate the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "license", - "description": "The license the work is made available under", - "args": [], - "type": { - "kind": "OBJECT", - "name": "License", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subject", - "description": "The subject(s) of the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "languageSplit", - "description": "The percentage of behaviors in the project written in each programming\nlanguage (only available in Simulation or Behavior projects with releases -\ncalculation applies to the latest release)", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LanguageSplit", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "languages", - "description": "For behavior releases only, the languages of the released behaviors", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "BehaviorLanguage", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "source", - "description": "The original source of the project (for dataset projects)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "landingPage", - "description": "An external webpage for the dataset or dataset series", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "temporalCoverage", - "description": "The period of time the project covers", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dataFrequency", - "description": "The frequency interval of the datapoints within the project (for datasets)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "spatialCoverage", - "description": "The physical area covered by the project", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forkCount", - "description": "The number of times a project has been forked", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "starCount", - "description": "The number of times a project has been starred", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forkOf", - "description": "What project, if any, this project is a fork of", - "args": [], - "type": { - "kind": "OBJECT", - "name": "ForkOfProject", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgForkPaths", - "description": "The paths of forks of the project the requesting user organization has", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userForkPaths", - "description": "The paths of forks of the project the requesting user has", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userForkCount", - "description": "The number of forks of the project the requesting user has", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dependencies", - "description": "The dependencies listed in a project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Release", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dependents", - "description": "The number of simulations that depend on an item within the listing", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relevance", - "description": "A weighted score of the listing's relevance to a search query", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "popularity", - "description": "A score assigned to the popularity of the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "latestRelease", - "description": "The latest release of the project (if any)", - "args": [], - "type": { - "kind": "OBJECT", - "name": "ReleaseBasic", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "releases", - "description": "All releases of a project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReleaseBasic", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "downloadUrl", - "description": "A temporary URL from which the project can be downloaded as a zip file", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "The date the project was originally created", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "The date the project was last updated", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "canUserEdit", - "description": "Whether or not the logged-in user can edit the project. To do so, one of the following must be true:\n\n1) The user is a site admin OR\n2) The project owner is the user OR\n3) The project owner is an organization to which the user belongs", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "canUserFork", - "description": "Whether or not the logged-in user can fork the project. Projects cannot be\nforked into the namespace they already exist in.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "UserOrOrg", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Org", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "User", - "description": "A registered user of the prototype HASH ecosystem", - "fields": [ - { - "name": "id", - "description": "The unique ID", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "givenName", - "description": "The user's given / first name", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gitId", - "description": "The user's GitLab ID. ", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "additionalName", - "description": "Any additional name(s) the user has", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "familyName", - "description": "The user's family name / surname / last name", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fullName", - "description": "The user's given and family names combined, OR their given name if no family\nname is present, OR their email if no name at all is present", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shortname", - "description": "A unique string identifying the user in HASH", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "role", - "description": "The user's role", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Role", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": "The user's email address", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "telephone", - "description": "The user's telephone number", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "biography", - "description": "A brief description of the user's history / profile", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "location", - "description": "Where the user is geographically based", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "knowsLanguage", - "description": "The language(s) the user knows", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The user's website", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": "An image representing the user / their avatar", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastLogin", - "description": "The start of the user's latest session on HASH", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paymentMethods", - "description": "The user's registered payment methods", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PaymentMethod", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "computeUsageRemaining", - "description": "How many compute seconds the user has remaining this month", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "invoices", - "description": "The user's past invoices", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "upcomingInvoice", - "description": "Outstanding balance on a user's account for which an invoice has not been finalized", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Invoice", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "starredProjects", - "description": "List the paths of projects a user has starred", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "starredProjectsDetails", - "description": "Full details of projects a user has starred, sorted and paginated", - "args": [ - { - "name": "page", - "description": "The page to fetch. 10 projects are returned per page", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "1" - }, - { - "name": "sort", - "description": "How to sort the projects", - "type": { - "kind": "ENUM", - "name": "SortOption", - "ofType": null - }, - "defaultValue": "updatedAt" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UserOrOrgProjectResults", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "archived", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "memberOf", - "description": "Organisations the user belongs to, and their role in each", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrgInfo", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projects", - "description": "Projects belonging to the namespace", - "args": [ - { - "name": "page", - "description": "The page to fetch. 10 projects are returned per page", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "1" - }, - { - "name": "sort", - "description": "How to sort the projects", - "type": { - "kind": "ENUM", - "name": "SortOption", - "ofType": null - }, - "defaultValue": "updatedAt" - }, - { - "name": "types", - "description": "Whether to filter projects by a particular type (e.g. simulation)", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectTypeName", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UserOrOrgProjectResults", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectCount", - "description": "The number of projects belonging to the namespace", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectTypes", - "description": "The type of projects the namespace has available", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectTypeName", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasets", - "description": "Datasets which the user has write access to through ownership or sharing", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Dataset", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "The date/time the user's record was created in the database", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "The date/time the users's record was last modified in the database", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "onboarded", - "description": "[DEPRECATED] Whether or not the user has been through the HASH onboarding tour", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tourProgress", - "description": "The user's progress through the onboarding tour", - "args": [], - "type": { - "kind": "OBJECT", - "name": "TourProgress", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "staffMember", - "description": "Whether the user is a staff member", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "earlyCloudAccess", - "description": "[DEPRECATED] True if the user had early access to the HASH Cloud", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Role", - "description": "The site-wide role the user holds", - "fields": [ - { - "name": "id", - "description": "Role ID", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "Role name", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A longer description of the role", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PaymentMethod", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "brand", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expiry", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last4", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "default", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Invoice", - "description": null, - "fields": [ - { - "name": "number", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "periodStart", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "periodEnd", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "total", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clientSecret", - "description": "For invoices requiring payment, the client secret for the PaymentIntent.\nNeeded in order to process an on-session payment in the client.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SortOption", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "relevance", - "description": "Where a text query is provided, a score representing how well the project's\ntitle, keywords and description match the query", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "popularity", - "description": "Combined view and download count for the project", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "The date the project was last modified", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "The date the project was originally created", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UserOrOrgProjectResults", - "description": null, - "fields": [ - { - "name": "results", - "description": "The requested page of results", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "The total number of available results (of the selected type, if filtered)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": "The page returned", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sort", - "description": "The sort applied", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SortOption", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "types", - "description": "The type filter(s) applied, if any", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectTypeName", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ProjectTypeName", - "description": "The names of possible types of items a project", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Simulation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Dataset", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Behavior", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrgInfo", - "description": null, - "fields": [ - { - "name": "org", - "description": "Information on the organisation", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "role", - "description": "The user's access/permission level for the organization", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Role", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "jobTitle", - "description": "The user's job title in the organization", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Org", - "description": "An organization, company, etc", - "fields": [ - { - "name": "id", - "description": "The unique ID of the organization", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The short name for the organization", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gitId", - "description": "The organization's GitLab ID.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "alternateName", - "description": "Alternate name(s) the organization may be referred to as", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "location", - "description": "Free single-line text to specify organization location (see 'address' for postal address)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "address", - "description": "The physical address(es) of the organization (see 'location' for a single line of free text)", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PostalAddress", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description of the organization", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "legalName", - "description": "The full legal name of the organization", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shortname", - "description": "A unique string identifying the organization in HASH", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parentOrganization", - "description": "The parent organization of this organization, if any", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subOrganization", - "description": "The subsidiaries / child organizations of this organization, if any", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nonProfit", - "description": "Whether the organization is non-profit or not", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "members", - "description": "Users belonging to the organization", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "memberCount", - "description": "The number of users belonging to the organization", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "roles", - "description": "The roles available for members of the org (i.e. permissions over the org)", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Role", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publicMembership", - "description": "Whether the organization's membership is made public or not", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "supportContact", - "description": "A way for HASH users to contact the organization with any questions", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "logo", - "description": "The organization's logo", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "avatar", - "description": "A square avatar representing the organization", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": "Any other images associated with the organization", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The organization's website(s)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projects", - "description": "Projects belonging to the namespace", - "args": [ - { - "name": "page", - "description": "The page to fetch. 10 projects are returned per page", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "1" - }, - { - "name": "sort", - "description": "How to sort the projects", - "type": { - "kind": "ENUM", - "name": "SortOption", - "ofType": null - }, - "defaultValue": "updatedAt" - }, - { - "name": "types", - "description": "Whether to filter projects by a particular type (e.g. simulation)", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectTypeName", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UserOrOrgProjectResults", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectCount", - "description": "The number of projects belonging to the namespace", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectTypes", - "description": "The type of projects the namespace has available", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectTypeName", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "canUserEdit", - "description": "Whether the current user may edit the org", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "When the org's HASH record was last updated", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "When the org was created in HASH", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PostalAddress", - "description": "A physical address of an organization or entity", - "fields": [ - { - "name": "postOfficeBoxNumber", - "description": "The post office box number for PO box addresses.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "streetAddress", - "description": "The street address.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressLocality", - "description": "The locality in which the street address is (e.g. a town)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressRegion", - "description": "The region (e.g. a state, county, or other top-level district in a country", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressCountry", - "description": "The country", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "postalCode", - "description": "The postal code or zip code", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Dataset", - "description": "Metadata on a dataset for use in instantiating agents and other dataset properties", - "fields": [ - { - "name": "id", - "description": "The ID used for identifying a specific dataset", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "A friendly name for the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shortname", - "description": "The complete shortname for the dataset", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filename", - "description": "A filename for the dataset", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "format", - "description": "The format of the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "extension", - "description": "The file extension for the dataset, without period. e.g. 'csv'", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description, instructions or notes on the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subject", - "description": "The subject or subjects of the dataset", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "The url from which the dataset can be downloaded", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "The date/time the database record for the dataset was last updated", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "The date/time the dataset was added to the database", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "source", - "description": "The original source of the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "landingPage", - "description": "An exteral webpage for the dataset or dataset series", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "size", - "description": "The size of the dataset in bytes", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "temporalCoverage", - "description": "The period of time the dataset covers", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "temporalFrequency", - "description": "The frequency interval of the datapoints within the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "spatialCoverage", - "description": "The physical area covered by the dataset", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "preview", - "description": "A preview of the dataset's contents", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Subject", - "description": "The subject of a dataset.", - "fields": [ - { - "name": "id", - "description": "The unique identifier of the subject", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the subject", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "namespace", - "description": "The namespace the resource belongs to, which represents either a user or an organization", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": "The user or organisation which owns the resource", - "args": [], - "type": { - "kind": "UNION", - "name": "UserOrOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ownerType", - "description": "Whether the owner is a user or an org", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "OwnerTypeName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pathWithNamespace", - "description": "The full path of the resource, including its namespace and path/name, in the format @namespace/path", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "visibility", - "description": "The level of access restriction on the resource", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "VisibilityLevel", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "Additional description of the subject", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subTypeOf", - "description": "The subject's direct parent(s)", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ancestors", - "description": "All the subjects which this inherits from (including via its parents)", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "children", - "description": "The direct children of this subject, if any", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forkOf", - "description": "The source this subject was forked from, if any", - "args": [], - "type": { - "kind": "OBJECT", - "name": "SchemaReference", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parentChain", - "description": "A label showing the hierarchy or hierarchies above the subject", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "properties", - "description": "The subject's properties (whether belonging to itself directly, or via one of its ancestors)", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PropertiesBySchema", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "license", - "description": "The license the schema is made available under", - "args": [], - "type": { - "kind": "OBJECT", - "name": "License", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "version", - "description": "Which version of this subject this is.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "relevance", - "description": "A weighted score of the subject's relevance to a search query", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "popularity", - "description": "A score assigned to the popularity of the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "Whether this is a ComplexType, or a primitive DataType", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SubjectType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "canUserEdit", - "description": "Can the requesting user edit this subject?", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "When the subject was created", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "When the subject was last updated", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "OwnerTypeName", - "description": "The type of entity that owns the project", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "User", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Org", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "VisibilityLevel", - "description": "The level of access restriction on the project", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "public", - "description": "Projects can be accessed by anyone", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "private", - "description": "Projects can only be accessed by users who have been granted access (either directly or via group membership)", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SchemaReference", - "description": null, - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "namespace", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "version", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PropertiesBySchema", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "schema", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SchemaReference", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "properties", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Property", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Property", - "description": null, - "fields": [ - { - "name": "id", - "description": "The unique identifier of the subject", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The property name", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "namespace", - "description": "The namespace the resource belongs to, which represents either a user or an organization", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": "The user or organisation which owns the resource", - "args": [], - "type": { - "kind": "UNION", - "name": "UserOrOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ownerType", - "description": "Whether the owner is a user or an org", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "OwnerTypeName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pathWithNamespace", - "description": "The full path of the resource, including its namespace and path/name, in the format @namespace/path", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "visibility", - "description": "The level of access restriction on the resource", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "VisibilityLevel", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description of the property", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "propertyOf", - "description": "The subject(s) the property belongs directly to", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "expectedType", - "description": "The type of property or subject expected in this field", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SchemaReference", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subPropertyOf", - "description": "The superproperty of this property, if any", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SchemaReference", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subProperties", - "description": "The subproperties of this property, if any", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Property", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "supersededBy", - "description": "The property which superseded this property, if any", - "args": [], - "type": { - "kind": "OBJECT", - "name": "SchemaReference", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inverseOf", - "description": "The inverse of this property, if anything", - "args": [], - "type": { - "kind": "OBJECT", - "name": "SchemaReference", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "version", - "description": "Which version of this property this is.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "canUserEdit", - "description": "Can the requesting user edit this property?", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "When the property was created", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "When the property was last updated", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "License", - "description": "A license under which a creative work is made available for viewing or use.", - "fields": [ - { - "name": "id", - "description": "The unique identifier of the license", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "key", - "description": "An additional slug identifier for the license", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the license", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "Additional description of the license", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": "A link to an explanation of the license's terms", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "default", - "description": "Whether the license is the default assigned when publishing to the Index", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nonCore", - "description": "Whether the license is not part of the core list of selectable licenses - it is available for use only if searched for", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "logo", - "description": "A URL for a logo for the license", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Float", - "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SubjectType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "ComplexType", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "DataType", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TourProgress", - "description": null, - "fields": [ - { - "name": "completed", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "version", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastStepViewed", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProjectFile", - "description": "A file in a project repository", - "fields": [ - { - "name": "id", - "description": "A unique identifier within the repo", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The filename", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", - "description": "The full path to the file within the repository", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dependencyPath", - "description": "The path the user refers to this by in their simulation logic.\nIf this is an imported dependency, its full path.\ne.g. in the format @[namespace]/[slug]/[filename.ext]\nFor legacy behavior requests, this will be @[namespace]/[filename.ext]\nFor local datasets/behaviors, the filename.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contents", - "description": "The contents of the file", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "size", - "description": "The size of the file in bytes", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastCommit", - "description": "The id of the last commit that affected the file", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "commit", - "description": "The id of the commit this file is from", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ref", - "description": "The branch or tag this version of the file is from", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "\"The type of file. Only currently implemented for Dataset", - "args": [], - "type": { - "kind": "ENUM", - "name": "ProjectFileType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discoveredSubject", - "description": "The discovered subject of the dataset", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ProjectFileType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Dataset", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Behavior", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProjectHistoryReturn", - "description": null, - "fields": [ - { - "name": "items", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectHistoryItem", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "next", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "remaining", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "receivedCurrent", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProjectHistoryItem", - "description": null, - "fields": [ - { - "name": "itemType", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectHistoryItemType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "item", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "ProjectHistoryItemItem", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ProjectHistoryItemType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Release", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "CommitGroup", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ExperimentRun", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "ProjectHistoryItemItem", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "ReleaseBasic", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "CommitGroup", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ExperimentRun", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "ReleaseBasic", - "description": "Basic information about a release", - "fields": [ - { - "name": "tag", - "description": "The version number", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "The date of the release", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A note accompanying the release (e.g. changes since last version)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "files", - "description": "The files exported from the release (or a subset of them if requested)", - "args": [ - { - "name": "withPreview", - "description": "For dataset files - include a preview sample of rows as part of the contents\n(a URL to download the entire file is always provided)", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectFile", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CommitGroup", - "description": null, - "fields": [ - { - "name": "commits", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Commit", - "description": null, - "fields": [ - { - "name": "id", - "description": "A unique id for the commit", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "message", - "description": "The commit message", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stats", - "description": "Statistics on additions and deletions from the commit", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CommitStats", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "The time at which the commit was created", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CommitStats", - "description": null, - "fields": [ - { - "name": "additions", - "description": "Lines added", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deletions", - "description": "Lines deleted", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "total", - "description": "Total actions", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "IssueLabel", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "bug", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "comment", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "request", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "question", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "IssueState", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "opened", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "closed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Issue", - "description": "An issue raised on a project", - "fields": [ - { - "name": "id", - "description": "The unique identifier of the issue globally", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "iid", - "description": "The unique identifier of the issue within the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The title of the issue", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "author", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description of the issue", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "labels", - "description": "Label(s) representing the issue's type(s)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "IssueLabel", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "state", - "description": "Whether the issue is open or closed", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "IssueState", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "awards", - "description": "Awards (emoji) the issue has received", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Award", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discussions", - "description": "Discussion threads on the issue", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Discussion", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "notesCount", - "description": "Number of comments on the issue", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "closedAt", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "closedBy", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Award", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The name of the award emoji (e.g. \"thumbs-up\")", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "EmojiName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "author", - "description": "The shortname of the awarding user", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "EmojiName", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "thumbsup", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "thumbsdown", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Discussion", - "description": "A discussion thread on an issue or merge request", - "fields": [ - { - "name": "id", - "description": "The unique identifier of the discussion globally", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "notes", - "description": "Notes (comments) in the discussion thread", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Note", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Note", - "description": null, - "fields": [ - { - "name": "author", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "awards", - "description": "Emojis awarded to the note", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Award", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "body", - "description": "The text content of the note", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "When the note was originally created", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "A globally unique id for the note", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "noteableIid", - "description": "The unique identifier of the noteable item within the project (iid)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "noteableType", - "description": "The type of noteable item", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "NoteableTypeName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resolvable", - "description": "Whether or not it is possible to resolve/unresolve a note (Merge Requests only)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resolved", - "description": "For resolvable notes, whether or not it is currently resolved", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resolvedBy", - "description": "The shortname of the user who resolved the note", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "system", - "description": "If the note is system-generated rather than user text content", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "The last time the note was updated", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "NoteableTypeName", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Issue", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MergeRequest", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ContributorInfo", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shortname", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contributions", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ContributionData", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ContributionData", - "description": null, - "fields": [ - { - "name": "commits", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "MergeRequestState", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "opened", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "closed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locked", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "merged", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MergeRequest", - "description": "A request to merge changes into a project branch", - "fields": [ - { - "name": "id", - "description": "The unique identifier of the merge request globally", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "iid", - "description": "The unique identifier of the merge request within the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sourcePath", - "description": "The path of the project the merge request originated from, in the format @namespace/path", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectPath", - "description": "The path of the project the merge request is opened against, in the format @namespace/path", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": "The title of the merge request", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "author", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description of the merge request", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "labels", - "description": "Label(s) representing the merge request's type(s)", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MergeRequestLabel", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "changes", - "description": "The list of files changed as part of the merge request", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FileChange", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "conflicts", - "description": "Conflicts between the source and target branch, if any", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MergeRequestConflict", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "state", - "description": "Whether the merge request is open, closed, or merged", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MergeRequestState", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mergeable", - "description": "Whether or not the merge request may be merged", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hasConflicts", - "description": "Whether or not the merge request has conflicts", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "workInProgress", - "description": "Whether or not the merge request is marked as draft ", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "awards", - "description": "Awards (emoji) the merge request has received", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Award", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "discussions", - "description": "Discussion threads on the merge request", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Discussion", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "notesCount", - "description": "Number of comments on the merge request", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "closedAt", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "closedBy", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mergedAt", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mergedBy", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "MergeRequestLabel", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "bugfix", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "feature", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "enhancement", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FileChange", - "description": null, - "fields": [ - { - "name": "deletedFile", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "diff", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "newFile", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "newPath", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "oldPath", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aMode", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "bMode", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "renamedFile", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MergeRequestConflict", - "description": null, - "fields": [ - { - "name": "filePath", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "diff", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LanguageSplit", - "description": "The languages in use in the project as of the latest release", - "fields": [ - { - "name": "language", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "BehaviorLanguage", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "percentage", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "BehaviorLanguage", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "JavaScript", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Python", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Rust", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ForkOfProject", - "description": null, - "fields": [ - { - "name": "path", - "description": "Project slug", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "namespace", - "description": "The namespace the project belongs to", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pathWithNamespace", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Release", - "description": "A release of specific files from a project, with a version tag", - "fields": [ - { - "name": "id", - "description": "An id for the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "A friendly name for the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", - "description": "The slug/shortname of the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "visibility", - "description": "The visibility of the project", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "VisibilityLevel", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "namespace", - "description": "The namespace the project belongs to, which represents either a user or an organization", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of project this release relates to", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectTypeName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pathWithNamespace", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": "A description of the release", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tag", - "description": "The specific release tag/version these files relate to", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "The date this version was released", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "files", - "description": "The files exported from the release (or a subset of them if requested)", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectFile", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "latestReleaseTag", - "description": "Provides the tag from the most recent release", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "latestCreatedAt", - "description": "The date of the latest release", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "canUserEdit", - "description": "Whether or not the logged-in user can edit the release's source project. To do so, one of the following must be true:\n\n1) The user is a site admin OR\n2) The project owner is the user OR\n3) The project owner is an organization to which the user belongs", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ExperimentPackageName", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "simple", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "single", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "optimization", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ExperimentPackageData", - "description": null, - "fields": [ - { - "name": "changedProperties", - "description": "The properties changed in an experiment (if known on creation)", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metricName", - "description": "For optimization experiments, the metric to optimize for", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metricObjective", - "description": "For optimization experiments, the objective for the metric", - "args": [], - "type": { - "kind": "ENUM", - "name": "MetricObjective", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxRuns", - "description": "The maximum number of runs to try in an experiment", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxSteps", - "description": "The maximum number of steps a run should go for", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "minSteps", - "description": "The minimum number of steps a run should go for before being terminated", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "initialPoints", - "description": "For optimization experiments, combinations of parameter values to use for the first runs.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": "For optimization experiments, the fields to explore as hyperparameters", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OptimizationField", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "MetricObjective", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "max", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "min", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OptimizationField", - "description": null, - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "range", - "description": "A range of values to explore", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "values", - "description": "Discrete values to explore", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSON", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "distribution", - "description": "A distribution of values to explore", - "args": [], - "type": { - "kind": "ENUM", - "name": "DistributionName", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mean", - "description": "For normal distribution", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "std", - "description": "For normal distribution", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "alpha", - "description": "For beta distribution", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "beta", - "description": "For beta distribution", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mu", - "description": "For logNormal distribution", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sigma", - "description": "For logNormal distribution", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "rate", - "description": "For poisson distribution", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "shape", - "description": "For gamma distribution", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scale", - "description": "For gamma distribution", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "JSON", - "description": "", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "DistributionName", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "normal", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "logNormal", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "poisson", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "beta", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gamma", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SimulationPackageData", - "description": null, - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "data", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SimulationRun", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "propertyValues", - "description": "The specific property values different in this SimulationRun compared to the\nothers in the ExperimentRun. Will be null if this was a single-run experiment.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "propertiesSrc", - "description": "[DEPRECATED] - obsolete null value", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "An optional name to help identify the SimulationRun", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "metricOutcome", - "description": "For optimization experiments, the value of the metric of interest at the end of this run", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "s3Key", - "description": "The folder in s3 this run's output is stored in, in the hash-experiments bucket", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "experimentRun", - "description": "the ExperimentRun this is a part of", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ExperimentRun", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectPath", - "description": "The path to the project this run is associated with", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "commit", - "description": "The commit this run's source code can be found at", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "files", - "description": "[DEPRECATED - use ExperimentRun.simulationFiles] The source code used to generate this run", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectFile", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stepsLink", - "description": "URL to retrieve the JSON files containing steps data", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "analysisLink", - "description": "URL to retrieve the JSON files containing analysis data", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "When the SimulationRun was initiated.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "When the SimulationRun was last updated (e.g. to be renamed)", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ExperimentPlan", - "description": null, - "fields": [ - { - "name": "plan", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "definition", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Keyword", - "description": "A keyword used to tag an item in the Index to indicate its theme, content, subject matter, etc", - "fields": [ - { - "name": "name", - "description": "The keyword itself", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "count", - "description": "How many times the keyword appears across all Index listings", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PolyModel", - "description": "A 3D Object for use in visualizing simulations", - "fields": [ - { - "name": "slug", - "description": "The unique slug for the 3D model", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "folderPath", - "description": "The path to the folder all the model assets are stored in", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "resourceUrls", - "description": "Urls for resource files making up the 3D model", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "OldProjectType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Simulation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "IndexListing", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SpecialProjectType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Onboarding", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Example", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Featured", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SearchableTypeName", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Simulation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Dataset", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Behavior", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Schema", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProjectSearchResults", - "description": null, - "fields": [ - { - "name": "results", - "description": "The results for the query, limited to the request page", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "SearchableType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "perPage", - "description": "The number of results requested", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": "The page requested", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "totalCount", - "description": "The total number of listings matching the query", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sort", - "description": "The field by which the results have been sorted", - "args": [], - "type": { - "kind": "ENUM", - "name": "SortOption", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "SearchableType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Project", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "GitHubScraper", - "description": null, - "fields": [ - { - "name": "createdAt", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "creator", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "files", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GitHubScraperFile", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "frequency", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ScraperFrequency", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastCheckedAt", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastReleaseAt", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "namespace", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "repoPath", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "ScraperStatus", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GitHubScraperFile", - "description": null, - "fields": [ - { - "name": "fileDownloadUrl", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filepathInRepo", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filenameInHASH", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "nameInHASH", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ScraperFrequency", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "daily", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "weekly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "monthly", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ScraperStatus", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "active", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "error", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "paused", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Source", - "description": null, - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "url", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publisher", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ProjectTypeFilter", - "description": "Whether to filter a response by a particular project type, or all projects", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Simulation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Dataset", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Behavior", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "All", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "UserSortOption", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "createdAt", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastLogin", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectCount", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "role", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SortDirection", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Asc", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Desc", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UsersResult", - "description": null, - "fields": [ - { - "name": "totalCount", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "users", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "page", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sort", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "UserSortOption", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sortDirection", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SortDirection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "filter", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "SourceTypeName", - "description": "An enum of possible source types.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "mapbox", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "bigquery", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mongodb", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "snowflake", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "elasticsearch", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "s3", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Integration", - "description": "An integration for connecting to other data sources and APIs.\nConsists of _exactly one_ source configuration (host, port, database, etc) and _exactly one_ credential.\nCan be owned by either a user or an organization.\nIf owned by an organization, only an admin can modify it, but any member of the organization can access it.", - "fields": [ - { - "name": "id", - "description": "The ObjectId of the integration in MongoDB.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The user-defined name of the integration. Any given owner-name-type combination must be unique.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of source that this is an integration for. Currently only Mapbox. Later BigQuery, Snowflake etc.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SourceTypeName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credentialId", - "description": "The ObjectId of the attached credential for this integration.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ownerId", - "description": "The ObjectId of the owner of this integration.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": "The owner itself -- either a user or an organization. Could theoretically be a simulation project itself in the future.", - "args": [], - "type": { - "kind": "UNION", - "name": "UserOrOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "authorization", - "description": "Authorization information for this credential. Only relevant to the availableIntegrations endpoint,\nwhere it contains information about when and how a user gave authorization for an integration to be used in a project.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Authorization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "source", - "description": "Source configuration information for this integration. Hostnames, databases, etc.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SubSource", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Authorization", - "description": "An authorization for an integration to be used by a project.", - "fields": [ - { - "name": "grantedAt", - "description": "When the authorization was initially granted.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "grantedBy", - "description": "The user that initially granted the authorization.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lastAuthorized", - "description": "A map of user IDs to: {\n date: Date!\n asName: String!\n}\nTo be used for finding the authorized integration the user is currently using for simulation runs.\ni.e., for a given user/project/required-integration-name combination, whichever authorization was used most\nrecently is the one the user is using. Hit the permitIntegration endpoint to update a\ncombination to the most recently used.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SubSource", - "description": "Source configuration information for an integration of a specific type.", - "fields": [ - { - "name": "id", - "description": "The ID of the source. ", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "A user-defined nickname for the source. Any given owner-name-type combination must be unique.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of configuration. Currently only mapbox.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SourceTypeName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ownerId", - "description": "The ID of the owner of this source.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": "The owner itself. An organization or user. ", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "UserOrOrg", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "configuration", - "description": "The type-specific source information. ", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "SourceType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "allowedCredentials", - "description": "A list of the types of credentials that are compatible with this source.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CredentialType", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "SourceType", - "description": "A union of all possible configuration types.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Mapbox", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "BigQuery", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "MongoDB", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Snowflake", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ElasticSearch", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "S3", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Unknown", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Mapbox", - "description": "Configuration information for Mapbox.", - "fields": [ - { - "name": "baseUrl", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "BigQuery", - "description": "Configuration information for Google BigQuery.", - "fields": [ - { - "name": "url", - "description": "The base URL to query against. Example: https://bigquery.googleapis.com/bigquery/v1/projects/some-project-id/queries\nIf not specified, will be literally https://bigquery.googleapis.com/bigquery/v1/projects/$projectId/queries.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectId", - "description": "The ID of the _Google Cloud_ project (no relation to HASH project IDs).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "datasetId", - "description": "The ID of the _Google Cloud_ dataset that will be queried.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "query", - "description": "Optional. If not specified here, must be specified in the transformation that uses it.\nSome valid SQL statement to use when querying the dataset. \nShould be in a format that runs successfully in Google's query editor. Example:\n\"#standardSQL\\nSELECT\\n growth.country_name,\\n growth.net_migration,\\n \nCAST(area.country_area AS INT64) AS country_area\\nFROM (\\n SELECT\\n \ncountry_name,\\n net_migration,\\n country_code\\n FROM\\n \n`bigquery-public-data.census_bureau_international.birth_death_growth_rates`\\n \nWHERE\\n year = 2020) growth\\nINNER JOIN (\\n SELECT\\n country_area,\\n \ncountry_code\\n FROM\\n \n`bigquery-public-data.census_bureau_international.country_names_area`)\narea\\nON\\n growth.country_code = area.country_code\\nORDER BY\\n net_migration DESC\",", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "useLegacySql", - "description": "Optional. If not specified here, must be specified in the transformation that uses it.\nWhether the query is using Legacy SQL features. Almost invariably false, and the user will likely know if it isn't.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MongoDB", - "description": "Configuration information for MongoDB.", - "fields": [ - { - "name": "store", - "description": "Base database configuration information (host, port, et cetera).", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Datastore", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "replicaSet", - "description": "Optional. The name of the replica set.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "authenticationDatabase", - "description": "Optional. The name of the authentication database. Defaults to admin or $external depending on linked credentials.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "authenticationMechanism", - "description": "Optional. The authentication mechanism to use. Default depends on linked credentials.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Datastore", - "description": "Composition-over-inheritance type for common configuration fields for databases.", - "fields": [ - { - "name": "servers", - "description": "The host and port of the server(s) to connect to.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Server", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "database", - "description": "The name of the database to connect to.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "options", - "description": "Connection string options for this specific connection. Example: timezone=UTC&batchInsert=False", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "version", - "description": "Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Server", - "description": "An individual server for an integration.", - "fields": [ - { - "name": "host", - "description": "The host uri. Examples: 127.0.0.1 or https://localhost or mymongoserver.example.com.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "port", - "description": "The port. ", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Snowflake", - "description": "Configuration information for Snowflake.", - "fields": [ - { - "name": "accountName", - "description": "The Snowflake account name. Example: if the Snowflake URL for the user is mycompany.snowflakecomputing.com,\nthe value here would just be 'mycompany'.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "warehouse", - "description": "The warehouse name.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "database", - "description": "The database name.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "schema", - "description": "The name of the schema. This is the schema as understood by Snowflake, and is not related to HASH schemas.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "query", - "description": "Optional. If not specified here, must be specified in the transformation that uses it.\nSome valid SQL statement to use when querying the store. ", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "role", - "description": "Optional. The role to use.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ElasticSearch", - "description": "Configuration information for ElasticSearch.", - "fields": [ - { - "name": "version", - "description": "Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "indexName", - "description": "Optional. The name of the index to query against.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "query", - "description": "Optional. If not specified here, must be specified in the transformation that uses it. \nThe query JSON to run. Example: \"{\"query\":{\"match_all\":{}}}\"", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "server", - "description": "Server information for the elasticsearch cluster. ", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Server", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "S3", - "description": "Configuration information for an S3 bucket.", - "fields": [ - { - "name": "bucket", - "description": "The name of the bucket.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "key", - "description": "The object key or object key pattern. Example: if the S3 URI is\ns3://hash-terraform-state-s3-backend/base/terraform.tfstate,\nthe key is \"base/terraform.tfstate\", and a matching pattern could be \"base/*.tfstate\".", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "region", - "description": "The AWS region the bucket is located in. Example: us-east-1.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "format", - "description": "The format of the source file.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "FileFormat", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "FileFormat", - "description": "An enum of possible file types in S3 (or in the future other object storage services)", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "csv", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "json", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "parquet", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Unknown", - "description": "A type that could not be determined.", - "fields": [ - { - "name": "unknown", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "CredentialType", - "description": "An enum of the names of all accepted secret types.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "token", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "googleserviceaccount", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userpass", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ldap", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "kerberos", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "x509", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "aws", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FullIntegration", - "description": "An integration including the secret itself of the linked credential. Only accessible through the integration endpoint.", - "fields": [ - { - "name": "id", - "description": "The ObjectId of the integration in MongoDB.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The user-defined name of the integration. Any given owner-name-type combination must be unique.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of source that this is an integration for. Currently only Mapbox. Later BigQuery, Snowflake etc.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SourceTypeName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credentialId", - "description": "The ObjectId of the attached credential for this integration.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "credential", - "description": "The credential itself. This _WILL_ contain the secret itself if requested by an authorized entity. (!)", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Credential", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ownerId", - "description": "The ObjectId of the owner of this integration.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "owner", - "description": "The owner itself -- either a user or an organization. Could theoretically be a simulation project itself in the future.", - "args": [], - "type": { - "kind": "UNION", - "name": "UserOrOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "authorization", - "description": "Authorization information for this credential. Currently only relevant to the availableIntegrations endpoint,\nwhere it contains information about when and how a user gave authorization for an integration to be used in a project.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Authorization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "source", - "description": "Source configuration information for this integration. Hostnames, databases, etc.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SubSource", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Credential", - "description": "A credential for accessing an integration.", - "fields": [ - { - "name": "name", - "description": "User-defined name of the credential. Any given pair of owner ID and name must be unique.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": "The type of credential to store. Currently only supports persistent tokens. Later GCP credentials, keytabs, etc.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CredentialType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "secret", - "description": "The credential itself. Currently only supports persistent tokens. Later GCP credentials, keytabs, etc.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "SecretType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ownerId", - "description": "The ID of the owning entity -- either a User or an Organization.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": "When the credential was created.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": "When the credential was last updated.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedBy", - "description": "The user that last altered the credential.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "SecretType", - "description": "A union type for all accepted secret types.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Token", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "GoogleServiceAccount", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "UserPass", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "LDAP", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Kerberos", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "AWS", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "X509", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Token", - "description": "A secret type for persistent (non-expiring) tokens.", - "fields": [ - { - "name": "accessToken", - "description": "A string of the token itself.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GoogleServiceAccount", - "description": "A resolved secret type for Google Cloud service account credentials.\nThe key names differ from the conventional format because they are aligned with those of GCP.", - "fields": [ - { - "name": "type", - "description": "The type of account. Must be \"service_account\".", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "project_id", - "description": "The project ID. Typically matches the project ID of the source it is used with.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "private_key_id", - "description": "The ID of the private key for the account.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "private_key", - "description": "The private key itself.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "client_email", - "description": "The email address associated with the service account.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "client_id", - "description": "The ID of the client.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "auth_uri", - "description": "The URI of the authentication endpoint.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "token_uri", - "description": "The URI of the token endpoint.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "auth_provider_x509_cert_url", - "description": "The endpoint for x509 certification.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "client_x509_cert_url", - "description": "The client x509 certification url.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UserPass", - "description": "A static username and password.", - "fields": [ - { - "name": "username", - "description": "The username.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "password", - "description": "The password.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LDAP", - "description": "LDAP authentication information. Depending on configuration, the username may be of a\ntemplated format like alice@place.example.com, or the literal distinguished name\nof a format like cn=admin,dc=example,dc=com", - "fields": [ - { - "name": "username", - "description": "The username.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "password", - "description": "Optional. The password.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "distinguishedName", - "description": "The full distinguished name. Example: 'CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM'", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Kerberos", - "description": "Kerberos authentication information.", - "fields": [ - { - "name": "realm", - "description": "The name of the realm. Example: UPENN.EDU", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "kdcAddresses", - "description": "The location of the kdc server(s). Example: [\"kerberos1.upenn.edu\", \"kerberos2.upenn.edu\", \"kerberos3.upenn.edu\"]", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "principal", - "description": "The fully qualified principal name. Example: bob@UPENN.EDU", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userKey", - "description": "The serialized keytab file and/or password for this principal.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AWS", - "description": "AWS authentication information. This is the _only_ accepted way to use AWS authorization.\nSee: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html", - "fields": [ - { - "name": "externalId", - "description": "A unique ID generated by the user to be used as a password/key when assuming the IAM role. \nSee https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html for more information.\nThis should be generated in-browser with instructions/links for the user to follow to set this up.\nThis key will never be shown to the user again, so warn them to properly set it up first.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "roleArn", - "description": "The Amazon Resource Name of the role to use. This role must have access to whatever resources it needs.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "useSessionToken", - "description": "Whether to include a temporary session token in requests.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "X509", - "description": "X.509 (TLS and/or SSL) authentication information. This is for the fairly niche case where the source requires\nHTTPS communication, but is using its own self-signing certificate authority. ", - "fields": [ - { - "name": "certificateKeyFilePem", - "description": "The x.509 PEM file for the client to use.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "certificateAuthorityFile", - "description": "The Certificate Authority file to trust, that signed both the client and the target instance's certificates.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Upload", - "description": "", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ResolvedIntegration", - "description": "The full resolved integration for a project.", - "fields": [ - { - "name": "name", - "description": "The shortname of the integration referred to in the project.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integration", - "description": "The integration itself.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FullIntegration", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Mutation", - "description": "The mutation operations available in this schema", - "fields": [ - { - "name": "registerEvent", - "description": "[DEPRECATED] Register an occurence of an event", - "args": [ - { - "name": "action", - "description": "The name of the action taken", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "EventAction", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "label", - "description": "A label for the event", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "context", - "description": "Any additional context about the event", - "type": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "registerEvents", - "description": "Register an occurence of events", - "args": [ - { - "name": "actions", - "description": "The actions to register", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "AnalyticEvent", - "ofType": null - } - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clearCache", - "description": "Clear all cached data", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "snapshot", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "promoteToLive", - "description": "Promote a version to production", - "args": [ - { - "name": "stamp", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteCredential", - "description": "Delete an existing credential.", - "args": [ - { - "name": "id", - "description": "The ID of the credential to delete.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addDataset", - "description": "Create an entry in the database for the dataset and request a signed URL for uploading the file", - "args": [ - { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DatasetCreationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DatasetInit", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateDataset", - "description": "Update the dataset's metadata", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DatasetUpdateInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Dataset", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addDatasetToProject", - "description": "Add a dataset to a project.", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "projectPath", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "rawCsv", - "description": "[DEPRECATED - ALL CSVS ARE FLAGGED AS RAW]. Whether the dataset you're\nuploading is a raw CSV file, or if it has been parsed to JSON already.", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "exported", - "description": "Should the dataset you're uploading be marked as exported immediately", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "removeDatasetFromProject", - "description": "Remove a dataset from a project", - "args": [ - { - "name": "filename", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "projectPath", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateDatasetName", - "description": "Update the name of a dataset in a project", - "args": [ - { - "name": "filename", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "projectPath", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publishDataset", - "description": "Publish a dataset from the dataset approval queue (admin only)", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DatasetPublishInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ScrapedDataset", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "setDatasetStatus", - "description": "Ignore or un-ignore a scraped dataset (for approval queue filtering)", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "ignored", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ScrapedDataset", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addAndReleaseDataset", - "description": "Internal and system accounts only -- link and release an already persisted dataset.\nIncludes discovered schema only if it has changed.", - "args": [ - { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DatasetRelease", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "discoveredSchema", - "description": null, - "type": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UpdateAndReleaseReturn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createDiscussion", - "description": "Create a discussion note on a 'noteable' (e.g. an issue or merge request)", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the noteable item is in, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableIid", - "description": "The unique identifier of the noteable item within the project (iid)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableType", - "description": "The type of noteable item", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "NoteableTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "body", - "description": "The text of the note", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "state", - "description": "To optionally close or re-open the noteable after commenting", - "type": { - "kind": "ENUM", - "name": "StateEvent", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "NoteableType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createDiscussionReply", - "description": "Add a reply to a discussion thread", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the noteable item is in, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableIid", - "description": "The unique identifier of the noteable item within the project (iid)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableType", - "description": "The type of noteable item", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "NoteableTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "discussionId", - "description": "The id of the discussion thread", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "body", - "description": "The text of the reply", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Discussion", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "editNote", - "description": "Edit a note/comment", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the issue is in, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableIid", - "description": "The unique identifier of the noteable item within the project (iid)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableType", - "description": "The type of noteable item", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "NoteableTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteId", - "description": "The identifier of the note", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "body", - "description": "The text of the note", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "resolved", - "description": "Set the resolved status of the note", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Note", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateDiscussionStatus", - "description": "Resolve or unresolve an entire discussion thread", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the noteable item is in, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "mergeRequestId", - "description": "The unique identifier of the merge request", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "discussionId", - "description": "The id of the discussion thread", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "resolved", - "description": "Whether the thread should be resolved, or not", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Discussion", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "awardEmojiToNote", - "description": "Awards an emoji to a note", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the noteable is in, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableIid", - "description": "The unique identifier of the noteable item within the project (iid)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableType", - "description": "The type of noteable item", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "NoteableTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteId", - "description": "The identifier of the note on the issue", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The award type", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "EmojiName", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Note", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "removeEmojiFromNote", - "description": "Removes an emoji from a note", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the noteable is in, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableIid", - "description": "The unique identifier of the noteable item within the project (iid)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableType", - "description": "The type of noteable item", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "NoteableTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteId", - "description": "The unique identifier of the note", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "awardId", - "description": "The unique identifier of the award", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Note", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "awardEmojiToNoteable", - "description": "Awards an emoji to an item that can receive comments (e.g. a merge request issue)", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the issue is in, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableIid", - "description": "The unique identifier of the noteable item within the project (iid)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableType", - "description": "The type of noteable item", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "NoteableTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The award type", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "EmojiName", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "NoteableType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "removeEmojiFromNoteable", - "description": "Remove an emoji from an item that can receive comments (e.g. a merge request issue)", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the issue is in, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableIid", - "description": "The unique identifier of the noteable item within the project (iid)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "noteableType", - "description": "The type of noteable item", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "NoteableTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "awardId", - "description": "The identifier of the award", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "NoteableType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createExperimentRun", - "description": "Creates an ExperimentRun with a name - looks up the experiment name from the repo's experiments.json, and then:\n (1) for each necessary run in the experiment, applies the changed properties to the\n Simulation repository in a new commit\n (2) constructs an s3 folder to save the output of the SimulationRun to.\n format: [userId]/[experimentRunId]/[simulationRunId]\n\nEach SimulationRun has an s3Key indicating where its data is/should be saved.\n\ns3 Bucket: hash-experiments\n\nA single SimulationRun experiment using an exact copy of the referenced\nsimulation can be created by passing singleRun: true", - "args": [ - { - "name": "name", - "description": "The name of the experiment to be run (as defined in the simulation's experiments.json)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "projectPath", - "description": "The path to the simulation project to run this experiment on.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "ref", - "description": "A commit, tag or branch to run the experiment at. Defaults to 'main'. The\navailable experiment definitions will be determined by the contents of\nexperiments.json at this reference", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "packageName", - "description": "The experiment package to run. Defaults to 'simple'", - "type": { - "kind": "ENUM", - "name": "ExperimentPackageName", - "ofType": null - }, - "defaultValue": "simple" - }, - { - "name": "createRuns", - "description": "[DEPRECATED - IGNORED] Whether or not to immediately create records for\nSimulationRuns under this experiment. If false, createSimulationRun must be\ncalled for each run, to create a record of each run.", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - }, - { - "name": "singleRun", - "description": "[DEPRECATED] DO NOT USE", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ExperimentRunInitialData", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createSimulationRun", - "description": null, - "args": [ - { - "name": "id", - "description": "The id of the ExperimentRun to associate the SimulationRun with", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "propertyValues", - "description": "The property values in globals.json this experiment will vary", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SimulationRunInitialData", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reportComputeUsage", - "description": "Report cloud compute usage for an ExperimentRun. Multiple reports may be made\nto update the usage count, until the report is finalised", - "args": [ - { - "name": "id", - "description": "The id of the ExperimentRun to report usage for", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "usage", - "description": "The compute seconds this ExperimentRun has used so far (cumulative)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "finalise", - "description": "Whether to finalise the usage report for this ExperimentRun", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ExperimentRun", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateExperimentRun", - "description": "Provide a name for a experiment run", - "args": [ - { - "name": "id", - "description": "The id of the ExperimentRun", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ExperimentRun", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateSimulationRun", - "description": "Provide a name or the outcome for a simulation run", - "args": [ - { - "name": "id", - "description": "The id of the SimulationRun", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": "A friendly name for the run", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "metricOutcome", - "description": "The outcome of the metric of interest", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SimulationRun", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteExperimentRun", - "description": "Deletes an experiment run and each simulation run within it, including the\nstored output and the immutable simulation variants used in the experiment.\nDoes not delete the original simulation that the experiment was called from.", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteSimulationRun", - "description": "Deletes a simulation run, including the stored output and the immutable\nsimulation variant used to produce the run. Does not delete the original\nsimulatiton the experiment was based on, nor other simulation runs in the same\nexperiment. Returns the updated ExperimentRun without the deleted SimulationRun.", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ExperimentRun", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "setComputeUsage", - "description": "Set computeUsageRemaining for a user", - "args": [ - { - "name": "shortname", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "amount", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createIssue", - "description": "Create an issue on a project", - "args": [ - { - "name": "projectPath", - "description": "The path of the project to raise the issue on, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "title", - "description": "Title of the issue", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "A description of the issue", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "labels", - "description": "The label(s)/types(s) of issue", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "IssueLabel", - "ofType": null - } - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Issue", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "editIssue", - "description": "Edit a project issue", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the issue is in, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "issueId", - "description": "The identifier of the issue", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "The description of the issue", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title", - "description": "The title of the issue", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "labels", - "description": "The label(s)/type(s) of issue", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "IssueLabel", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "state", - "description": "To close or reopen an issue", - "type": { - "kind": "ENUM", - "name": "StateEvent", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Issue", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createMergeRequest", - "description": "Create an merge request", - "args": [ - { - "name": "projectPath", - "description": "The path of the project to request changes are merged into, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "sourcePath", - "description": "The path of the project to create the request from, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "title", - "description": "Title of the merge request", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "A description of the merge request", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "labels", - "description": "The label(s)/types(s) of merge request", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MergeRequestLabel", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MergeRequest", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "editMergeRequest", - "description": "Edit a project merge request", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the merge request is opened against, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "mergeRequestId", - "description": "The identifier of the merge request", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "The description of the merge request", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "title", - "description": "The title of the merge request", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "labels", - "description": "The label(s)/type(s) of merge request", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "MergeRequestLabel", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "state", - "description": "To close or reopen a merge request", - "type": { - "kind": "ENUM", - "name": "StateEvent", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MergeRequest", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "acceptMergeRequest", - "description": "Accept a merge request and merges its changes in", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the merge request is opened against, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "mergeRequestId", - "description": "The identifier of the merge request", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "commitMessage", - "description": "An optional commit message for the merge commit", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MergeRequest", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "commitConflictsToMergeRequest", - "description": "Adds git conflicts as a separate commit to be resolved in hCore", - "args": [ - { - "name": "projectPath", - "description": "The path of the project the merge request is opened against, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "sourcePath", - "description": "The path of the project the merge request is sourced from, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "mergeRequestId", - "description": "The identifier of the merge request", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MergeRequest", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addOrg", - "description": "Add an organization, under a 'data' key, as an object following the shape defined by type OrgInput", - "args": [ - { - "name": "data", - "description": "The organization data to add", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "OrgInput", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "addCreator", - "description": "Whether or not to add the creating user as an org admin (can only be set false by site admins)", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "true" - } - ], - "type": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateOrg", - "description": "Update a specific organization, identified by the ID provided under the 'id'\nkey, with the fields to be added or updated under 'data'", - "args": [ - { - "name": "orgId", - "description": "The ID of the organization to update", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "data", - "description": "The fields to be added or updated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "OrgInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteOrg", - "description": "Delete a specific organization, identified by the ID provided under the\n'orgId' key. User be an admin of the organization Returns true if successful.", - "args": [ - { - "name": "orgId", - "description": "The ID of the organization to delete", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addUserToOrg", - "description": "Adds a user to an organization.", - "args": [ - { - "name": "orgId", - "description": "The ID of the organization to add the user to", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "userId", - "description": "The ID of the user to add to the org", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "roleId", - "description": "The ID of the role to assign the user for this organization", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "jobTitle", - "description": "The user's title in the organization", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "removeUserFromOrg", - "description": "Removes a user from an organization.", - "args": [ - { - "name": "orgId", - "description": "The ID of the organization to remove the user from", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "userId", - "description": "The ID of the user to add to the org", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "removeMeFromOrg", - "description": "Remove yourself from an organization.", - "args": [ - { - "name": "orgId", - "description": "The ID of the organization to remove yourself from", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateMyJobTitle", - "description": "Update your job title in an organiization", - "args": [ - { - "name": "orgId", - "description": "The ID of the organization to update your job title for", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "jobTitle", - "description": "Your job title for this organization", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateUserOrgRole", - "description": "Update a user's role in an organization.", - "args": [ - { - "name": "orgId", - "description": "The ID of the organization to update the user's role in", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "userId", - "description": "The ID of the user to update the role of", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "roleId", - "description": "The ID of the new role to assign the user for this organization", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "jobTitle", - "description": "The user's title in the organization", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Org", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createProject", - "description": "Create a new project. Defaults to creating it in the current user's namespace if no other namespace is provided.", - "args": [ - { - "name": "name", - "description": "A display name for the project, unique in its namespace (case sensitive)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "path", - "description": "A slug for the project, unique in its namespace", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "The organizational namespace to create the project in. If omitted, the\nproject will be created in the current user's namespace", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "The type of project to create", - "type": { - "kind": "ENUM", - "name": "ProjectTypeName", - "ofType": null - }, - "defaultValue": "Simulation" - }, - { - "name": "visibility", - "description": "The level of access restriction on the project", - "type": { - "kind": "ENUM", - "name": "VisibilityLevel", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description", - "description": "A short description for the project, to appear in search results", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "licenseId", - "description": "The id of a predefined license to make the project available under. For a custom license, add a commit with LICENSE.md", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "actions", - "description": "A commit to apply immediately after a project is created. If the commit fails, the project will be deleted", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CommitAction", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "message", - "description": "A message to accompany the initial commit (defaults to 'Initial commit')", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createCommit", - "description": "Create a commit in a project's repository", - "args": [ - { - "name": "projectPath", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "message", - "description": "A message to accompany the commit", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "actions", - "description": "A list of commit actions", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CommitAction", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "accessCode", - "description": "Access token to use if user does not have write permissions.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "CreateCommitReturn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createRelease", - "description": "Creates a release of the project", - "args": [ - { - "name": "projectPath", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "tag", - "description": "The version number for the release", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "An optional description / change note for the release", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReleaseBasic", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteProject", - "description": "Deletes a project", - "args": [ - { - "name": "projectPath", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forkProject", - "description": "Fork a project into another namespace, optionally renaming it", - "args": [ - { - "name": "projectPath", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "The organizational namespace to fork the project in. If omitted, the project\nwill be forked in the current user's namespace", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "path", - "description": "The path (slug) to assign to the fork. If omitted, the current path will be used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The display name to assign to the fork. If omitted, the current name will be used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "ref", - "description": "An optional tag or ref to fork the project at (this will reset the forked project to the relevant commit)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "asBehavior", - "description": "If the forked project should be set as a behavior project", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateProject", - "description": "Update a project's metadata", - "args": [ - { - "name": "projectPath", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "data", - "description": "The update object", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ProjectUpdate", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "commitMessage", - "description": "An optional commit message for use in any commit generated by the update", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateAndRelease", - "description": "Updates a project's metadata and then creates a release from the updated\nproject. A wrapper around the separate 'updateProject' and 'release'\nmutations, guaranteeing update before release.", - "args": [ - { - "name": "projectPath", - "description": "The full path of the project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "update", - "description": "The update object", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ProjectUpdate", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "commitMessage", - "description": "An optional commit message for use in any commit generated by the update", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "tag", - "description": "The version number for the release", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "An optional description / change note for the release", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UpdateAndReleaseReturn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forkAndUpdate", - "description": "Forks a project and then applies an update. A wrapper around the separate\n'forkProject' and 'updateProject' mutations. If the update fails, the fork\nwill be deleted", - "args": [ - { - "name": "projectPath", - "description": "The full path of the source project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "The organizational namespace to fork the project in. If omitted, the project\nwill be forked in the current user's namespace", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "path", - "description": "The path (slug) to assign to the fork. If omitted, the current path will be used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The display name to assign to the fork. If omitted, the current name will be used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "update", - "description": "The update object", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ProjectUpdate", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "commitMessage", - "description": "An optional commit message for use in any commit generated by the update", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "ref", - "description": "An optional tag or ref to fork the project at (this will reset the forked project to the relevant commit)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forkAndCommit", - "description": "Forks a project and then applies a commit. A wrapper around the separate\n'forkProject' and 'createCommit'. If the commit fails, the fork will be deleted.", - "args": [ - { - "name": "projectPath", - "description": "The full path of the source project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "The organizational namespace to fork the project in. If omitted, the project\nwill be forked in the current user's namespace", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "path", - "description": "The path (slug) to assign to the fork. If omitted, the current path will be used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The display name to assign to the fork. If omitted, the current name will be used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "commitMessage", - "description": "The commit message", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "actions", - "description": "A list of commit actions", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CommitAction", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "ref", - "description": "An optional tag or ref to fork the project at (this will reset the forked project to the relevant commit)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ForkAndCommitReturn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forkAndReleaseBehavior", - "description": "Forks a project, applies an update, and creates a release of the specified\nbehavior file(s) from it, followed by updating the original project to import\nthe newly released behavior(s) and delete the local copies. If any step fails,\nthe fork will be deleted.\n\nupdate.files must be provided, specifying the name and path of file(s) within\nthe repo to be exported as part of the release", - "args": [ - { - "name": "projectPath", - "description": "The full path of the source project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "The organizational namespace to fork the project in. If omitted, the project\nwill be forked in the current user's namespace", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "path", - "description": "The path (slug) to assign to the fork. If omitted, the current path will be used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The display name to assign to the fork. If omitted, the current name will be used", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "update", - "description": "The update object", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ProjectUpdate", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "commitMessage", - "description": "An optional commit message for use in any commit generated by the update", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "tag", - "description": "The version number for the release", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "An optional description / change note for the release", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ForkAndReleaseBehaviorReturn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "starProject", - "description": "Star a project", - "args": [ - { - "name": "projectPath", - "description": "The full path of the source project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "StarReturn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unstarProject", - "description": "Unstar a project", - "args": [ - { - "name": "projectPath", - "description": "The full path of the source project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "StarReturn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "requestPrivateProjectAccessCode", - "description": "Request an access code for a private project. This may not always be unique.", - "args": [ - { - "name": "projectPath", - "description": "The full path of the source project, including its namespace and path, in the format @namespace/path", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "accessLevel", - "description": "What access level you are requesting", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectAccessCodeAccessType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "unique", - "description": "Whether to require a unique code. May be unique even if not required.", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectAccessCodeReturn", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addGitHubScraper", - "description": null, - "args": [ - { - "name": "data", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GitHubScraperCreationData", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GitHubScraper", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createSubject", - "description": "Create a subject/type", - "args": [ - { - "name": "description", - "description": "Additional description of the subject", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "The namespace for the subject", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": "A name for the subject, unique in the namespace.\nThis should be in PascalCase.\nThe first letter will be enforced as uppercase.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "subTypeOf", - "description": "The subject's direct parent(s)", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "forkSubject", - "description": "Copies a subject to another namespace", - "args": [ - { - "name": "namespace", - "description": "The namespace of the subject to fork", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The name of the subject to fork", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version", - "description": "The version to fork at (defaults to the latest available)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "targetNamespace", - "description": "The namespace in which to create the fork", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateSubject", - "description": "Updates a subject", - "args": [ - { - "name": "namespace", - "description": "The namespace of the subject to update", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The name of the subject to update", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version", - "description": "The version to update (defaults to the latest available)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description", - "description": "Additional description of the subject", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "properties", - "description": "The subject's properties (whether belonging to itself directly, or via one of its ancestors)", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "subTypeOf", - "description": "The subject's direct parent(s)", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Subject", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createProperty", - "description": "Creates a property", - "args": [ - { - "name": "description", - "description": "Description of the property", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": "Name for the property, unique in this namespace.\nThis should be in camelCase.\nLowercase for the first letter is enforced.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "Namespace for the property", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "expectedType", - "description": "The expected type(s) of the value of this property", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "ofType": null - } - } - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Property", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateProperty", - "description": "Updates a property", - "args": [ - { - "name": "namespace", - "description": "The namespace of the property to update", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The name of the property to update", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "Description of the property", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "expectedType", - "description": "The expected type(s) of the value of this property", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "subPropertyOf", - "description": "The superproperty of this property, if any", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "supersededBy", - "description": "The property which superseded this property, if any", - "type": { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "inverseOf", - "description": "The inverse of this property, if anything", - "type": { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Property", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteSource", - "description": "Delete an existing source.", - "args": [ - { - "name": "id", - "description": "The ID of the source to delete.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addUser", - "description": "Add a user to the system", - "args": [ - { - "name": "data", - "description": "The data to create the user with. Email is required", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UserCreationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateUser", - "description": "Update a user's details (admins only)", - "args": [ - { - "name": "id", - "description": "The ID of the user to update", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "data", - "description": "The data to update the user with. Cannot change email at the moment.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UserUpdateInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteUser", - "description": null, - "args": [ - { - "name": "email", - "description": "The email of the user to delete", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateMe", - "description": "Update your details", - "args": [ - { - "name": "data", - "description": "The data to update your details with. Cannot change your email at the moment (to come)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UserUpdateInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "registerPaymentMethod", - "description": "Obtain a client secret to use in registering a payment method", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "setDefaultPaymentMethod", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sendLoginReminder", - "description": null, - "args": [ - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "upsertIntegration", - "description": "Create or update an integration.", - "args": [ - { - "name": "name", - "description": "A user-defined name to give to the integration.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "integrationType", - "description": "The type of integration to create.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SourceTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "credential", - "description": "The credential to create for this integration.", - "type": { - "kind": "INPUT_OBJECT", - "name": "CredentialCreationInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "ownerId", - "description": "The owner of the integration -- if not specified, will be the user creating it.", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "source", - "description": "The source to create for this integration.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SourceCreationInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Integration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "integrate", - "description": "NOT IMPLEMENTED YET.\n TODO Requires CRUD operations on individual sources and credentials first.", - "args": [ - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "integrationType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SourceTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "credentialId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "sourceId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "ownerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Integration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "permitIntegration", - "description": "Authorize a project to use a given integration.\nThis endpoint can be called repeatedly to update the latest authorized/used integrations for the project.", - "args": [ - { - "name": "projectId", - "description": "The actual _ObjectId_ of the project. This is _id as returned from this API, not 'id' which is actually a path string.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "integrationId", - "description": "The ID of the integration to authorize access to.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "asName", - "description": "The required integration name to authorize it as. The relevant names are in the\nrequiredIntegrations {\n type\n name\n}\ncomponent of projects.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Authorization", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteIntegration", - "description": "Delete an existing integration.", - "args": [ - { - "name": "id", - "description": "The ID of the integration to delete.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "deleteSource", - "description": "Whether to destroy the associated source if possible. Defaults to false.", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "deleteCredentials", - "description": "Whether to destroy the associated credentials if possible. Defaults to false.", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "EventAction", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "RunSimulation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OpenSimulation", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OpenProject", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ExperimentRun", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ExperimentSimulationRun", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "AnalyticEvent", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "action", - "description": "The name of the action taken", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "EventAction", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "label", - "description": "A label for the event", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "context", - "description": "Any additional context about the event", - "type": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DatasetCreationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "name", - "description": "A friendly name for the dataset", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "filename", - "description": "The filename to be used when the dataset itself is uploaded", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "projectPath", - "description": "The full path of the project the dataset is being assigned to", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DatasetInit", - "description": null, - "fields": [ - { - "name": "postForm", - "description": "The details the client needs to be able to upload a file", - "args": [], - "type": { - "kind": "OBJECT", - "name": "SignedPostForm", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "dataset", - "description": "The metadata held in the database on the dataset", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Dataset", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SignedPostForm", - "description": "Information required to upload a file using a temporary security policy", - "fields": [ - { - "name": "url", - "description": "The signed URL to be used for uploading the file", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": "The fields the client must attach to the form to be submitted, with the file to upload appended last under 'file'", - "args": [], - "type": { - "kind": "SCALAR", - "name": "JSONObject", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DatasetUpdateInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "name", - "description": "A friendly name for the dataset", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description", - "description": "A description, instructions or notes on the dataset", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DatasetPublishInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "title", - "description": "The title of the dataset", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "A description, instructions or notes on the dataset", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "shortname", - "description": "A shortname unique among the publisher's listings", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "resources", - "description": "The actual file(s) to be made available under the listing", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DatasetResourceInput", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "existingPublisherId", - "description": "The id of the publisher of the dataset", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "newPublisher", - "description": "Details of an organization to create as the dataset's publisher", - "type": { - "kind": "INPUT_OBJECT", - "name": "PublisherCreationInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "existingLicenseId", - "description": "The id of the license the dataset is made available under", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "newLicense", - "description": "Details of a license to create and assign the dataset to", - "type": { - "kind": "INPUT_OBJECT", - "name": "LicenseCreationInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "existingSubjectIds", - "description": "The id of the subject(s) of the dataset", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "landingPage", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "references", - "description": "Additional reference information for the dataset", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "version", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "language", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "updateFreq", - "description": "How frequently the dataset is updated", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "keywords", - "description": "Keywords or tags associated with the dataset", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "contactPoint", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "contactPointEmail", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "temporalCoverage", - "description": "The period of time the dataset covers", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "temporalFrequency", - "description": "The frequency interval of the datapoints within the dataset", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "spatialCoverage", - "description": "The physical area covered by the dataset", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "rights", - "description": "Additional information about the rights held or offered on the dataset", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "isPartOf", - "description": "The name of a collection or group the dataset belongs to", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "issn", - "description": "The International Standard Serial Number used to identify a serial publication", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "measurementTechnique", - "description": "The technique(s) used to measure the data", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "variableMeasured", - "description": "The specific variable the data measures", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "includedInDataCatalog", - "description": "The name of the data catalog the resource is included in, if any", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DatasetResourceInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": "The id of the resource as assigned in its source", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": "The name of the resource", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "shortname", - "description": "The shortname of the resource, including extension", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "revisionId", - "description": "The revisionId in its source the resource was first made available under", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "url", - "description": "The URL to the specific file being uploaded and made available", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "format", - "description": "The file format of the resource, expressed as a mime-type", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "A description of the resource", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "describedBy", - "description": "A URL to an explanation of the resource", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "describedByType", - "description": "The type of file which describes the resource", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "size", - "description": "The size of the file", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "createdAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "updatedAt", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "PublisherCreationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "logoUrl", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "logoFile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "LicenseCreationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "name", - "description": "The name of the license", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "Additional description of the license", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "url", - "description": "A link to an explanation of the license's terms", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "logo", - "description": "A link to a logo representing the license", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DatasetRelease", - "description": "Input required for hFlow internal dataset creation.", - "fields": null, - "inputFields": [ - { - "name": "name", - "description": "The name of the dataset.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "filename", - "description": "The filename alias to use.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "projectPath", - "description": "The project path in the format '@owner/project-name'.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "s3Location", - "description": "S3 location information.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "S3LocationInput", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "message", - "description": "The message to add to the commit.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "size", - "description": "The size of all files (not the size of an individual file).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version", - "description": "The new version.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "S3LocationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "bucket", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "folder", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "files", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateAndReleaseReturn", - "description": null, - "fields": [ - { - "name": "project", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "release", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReleaseBasic", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "StateEvent", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "close", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "reopen", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "NoteableType", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Issue", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "MergeRequest", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "ExperimentRunInitialData", - "description": null, - "fields": [ - { - "name": "experimentRun", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ExperimentRun", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "computeUsageRemaining", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SimulationRunInitialData", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "s3Key", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "stepsUploadForm", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SignedPostForm", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "analysisUploadForm", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SignedPostForm", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "OrgInput", - "description": "Inputs allowed when creating or updating an organization", - "fields": null, - "inputFields": [ - { - "name": "name", - "description": "The name for the organization", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "alternateName", - "description": "Alternate name(s) the organization may be referred to as", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "shortname", - "description": "A unique string identifying the organization in HASH (may only be updated after creation by admins)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "location", - "description": "Free single-line text to specify organization location (see 'address' for postal address)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "address", - "description": "The physical address(es) of the organization (see 'location' for a single line of free text)", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "PostalAddressInput", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "description", - "description": "A description of the organization", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "legalName", - "description": "The full legal name of the organization", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "parentOrganization", - "description": "The parent organization of this organization", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "nonProfit", - "description": "Whether the organization is non-profit or not", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "publicMembership", - "description": "Whether the organization's membership is made public or not", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "supportContact", - "description": "A way for HASH users to contact the organization with any questions", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "logo", - "description": "The organization's logo", - "type": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "avatar", - "description": "A square image representing the organization", - "type": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "image", - "description": "Another image associated with the organization", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "url", - "description": "The organization's website", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "PostalAddressInput", - "description": "A physical address of an organization or entity", - "fields": null, - "inputFields": [ - { - "name": "postOfficeBoxNumber", - "description": "The post office box number for PO box addresses.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "streetAddress", - "description": "The street address.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "addressLocality", - "description": "The locality in which the street address is (e.g. a town)", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "addressRegion", - "description": "The region (e.g. a state, county, or other top-level district in a country", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "addressCountry", - "description": "The country", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "postalCode", - "description": "The postal code or zip code", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CommitAction", - "description": "An action operating on a single file as part of a commit", - "fields": null, - "inputFields": [ - { - "name": "action", - "description": "The type of action to take", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CommitActionVerb", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "filePath", - "description": "The path of the file to operate on (or the new path, if being moved)", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "previousPath", - "description": "If a file is being moved, its previous path in the repository", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "content", - "description": "If a file is being created or updated, its content", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "CommitActionVerb", - "description": "The types of action allowed on a file as part of a commit", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "create", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "delete", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "move", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "update", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateCommitReturn", - "description": null, - "fields": [ - { - "name": "commit", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "project", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ProjectUpdate", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "name", - "description": "A friendly name for the project", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": "A namespace to move the project into", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "description", - "description": "A short description of the project", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "files", - "description": "The files to export from the project in its releases (e.g. behaviors)", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ExportedFile", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "visibility", - "description": "The level of access restriction on the project", - "type": { - "kind": "ENUM", - "name": "VisibilityLevel", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "keywords", - "description": "Keywords / tags to help users locate the project", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "subject", - "description": "The subjects of the project", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "license", - "description": "The id of the license the project is made available under", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "type", - "description": "Update the project type", - "type": { - "kind": "ENUM", - "name": "ProjectTypeName", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "newLicense", - "description": "Details of a new license to create and assign for the listing. This license\nwill become available for future use by the publisher only", - "type": { - "kind": "INPUT_OBJECT", - "name": "LicenseCreationInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "temporalCoverage", - "description": "The period of time the project's dataset(s) covers", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "dataFrequency", - "description": "The frequency interval of the datapoints of dataset(s) within the projcet", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "spatialCoverage", - "description": "The physical area covered by dataset(s) in the project", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "avatar", - "description": "An image to display representing the listing", - "type": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "image", - "description": "A wide-ratio (1.91:1) cover image to promote and illustrate listings", - "type": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ExportedFile", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "filename", - "description": "The filename", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "path", - "description": "The path to the file within the repo", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SchemaReferenceInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ForkAndCommitReturn", - "description": null, - "fields": [ - { - "name": "project", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "commit", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Commit", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ForkAndReleaseBehaviorReturn", - "description": null, - "fields": [ - { - "name": "sourceProject", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "behaviorProject", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "StarReturn", - "description": null, - "fields": [ - { - "name": "project", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "ProjectAccessCodeAccessType", - "description": "The level of access that an access code grants", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "Write", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Read", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ReadEmbed", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProjectAccessCodeReturn", - "description": null, - "fields": [ - { - "name": "code", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectAccessCode", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "unique", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProjectAccessCode", - "description": null, - "fields": [ - { - "name": "code", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "accessLevel", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ProjectAccessCodeAccessType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "project", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "creator", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createdAt", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updatedAt", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GitHubScraperCreationData", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "files", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GitHubScraperFileInput", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "frequency", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "ScraperFrequency", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "licenseId", - "description": "The id of a predefined license to make the project available under.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "licenseText", - "description": "A custom license to create a LICENSE.md file from", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "namespace", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "path", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "readme", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "repoPath", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GitHubScraperFileInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "fileDownloadUrl", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "filepathInRepo", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "filenameInHASH", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "nameInHASH", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UserCreationInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "additionalName", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "biography", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "familyName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "givenName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "image", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "knowsLanguage", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "location", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "role", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "shortname", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "telephone", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "url", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UserUpdateInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "givenName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "familyName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "shortname", - "description": "Only admins may update shortnames after user creation", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "biography", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "knowsLanguage", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - "defaultValue": null - }, - { - "name": "location", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "url", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "telephone", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "image", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "onboarded", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "tourProgress", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "TourProgressInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "role", - "description": "The ID of the role to assign a user (admins only)", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "TourProgressInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "completed", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "version", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "lastStepViewed", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "CredentialCreationInput", - "description": "Required inputs for creating a new credential.", - "fields": null, - "inputFields": [ - { - "name": "name", - "description": "User-defined name of the credential. Any given pair of owner ID and name must be unique.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "type", - "description": "The type of credential to store. Currently token, googleserviceaccount, userpass, ldap, kerberos, x509, aws.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CredentialType", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "ownerId", - "description": "Optional: the ID of the owning entity -- either a User or an Organization.\nIf not provided, the owner will be the user that created the credential.", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "accessToken", - "description": "A string of the secret token itself. Used for Token credentials.\nNote: GraphQL does not currently support union types in inputs.\nCheck SecretType for what fields are necessary for the type of credential you are creating.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "serviceAccountJson", - "description": "The Google Cloud service account JSON. A file. Will be of a format like that of the GoogleServiceAccount type.", - "type": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "userPass", - "description": "Inputs required for username and password credentials.", - "type": { - "kind": "INPUT_OBJECT", - "name": "UserPassInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "ldap", - "description": "Inputs required for LDAP credentials.", - "type": { - "kind": "INPUT_OBJECT", - "name": "LDAPInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "aws", - "description": "Inputs required for AWS credentials.", - "type": { - "kind": "INPUT_OBJECT", - "name": "AWSInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "kerberos", - "description": "Inputs required for Kerberos credentials.", - "type": { - "kind": "INPUT_OBJECT", - "name": "KerberosInput", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "x509", - "description": "Inputs required for x.509 credentials.", - "type": { - "kind": "INPUT_OBJECT", - "name": "X509Input", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UserPassInput", - "description": "An input type for UserPass credentials.", - "fields": null, - "inputFields": [ - { - "name": "username", - "description": "The username.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "password", - "description": "The password.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "LDAPInput", - "description": "An input type for LDAP credentials. This differs little from UserPass, but affects configurations for some\nclients, e.g. MongoDB.", - "fields": null, - "inputFields": [ - { - "name": "username", - "description": "The username.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "password", - "description": "Optional. The password.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "distinguishedName", - "description": "The full distinguished name. Example: 'CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM'", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "AWSInput", - "description": "AWS authentication information. This is the _only_ accepted way to use AWS authorization.\nSee: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html", - "fields": null, - "inputFields": [ - { - "name": "externalId", - "description": "A unique ID generated by the user to be used as a password/key when assuming the IAM role. \nSee https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html for more information.\nThis should be generated in-browser with instructions/links for the user to follow to set this up.\nThis key will never be shown to the user again, so warn them to properly set it up first.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "roleArn", - "description": "The Amazon Resource Name of the role to use. This role must have access to whatever resources it needs.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "useSessionToken", - "description": "Whether to include a temporary session token in requests.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "KerberosInput", - "description": "Kerberos authentication information.", - "fields": null, - "inputFields": [ - { - "name": "realm", - "description": "The name of the realm. Example: UPENN.EDU", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "kdcAddresses", - "description": "The location of the kdc server(s). Example: [\"kerberos1.upenn.edu\", \"kerberos2.upenn.edu\", \"kerberos3.upenn.edu\"]", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "principal", - "description": "The fully qualified principal name. Example: bob@UPENN.EDU", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "userKey", - "description": "The serialized keytab file and/or password for this principal.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "X509Input", - "description": "X.509 (TLS and/or SSL) authentication information. This is for the fairly niche case where the source requires\nHTTPS communication, but using its own self-signing certificate authority. ", - "fields": null, - "inputFields": [ - { - "name": "certificateKeyFilePem", - "description": "The x.509 PEM file for the client to use.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "certificateAuthorityFile", - "description": "The Certificate Authority file to trust, that signed both the client and the target instance's certificates.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SourceCreationInput", - "description": "Information required to create a new source.", - "fields": null, - "inputFields": [ - { - "name": "name", - "description": "The name of the source.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "type", - "description": "The type of source to create.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SourceTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "ownerId", - "description": "The ID of the owner of the new source. If not provided, this will be the user that created it.", - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "baseUrl", - "description": "Mapbox: The base URL for the integration.\nNote: GraphQL does not currently support union types in inputs.\nCheck SourceType for what fields are necessary for the type of integration you are creating.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "bigquery", - "description": "Information to create a BigQuery source.", - "type": { - "kind": "INPUT_OBJECT", - "name": "BigQueryCreation", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "mongodb", - "description": "Information to create a MongoDB and/or MongoDB Atlas source.", - "type": { - "kind": "INPUT_OBJECT", - "name": "MongoDBCreation", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "snowflake", - "description": "Information to create a Snowflake source.", - "type": { - "kind": "INPUT_OBJECT", - "name": "SnowflakeCreation", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "elasticsearch", - "description": "Information to create an ElasticSearch source.", - "type": { - "kind": "INPUT_OBJECT", - "name": "ElasticSearchCreation", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "s3", - "description": "Information to create an S3 source.", - "type": { - "kind": "INPUT_OBJECT", - "name": "S3Creation", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "BigQueryCreation", - "description": "BigQuery source creation information.", - "fields": null, - "inputFields": [ - { - "name": "url", - "description": "The base URL to query against. Example: https://bigquery.googleapis.com/bigquery/v1/projects/some-project-id/queries\nIf not specified, will be literally https://bigquery.googleapis.com/bigquery/v1/projects/$projectId/queries.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "projectId", - "description": "The ID of the _Google Cloud_ project (no relation to HASH project IDs).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "datasetId", - "description": "The ID of the _Google Cloud_ dataset that will be queried.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "query", - "description": "Optional. If not specified here, must be specified in the transformation that uses it.\nSome valid SQL statement to use when querying the dataset. \nShould be in a format that runs successfully in Google's query editor. Example:\n\"#standardSQL\\nSELECT\\n growth.country_name,\\n growth.net_migration,\\n \nCAST(area.country_area AS INT64) AS country_area\\nFROM (\\n SELECT\\n \ncountry_name,\\n net_migration,\\n country_code\\n FROM\\n \n`bigquery-public-data.census_bureau_international.birth_death_growth_rates`\\n \nWHERE\\n year = 2020) growth\\nINNER JOIN (\\n SELECT\\n country_area,\\n \ncountry_code\\n FROM\\n \n`bigquery-public-data.census_bureau_international.country_names_area`)\narea\\nON\\n growth.country_code = area.country_code\\nORDER BY\\n net_migration DESC\",", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "useLegacySql", - "description": "Optional. If not specified here, must be specified in the transformation that uses it.\nWhether the query is using Legacy SQL features. Almost invariably false, and the user will likely know if it isn't.", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "MongoDBCreation", - "description": "MongoDB and/or MongoDB Atlas source creation information.", - "fields": null, - "inputFields": [ - { - "name": "store", - "description": "Base database configuration information (host, port, et cetera).", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "DatastoreInput", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "replicaSet", - "description": "Optional. The name of the replica set.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "authenticationDatabase", - "description": "Optional. The name of the authentication database. Defaults to admin or $external depending on linked credentials.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "authenticationMechanism", - "description": "Optional. The authentication mechanism to use. Default depends on linked credentials.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DatastoreInput", - "description": "Composition-over-inheritance type for common configuration fields for databases, but an input type!", - "fields": null, - "inputFields": [ - { - "name": "servers", - "description": "The host and port of the server(s) to connect to.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ServerInput", - "ofType": null - } - } - } - }, - "defaultValue": null - }, - { - "name": "database", - "description": "The name of the database to connect to.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "options", - "description": "Connection string options for this specific connection. Example: timezone=UTC&batchInsert=False", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "version", - "description": "Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ServerInput", - "description": "An individual server for an integration, but an input type.", - "fields": null, - "inputFields": [ - { - "name": "host", - "description": "The host uri. Examples: 127.0.0.1 or https://localhost or mymongoserver.example.com.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "port", - "description": "The port. ", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SnowflakeCreation", - "description": "Snowflake source information.", - "fields": null, - "inputFields": [ - { - "name": "accountName", - "description": "The Snowflake account name. Example: if the Snowflake URL for the user is mycompany.snowflakecomputing.com,\nthe value here would just be 'mycompany'.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "warehouse", - "description": "The warehouse name.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "database", - "description": "The database name.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "schema", - "description": "The name of the schema. This is the schema as understood by Snowflake, and is not related to HASH schemas.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "query", - "description": "Optional. If not specified here, must be specified in the transformation that uses it.\nSome valid SQL statement to use when querying the store. ", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "role", - "description": "Optional. The role to use.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ElasticSearchCreation", - "description": "Input information for ElasticSearch.", - "fields": null, - "inputFields": [ - { - "name": "version", - "description": "Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "indexName", - "description": "Optional. The name of the index to query against.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "query", - "description": "Optional. If not specified here, must be specified in the transformation that uses it. \nThe query JSON to run. Example: \"{\"query\":{\"match_all\":{}}}\"", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "server", - "description": "Server information for the elasticsearch cluster. ", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ServerInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "S3Creation", - "description": "Input information for an S3 bucket.", - "fields": null, - "inputFields": [ - { - "name": "bucket", - "description": "The name of the bucket.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "key", - "description": "The object key or object key pattern. Example: if the S3 URI is\ns3://hash-terraform-state-s3-backend/base/terraform.tfstate,\nthe key is \"base/terraform.tfstate\", and a matching pattern could be \"base/*.tfstate\".", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "region", - "description": "The AWS region the bucket is located in. Example: us-east-1.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "format", - "description": "The format of the source file.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "FileFormat", - "ofType": null - } - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Schema", - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", - "fields": [ - { - "name": "types", - "description": "A list of all types supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "queryType", - "description": "The type that query operations will be rooted at.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mutationType", - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "directives", - "description": "A list of all directives supported by this server.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Type", - "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", - "fields": [ - { - "name": "kind", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Field", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "interfaces", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "possibleTypes", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "enumValues", - "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "inputFields", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ofType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__TypeKind", - "description": "An enum describing what kind of type a given `__Type` is.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SCALAR", - "description": "Indicates this type is a scalar.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Indicates this type is a union. `possibleTypes` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Indicates this type is an enum. `enumValues` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Indicates this type is an input object. `inputFields` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "LIST", - "description": "Indicates this type is a list. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NON_NULL", - "description": "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Field", - "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__InputValue", - "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "defaultValue", - "description": "A GraphQL-formatted string representing the default value for this input value.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__EnumValue", - "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Directive", - "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locations", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "args", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "__DirectiveLocation", - "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "QUERY", - "description": "Location adjacent to a query operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUTATION", - "description": "Location adjacent to a mutation operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SUBSCRIPTION", - "description": "Location adjacent to a subscription operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD", - "description": "Location adjacent to a field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_DEFINITION", - "description": "Location adjacent to a fragment definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_SPREAD", - "description": "Location adjacent to a fragment spread.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE_FRAGMENT", - "description": "Location adjacent to an inline fragment.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VARIABLE_DEFINITION", - "description": "Location adjacent to a variable definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCHEMA", - "description": "Location adjacent to a schema definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SCALAR", - "description": "Location adjacent to a scalar definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OBJECT", - "description": "Location adjacent to an object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD_DEFINITION", - "description": "Location adjacent to a field definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ARGUMENT_DEFINITION", - "description": "Location adjacent to an argument definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INTERFACE", - "description": "Location adjacent to an interface definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "UNION", - "description": "Location adjacent to a union definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM", - "description": "Location adjacent to an enum definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ENUM_VALUE", - "description": "Location adjacent to an enum value definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_OBJECT", - "description": "Location adjacent to an input object type definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INPUT_FIELD_DEFINITION", - "description": "Location adjacent to an input object field definition.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "File", - "description": null, - "fields": [ - { - "name": "filename", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mimetype", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "encoding", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FileFormatCount", - "description": null, - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "count", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AvailableIntegrations", - "description": "A list of all integrations available to a user,\nOR\nA list of all integrations authorized for a project for a given user\n IF it is part of a Project response, or a projectId was given in the request.", - "fields": [ - { - "name": "integrations", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Integration", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "IntegrateInput", - "description": "NOT IMPLEMENTED YET.\n TODO Requires CRUD operations on individual sources and credentials first.\n Purpose is to enable sources without credentials and vice versa to be added at the organization level,\n and for sources to be tied directly to projects without credentials.", - "fields": null, - "inputFields": [ - { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "integrationType", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SourceTypeName", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "credentialId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "sourceId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "ownerId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - } - ], - "directives": [ - { - "name": "skip", - "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Skipped when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "include", - "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", - "locations": [ - "FIELD", - "FRAGMENT_SPREAD", - "INLINE_FRAGMENT" - ], - "args": [ - { - "name": "if", - "description": "Included when true.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": null - } - ] - }, - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "locations": [ - "FIELD_DEFINITION", - "ENUM_VALUE" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/apps/sim-core/packages/core/src/util/api/queries/addDatasetToProject.ts b/apps/sim-core/packages/core/src/util/api/queries/addDatasetToProject.ts index 70123aa..b86f011 100644 --- a/apps/sim-core/packages/core/src/util/api/queries/addDatasetToProject.ts +++ b/apps/sim-core/packages/core/src/util/api/queries/addDatasetToProject.ts @@ -1,7 +1,7 @@ import { AddDatasetToProjectMutation, AddDatasetToProjectMutationVariables, -} from "../auto-types"; +} from "../types"; import { query } from "../query"; const queryString = /* GraphQL */ ` diff --git a/apps/sim-core/packages/core/src/util/api/queries/bootstrapQuery.ts b/apps/sim-core/packages/core/src/util/api/queries/bootstrapQuery.ts index 03c4dfc..fc84810 100644 --- a/apps/sim-core/packages/core/src/util/api/queries/bootstrapQuery.ts +++ b/apps/sim-core/packages/core/src/util/api/queries/bootstrapQuery.ts @@ -1,6 +1,6 @@ import { BUILTIN_SIMULATIONS } from "../../builtinSimulations"; import { LocalStorageProject } from "../../../features/project/types"; -import { ProjectTypeName, VisibilityLevel } from "../auto-types"; +import { ProjectTypeName, VisibilityLevel } from "../types"; import type { User } from "../types"; import { getItem } from "../../../hooks/useLocalStorage"; import { getLocalStorageProject } from "../../../features/project/utils"; diff --git a/apps/sim-core/packages/core/src/util/api/queries/canUserEditProject.ts b/apps/sim-core/packages/core/src/util/api/queries/canUserEditProject.ts index 779c6bb..8e25363 100644 --- a/apps/sim-core/packages/core/src/util/api/queries/canUserEditProject.ts +++ b/apps/sim-core/packages/core/src/util/api/queries/canUserEditProject.ts @@ -1,7 +1,7 @@ import { CanUserEditProjectQuery, CanUserEditProjectQueryVariables, -} from "../auto-types"; +} from "../types"; import { query } from "../query"; const queryString = /* GraphQL */ ` diff --git a/apps/sim-core/packages/core/src/util/api/queries/commitActions.ts b/apps/sim-core/packages/core/src/util/api/queries/commitActions.ts index 6593e72..91c6e1e 100644 --- a/apps/sim-core/packages/core/src/util/api/queries/commitActions.ts +++ b/apps/sim-core/packages/core/src/util/api/queries/commitActions.ts @@ -2,7 +2,7 @@ import { Commit, CommitActionsMutation, CommitActionsMutationVariables, -} from "../auto-types"; +} from "../types"; import { FileAction } from "../../../features/files/types"; import { FullProjectFragment } from "./unpreparedProjectByPath"; import { SimulationProjectWithHcFiles } from "../../../features/project/types"; diff --git a/apps/sim-core/packages/core/src/util/api/queries/forkAndReleaseBehaviorsQuery.ts b/apps/sim-core/packages/core/src/util/api/queries/forkAndReleaseBehaviorsQuery.ts index a11bc1e..9a9a9ab 100644 --- a/apps/sim-core/packages/core/src/util/api/queries/forkAndReleaseBehaviorsQuery.ts +++ b/apps/sim-core/packages/core/src/util/api/queries/forkAndReleaseBehaviorsQuery.ts @@ -1,5 +1,5 @@ import { FilesFragment } from "./unpreparedProjectByPath"; -import { ForkAndReleaseBehaviorsMutation } from "../auto-types"; +import { ForkAndReleaseBehaviorsMutation } from "../types"; import { ProjectVisibility } from "../../../features/project/types"; import { query } from "../query"; import { toHcFiles } from "../../../features/files/utils"; diff --git a/apps/sim-core/packages/core/src/util/api/queries/partialProjectByPath.ts b/apps/sim-core/packages/core/src/util/api/queries/partialProjectByPath.ts index 81572b3..43d69a4 100644 --- a/apps/sim-core/packages/core/src/util/api/queries/partialProjectByPath.ts +++ b/apps/sim-core/packages/core/src/util/api/queries/partialProjectByPath.ts @@ -1,7 +1,7 @@ import { PartialProjectByPathQuery, PartialProjectByPathQueryVariables, -} from "../auto-types"; +} from "../types"; import { PartialSimulationProject } from "../../../features/project/types"; import { preparePartialSimulationProject } from "../../../features/project/utils"; import { query } from "../query"; diff --git a/apps/sim-core/packages/core/src/util/api/queries/projectHistory.ts b/apps/sim-core/packages/core/src/util/api/queries/projectHistory.ts index bf596ef..1c2d7bf 100644 --- a/apps/sim-core/packages/core/src/util/api/queries/projectHistory.ts +++ b/apps/sim-core/packages/core/src/util/api/queries/projectHistory.ts @@ -4,7 +4,7 @@ import { ProjectHistoryItemType, ProjectHistoryQueryVariables, ProjectHistoryReturn, -} from "../auto-types"; +} from "../types"; import { LinkableProject, ReleaseDescription, diff --git a/apps/sim-core/packages/core/src/util/api/queries/unpreparedProjectByPath.ts b/apps/sim-core/packages/core/src/util/api/queries/unpreparedProjectByPath.ts index 39d8d12..dd62744 100644 --- a/apps/sim-core/packages/core/src/util/api/queries/unpreparedProjectByPath.ts +++ b/apps/sim-core/packages/core/src/util/api/queries/unpreparedProjectByPath.ts @@ -1,4 +1,4 @@ -import { ProjectByPathQuery, ProjectByPathQueryVariables } from "../auto-types"; +import { ProjectByPathQuery, ProjectByPathQueryVariables } from "../types"; import { query } from "../query"; export const FilesFragment = /* GraphQL */ ` diff --git a/apps/sim-core/packages/core/src/util/api/types.ts b/apps/sim-core/packages/core/src/util/api/types.ts index 1674752..4add961 100644 --- a/apps/sim-core/packages/core/src/util/api/types.ts +++ b/apps/sim-core/packages/core/src/util/api/types.ts @@ -1,5 +1,3 @@ -import { CommitActionVerb } from "./auto-types"; - export interface MyType { me: T; } @@ -82,3 +80,3673 @@ export interface ApiCommitAction { previousPath?: string; content?: string; } + + +// Imported from the previously-but-no-longer generated file types.ts: + +export type Maybe = T | null | undefined; +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 type Scalars = { + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + JSONObject: any; + Date: any; + JSON: any; + Upload: any; +}; + +/** The queries available in this schema */ +export type Query = { + /** A flat list of active cache keys */ + cacheFlat: Array; + /** Active cache keys structured by namespace, resource, and query */ + cacheStructured: Scalars['JSONObject']; + /** Retrieve a list of application build URLs */ + coreVersions?: Maybe>; + /** Query for scraped datasets (admin only) */ + scrapedDatasets: ScrapedDatasetResults; + datasetFilterValues: DatasetFilterValues; + /** Retrieve an experiment run by its id */ + experimentRun?: Maybe; + /** Retrieve a specific run by its id */ + simulationRun?: Maybe; + /** Generate an experiment plan from a selected definition in an experiments.json object */ + experimentPlan: ExperimentPlan; + /** Retrieve a project issue */ + issue: Issue; + /** Return all keywords in use across the Index */ + keywords: Array; + /** + * License which may be used to publish items to the Index under. + * + * If no suitable license is listed, publishers are advised to select Copyright + * (All Rights Reserved) and then note their specific usage conditions in the + * listing's descriptions. + */ + licenses: Array; + /** Retrieve a project merge request */ + mergeRequest: MergeRequest; + /** Retrieve data on a specific organization by its ID or name. One of ID or name must be supplied */ + org?: Maybe; + /** Retrieve data on all organizations, or those with names containing a specific string */ + orgs?: Maybe>; + /** Return a PolyModel by its slug */ + polyModel: PolyModel; + /** Return all PolyModels available via the HASH API */ + polyModels: Array; + /** Retrieve a project by its path */ + project: Project; + /** Retrieve a release of a particular project */ + release: Release; + /** + * " + * Query for special types of projects + */ + specialProjects: Array; + /** Search for projects matching the filters specified. */ + searchProjects: ProjectSearchResults; + /** Return all site-wide roles in the system */ + roles: Array; + scrapers: Array; + source?: Maybe; + /** Retrieve all available subject types in the system */ + subjects: Array; + /** Retrieve a subject. */ + subject: Subject; + /** Retrieve all available properties in the system */ + properties: Array; + /** Retrieve a property */ + property: Property; + /** Information on the user making the request */ + me?: Maybe; + /** Retrieve all users by page, with optional filtering */ + users: UsersResult; + /** Retrieve the details of a specific user by their ID, email address, or shortname */ + user?: Maybe; + /** Retrieve a user or organization by their shortname or id */ + userOrOrg?: Maybe; + /** + * Fetch available integrations, either for this user, + * or for this user that are also authorized for the given projectId. + */ + availableIntegrations: Array; + /** Fetch full integration information -- _WILL_ include the secret of the credential itself if the user is allowed access. */ + integration?: Maybe; + /** Internal-only endpoint for fetching integrations. */ + integrations: Array; + /** + * Retrieves the set of integrations to be used for a given user and project. + * Errors out if the user has not set up integrations properly for the project. + */ + resolveIntegrations: Array; +}; + + +/** The queries available in this schema */ +export type QueryScrapedDatasetsArgs = { + perPage?: Maybe; + page?: Maybe; + sort?: Maybe; + filters?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryExperimentRunArgs = { + id: Scalars['ID']; +}; + + +/** The queries available in this schema */ +export type QuerySimulationRunArgs = { + id: Scalars['ID']; +}; + + +/** The queries available in this schema */ +export type QueryExperimentPlanArgs = { + name: Scalars['String']; + experimentsSrc: Scalars['String']; +}; + + +/** The queries available in this schema */ +export type QueryIssueArgs = { + projectPath: Scalars['String']; + issueId: Scalars['Int']; +}; + + +/** The queries available in this schema */ +export type QueryMergeRequestArgs = { + projectPath: Scalars['String']; + mergeRequestId: Scalars['Int']; +}; + + +/** The queries available in this schema */ +export type QueryOrgArgs = { + id?: Maybe; + name?: Maybe; + shortname?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryOrgsArgs = { + name?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryPolyModelArgs = { + slug: Scalars['String']; +}; + + +/** The queries available in this schema */ +export type QueryProjectArgs = { + projectPath?: Maybe; + ref?: Maybe; + oldId?: Maybe; + oldType?: Maybe; + accessCode?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryReleaseArgs = { + projectPath: Scalars['String']; + tag?: Maybe; + files?: Maybe>; +}; + + +/** The queries available in this schema */ +export type QuerySpecialProjectsArgs = { + type: SpecialProjectType; +}; + + +/** The queries available in this schema */ +export type QuerySearchProjectsArgs = { + query?: Maybe; + subjects?: Maybe>; + types?: Maybe>; + perPage?: Maybe; + page?: Maybe; + sort?: Maybe; + language?: Maybe; + temporalCoverage?: Maybe; + dataFrequency?: Maybe; + spatialCoverage?: Maybe; + releasedOnly?: Maybe; +}; + + +/** The queries available in this schema */ +export type QuerySubjectsArgs = { + onlyPopulated?: Maybe>; +}; + + +/** The queries available in this schema */ +export type QuerySubjectArgs = { + name: Scalars['String']; + namespace?: Maybe; + version?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryPropertyArgs = { + name: Scalars['String']; + namespace?: Maybe; + version?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryUsersArgs = { + page?: Maybe; + sort?: Maybe; + sortDirection?: Maybe; + search?: Maybe; + filter?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryUserArgs = { + id?: Maybe; + email?: Maybe; + shortname?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryUserOrOrgArgs = { + shortname?: Maybe; + id?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryAvailableIntegrationsArgs = { + types?: Maybe>; + hFlowOnly?: Maybe; + namespaceId?: Maybe; + projectId?: Maybe; +}; + + +/** The queries available in this schema */ +export type QueryIntegrationArgs = { + id: Scalars['ID']; +}; + + +/** The queries available in this schema */ +export type QueryIntegrationsArgs = { + ids: Array; +}; + + +/** The queries available in this schema */ +export type QueryResolveIntegrationsArgs = { + projectId: Scalars['ID']; +}; + + +export enum ScrapedSortOption { + /** The date the dataset was last modified */ + DateModified = 'dateModified', + /** The date the dataset was originally published */ + DatePublished = 'datePublished' +} + +export type ScrapedDatasetFilters = { + /** A text string to search */ + query?: Maybe; + /** The name of the organization as listed in the source */ + publisher?: Maybe; + published?: Maybe; + ignored?: Maybe; + updated?: Maybe; + fileFormat?: Maybe; + zip?: Maybe; +}; + +export enum FlagToggle { + /** Include results with the flag */ + Include = 'include', + /** Exclude results with the flag */ + Exclude = 'exclude', + /** Only show results with the flag */ + Only = 'only' +} + +export enum FormatFilter { + /** Show results with any files */ + Any = 'any', + /** Show results with no files */ + None = 'none', + /** Only show results with an accepted file format */ + Accepted = 'accepted', + /** Only show results with a CSV file */ + Csv = 'csv', + /** Only show results with a JSON file */ + Json = 'json' +} + +export type ScrapedDatasetResults = { + /** The results for the query, limited to the requested page */ + results: Array; + /** The number of results requested */ + perPage: Scalars['Int']; + /** The page requested */ + page: Scalars['Int']; + /** The total number of datasets matching the query */ + totalCount: Scalars['Int']; + /** The publishers available for query */ + publishers: Array; + /** The filter settings for the query */ + filters: ScrapedDatasetFiltersUsed; +}; + +export type ScrapedDataset = { + /** The source the dataset was scraped from */ + source?: Maybe; + /** The id used to identify the dataset in its original source */ + sourceId?: Maybe; + /** The URL to view the dataset in its original source */ + sourceUrl?: Maybe; + /** The id of this specific revision of the dataset */ + revisionId?: Maybe; + /** Whether or not the dataset has been published to the Index */ + published?: Maybe; + /** Whether or not the dataset has been permanently ignored */ + ignored?: Maybe; + /** + * Whether or not a dataset has been actioned from the approval queue (i.e. + * published, updated, temporarily ignored, or permanently ignored) + */ + actioned?: Maybe; + /** Whether a dataset has been updated since its publication on HASH */ + updated?: Maybe; + /** Whether a dataset has been handled/actioned from the queue */ + handled?: Maybe; + /** An exteral webpage for the dataset or dataset series */ + landingPage?: Maybe; + /** Additional reference information for the dataset */ + references?: Maybe>>; + version?: Maybe; + language?: Maybe>>; + /** Date published of the dataset itself, not the db entry (createdAt) */ + datePublished?: Maybe; + /** Date the dataset itself was updated, not the db entry (createdAt) */ + dateModified?: Maybe; + /** How frequently the dataset is updated */ + updateFreq?: Maybe; + /** Keywords or tags associated with the dataset */ + keywords?: Maybe>>; + /** The keywords listed in the source */ + keywordsInSource?: Maybe>>; + contactPoint?: Maybe; + contactPointEmail?: Maybe; + /** The period of time the dataset covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints within the dataset */ + temporalFrequency?: Maybe; + /** The physical area covered by the dataset */ + spatialCoverage?: Maybe; + /** Additional information about the rights held or offered on the dataset */ + rights?: Maybe; + /** The name of a collection or group the dataset belongs to */ + isPartOf?: Maybe; + /** The International Standard Serial Number used to identify a serial publication */ + issn?: Maybe; + /** The technique(s) used to measure the data */ + measurementTechnique?: Maybe; + /** The specific variable the data measures */ + variableMeasured?: Maybe; + /** The name of the data catalog the resource is included in, if any */ + includedInDataCatalog?: Maybe; + /** The HASH id(s) of the category the dataset has been published under */ + category?: Maybe>; + /** The category(s) listed in the source */ + categoryInSource?: Maybe>>; + /** The HASH id of the organization the dataset has been published under */ + publisher?: Maybe; + /** The publisher listed in the source (this will be the same as the organization if no other specific publisher was listed) */ + publisherInSource?: Maybe; + /** The name of the organization responsible for the datase listed in the source */ + organizationInSource?: Maybe; + /** A URL to the logo of the organization responsible for the dataset */ + organizationLogoInSource?: Maybe; + /** The HASH id of the license the dataset has been published under */ + license?: Maybe; + /** The license listed in the source */ + licenseInSource?: Maybe; + /** A URL describing the license the dataset is made available under */ + licenseUrlInSource?: Maybe; + /** The subject listed in the source */ + subjectInSource?: Maybe; + /** The HASH id of the subject or subjects of the dataset */ + subject?: Maybe>; + /** Files associated with the dataset */ + resources?: Maybe>>; + /** The ID used for identifying a specific dataset */ + id: Scalars['ID']; + /** The title of the dataset */ + title?: Maybe; + /** A friendly name for the dataset */ + name?: Maybe; + /** A description, instructions or notes on the dataset */ + description?: Maybe; + /** The url from which the dataset can be downloaded */ + url?: Maybe; + /** The date/time the database record for the dataset was last updated */ + updatedAt?: Maybe; + /** The date/time the dataset was added to the database */ + createdAt?: Maybe; +}; + + +/** A resource or file associated with a dataset */ +export type DatasetResource = { + /** The id of the resource in its source */ + id?: Maybe; + /** The revisionId of the dataset this resource was introduced in */ + revisionId?: Maybe; + /** The format of the file available under url */ + format?: Maybe; + /** A description of the resource */ + description?: Maybe; + /** A URL to a file describing the resource */ + describedBy?: Maybe; + /** The type of file listed under describedBy */ + describedByType?: Maybe; + /** The name of the resource */ + name?: Maybe; + /** URL to the resource itself, or its landing page */ + url?: Maybe; + /** A preview of the dataset's first 30 rows (CSV only) */ + preview?: Maybe>>>>; + /** The size of the file */ + size?: Maybe; + createdAt?: Maybe; + updatedAt?: Maybe; +}; + +export type PublisherCount = { + name: Scalars['String']; + count: Scalars['Int']; +}; + +export type ScrapedDatasetFiltersUsed = { + /** A text string to search */ + query?: Maybe; + publisher?: Maybe; + published?: Maybe; + handled?: Maybe; + ignored?: Maybe; + updated?: Maybe; + fileFormat?: Maybe; +}; + +export type DatasetFilterValues = { + temporalCoverage: Array; + dataFrequency: Array; + spatialCoverage: Array; +}; + +export type ExperimentRun = { + id: Scalars['ID']; + /** A friendly name for the ExperimentRun */ + name: Scalars['String']; + /** The project the experiment is related to. */ + project: Project; + /** The full path to the project this experiment is related to */ + projectPath: Scalars['String']; + /** The name of the experiment package to run */ + packageName: ExperimentPackageName; + /** Contextual data needed by the experiment package, if any */ + packageData?: Maybe; + /** Information on which simulation packages to run in this experiment */ + simPackages?: Maybe>; + /** The specific commit this experiment was started from */ + commit: Scalars['String']; + /** The individual runs within the experiment. */ + simulationRuns: Array; + /** The contents of experiment.json used to generate the experiment. */ + experimentSrc?: Maybe; + /** The source files needed to run the simulation, including dependencies */ + simulationFiles: Array; + /** + * [DEPRECATED - use packageData.changedProperties] All the different property + * configurations used to generate the individual runs + */ + changedProperties?: Maybe>; + /** + * [DEPRECATED - see simulationFiles instead] If the simulation depends on any + * shared behaviors, they will be provided here in createExperimentRun returns + */ + sharedBehaviors?: Maybe>>>; + /** + * [DEPRECATED - see simulationFiles instead] If the simulation depends on any + * shared datasets, they will be provided here in createExperimentRun returns + */ + sharedDatasets?: Maybe>>>; + /** When the ExperimentRun was initiated. */ + createdAt: Scalars['Date']; + /** When the ExperimentRun was last updated (e.g. with compute usage). */ + updatedAt: Scalars['Date']; + /** When the experiment's cloud compute usage was finalised (usually when the experiment ended) */ + usageFinalisedAt?: Maybe; + /** The user that initiated the experiment */ + user?: Maybe; + /** How much cloud compute time the experiment used (in seconds) */ + computeUsage: Scalars['Int']; +}; + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type Project = { + /** The MongoDB ObjectId of the project */ + _id: Scalars['ID']; + /** The ID of the project */ + id: Scalars['ID']; + /** A friendly name for the project */ + name: Scalars['String']; + /** The slug of the project */ + path: Scalars['String']; + /** The namespace the resource belongs to, which represents either a user or an organization */ + namespace: Scalars['String']; + /** The user or organisation which owns the resource */ + owner?: Maybe; + /** Whether the owner is a user or an org */ + ownerType: OwnerTypeName; + /** The full path of the resource, including its namespace and path/name, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; + /** The level of access restriction on the resource */ + visibility: VisibilityLevel; + /** A status given to some projects */ + trusted?: Maybe; + /** The total size of the project, in bytes */ + size?: Maybe; + /** A short description of the project */ + description?: Maybe; + /** A mirror of README.md from the project repository */ + readme?: Maybe; + /** The type of data model the project relates to */ + type: ProjectTypeName; + /** Whether or not the project is archived (read-only and hidden from search results) */ + archived: Scalars['Boolean']; + /** The file contents of the project */ + files: Array; + /** Experiments run on the project by the user or fellow organisation members */ + experiments?: Maybe>; + history?: Maybe; + /** The branch or tag at which this project was requested (if any) */ + ref?: Maybe; + /** A URL to an image or video representing the project */ + avatar?: Maybe; + /** Issues raised against a project */ + issues: Array; + contributors: Array; + /** The number of open issues on a project */ + issueCount: Scalars['Int']; + /** Merge requests open against a project */ + mergeRequests: Array; + /** The number of open merge requests on a project */ + mergeRequestCount: Scalars['Int']; + /** Where the project avatar is a video, this is an URL to an image frame from the video to act as a thumbnail or fallback */ + thumbnail?: Maybe; + /** A URL to a wide-ratio (1.91:1) cover image to promote and illustrate projects */ + image?: Maybe; + /** Keywords / tags to help users locate the project */ + keywords: Array; + /** The license the work is made available under */ + license?: Maybe; + /** The subject(s) of the project */ + subject: Array; + /** + * The percentage of behaviors in the project written in each programming + * language (only available in Simulation or Behavior projects with releases - + * calculation applies to the latest release) + */ + languageSplit?: Maybe>; + /** For behavior releases only, the languages of the released behaviors */ + languages?: Maybe>; + /** The original source of the project (for dataset projects) */ + source?: Maybe; + /** An external webpage for the dataset or dataset series */ + landingPage?: Maybe; + /** The period of time the project covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints within the project (for datasets) */ + dataFrequency?: Maybe; + /** The physical area covered by the project */ + spatialCoverage?: Maybe; + /** The number of times a project has been forked */ + forkCount: Scalars['Int']; + /** The number of times a project has been starred */ + starCount: Scalars['Int']; + /** What project, if any, this project is a fork of */ + forkOf?: Maybe; + /** The paths of forks of the project the requesting user organization has */ + orgForkPaths?: Maybe>; + /** The paths of forks of the project the requesting user has */ + userForkPaths?: Maybe>; + /** The number of forks of the project the requesting user has */ + userForkCount?: Maybe; + /** The dependencies listed in a project */ + dependencies: Array; + /** The number of simulations that depend on an item within the listing */ + dependents?: Maybe; + /** A weighted score of the listing's relevance to a search query */ + relevance?: Maybe; + /** A score assigned to the popularity of the project */ + popularity: Scalars['Int']; + /** The latest release of the project (if any) */ + latestRelease?: Maybe; + /** All releases of a project */ + releases: Array; + /** A temporary URL from which the project can be downloaded as a zip file */ + downloadUrl?: Maybe; + /** The date the project was originally created */ + createdAt: Scalars['Date']; + /** The date the project was last updated */ + updatedAt: Scalars['Date']; + /** + * Whether or not the logged-in user can edit the project. To do so, one of the following must be true: + * + * 1) The user is a site admin OR + * 2) The project owner is the user OR + * 3) The project owner is an organization to which the user belongs + */ + canUserEdit: Scalars['Boolean']; + /** + * Whether or not the logged-in user can fork the project. Projects cannot be + * forked into the namespace they already exist in. + */ + canUserFork: Scalars['Boolean']; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectFilesArgs = { + withPreview?: Maybe; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectExperimentsArgs = { + limit?: Maybe; + createdFrom?: Maybe; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectHistoryArgs = { + createdBefore?: Maybe; + pageToCurrent?: Maybe; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectIssuesArgs = { + labels?: Maybe>; + state?: Maybe; +}; + + +/** A collection of files that might be a simulation, dataset(s), or behavior(s) */ +export type ProjectMergeRequestsArgs = { + state?: Maybe; +}; + +export type UserOrOrg = User | Org; + +/** A registered user of the prototype HASH ecosystem */ +export type User = { + /** The unique ID */ + id: Scalars['ID']; + /** The user's given / first name */ + givenName?: Maybe; + /** The user's GitLab ID. */ + gitId: Scalars['Int']; + /** Any additional name(s) the user has */ + additionalName?: Maybe>; + /** The user's family name / surname / last name */ + familyName?: Maybe; + /** + * The user's given and family names combined, OR their given name if no family + * name is present, OR their email if no name at all is present + */ + fullName: Scalars['String']; + /** A unique string identifying the user in HASH */ + shortname: Scalars['String']; + /** The user's role */ + role?: Maybe; + /** The user's email address */ + email?: Maybe; + /** The user's telephone number */ + telephone?: Maybe; + /** A brief description of the user's history / profile */ + biography?: Maybe; + /** Where the user is geographically based */ + location?: Maybe; + /** The language(s) the user knows */ + knowsLanguage?: Maybe>; + /** The user's website */ + url?: Maybe; + /** An image representing the user / their avatar */ + image?: Maybe; + /** The start of the user's latest session on HASH */ + lastLogin?: Maybe; + /** The user's registered payment methods */ + paymentMethods?: Maybe>; + /** How many compute seconds the user has remaining this month */ + computeUsageRemaining: Scalars['Int']; + /** The user's past invoices */ + invoices?: Maybe>; + /** Outstanding balance on a user's account for which an invoice has not been finalized */ + upcomingInvoice?: Maybe; + /** List the paths of projects a user has starred */ + starredProjects: Array; + /** Full details of projects a user has starred, sorted and paginated */ + starredProjectsDetails: UserOrOrgProjectResults; + archived?: Maybe; + /** Organisations the user belongs to, and their role in each */ + memberOf?: Maybe>; + /** Projects belonging to the namespace */ + projects: UserOrOrgProjectResults; + /** The number of projects belonging to the namespace */ + projectCount: Scalars['Int']; + /** The type of projects the namespace has available */ + projectTypes: Array; + /** Datasets which the user has write access to through ownership or sharing */ + datasets?: Maybe>; + /** The date/time the user's record was created in the database */ + createdAt: Scalars['Date']; + /** The date/time the users's record was last modified in the database */ + updatedAt: Scalars['Date']; + /** [DEPRECATED] Whether or not the user has been through the HASH onboarding tour */ + onboarded?: Maybe; + /** The user's progress through the onboarding tour */ + tourProgress?: Maybe; + /** Whether the user is a staff member */ + staffMember?: Maybe; + /** [DEPRECATED] True if the user had early access to the HASH Cloud */ + earlyCloudAccess?: Maybe; +}; + + +/** A registered user of the prototype HASH ecosystem */ +export type UserStarredProjectsDetailsArgs = { + page?: Maybe; + sort?: Maybe; +}; + + +/** A registered user of the prototype HASH ecosystem */ +export type UserProjectsArgs = { + page?: Maybe; + sort?: Maybe; + types?: Maybe>; +}; + +/** The site-wide role the user holds */ +export type Role = { + /** Role ID */ + id: Scalars['ID']; + /** Role name */ + name: Scalars['String']; + /** A longer description of the role */ + description?: Maybe; +}; + +export type PaymentMethod = { + id: Scalars['ID']; + brand?: Maybe; + expiry: Scalars['String']; + last4: Scalars['String']; + default?: Maybe; +}; + +export type Invoice = { + number: Scalars['String']; + status: Scalars['String']; + created: Scalars['Date']; + periodStart: Scalars['Date']; + periodEnd: Scalars['Date']; + total: Scalars['Int']; + /** + * For invoices requiring payment, the client secret for the PaymentIntent. + * Needed in order to process an on-session payment in the client. + */ + clientSecret?: Maybe; +}; + +export enum SortOption { + /** + * Where a text query is provided, a score representing how well the project's + * title, keywords and description match the query + */ + Relevance = 'relevance', + /** Combined view and download count for the project */ + Popularity = 'popularity', + /** The date the project was last modified */ + UpdatedAt = 'updatedAt', + /** The date the project was originally created */ + CreatedAt = 'createdAt' +} + +export type UserOrOrgProjectResults = { + /** The requested page of results */ + results: Array; + /** The total number of available results (of the selected type, if filtered) */ + totalCount: Scalars['Int']; + /** The page returned */ + page: Scalars['Int']; + /** The sort applied */ + sort: SortOption; + /** The type filter(s) applied, if any */ + types?: Maybe>; +}; + +/** The names of possible types of items a project */ +export enum ProjectTypeName { + Simulation = 'Simulation', + Dataset = 'Dataset', + Behavior = 'Behavior' +} + +export type OrgInfo = { + /** Information on the organisation */ + org: Org; + /** The user's access/permission level for the organization */ + role: Role; + /** The user's job title in the organization */ + jobTitle?: Maybe; +}; + +/** An organization, company, etc */ +export type Org = { + /** The unique ID of the organization */ + id: Scalars['ID']; + /** The short name for the organization */ + name: Scalars['String']; + /** The organization's GitLab ID. */ + gitId: Scalars['Int']; + /** Alternate name(s) the organization may be referred to as */ + alternateName?: Maybe>; + /** Free single-line text to specify organization location (see 'address' for postal address) */ + location?: Maybe; + /** The physical address(es) of the organization (see 'location' for a single line of free text) */ + address?: Maybe>; + /** A description of the organization */ + description?: Maybe; + /** The full legal name of the organization */ + legalName?: Maybe; + /** A unique string identifying the organization in HASH */ + shortname: Scalars['String']; + /** The parent organization of this organization, if any */ + parentOrganization?: Maybe; + /** The subsidiaries / child organizations of this organization, if any */ + subOrganization?: Maybe>; + /** Whether the organization is non-profit or not */ + nonProfit?: Maybe; + /** Users belonging to the organization */ + members?: Maybe>; + /** The number of users belonging to the organization */ + memberCount?: Maybe; + /** The roles available for members of the org (i.e. permissions over the org) */ + roles?: Maybe>; + /** Whether the organization's membership is made public or not */ + publicMembership: Scalars['Boolean']; + /** A way for HASH users to contact the organization with any questions */ + supportContact?: Maybe; + /** The organization's logo */ + logo?: Maybe; + /** A square avatar representing the organization */ + avatar?: Maybe; + /** Any other images associated with the organization */ + image?: Maybe; + /** The organization's website(s) */ + url?: Maybe; + /** Projects belonging to the namespace */ + projects: UserOrOrgProjectResults; + /** The number of projects belonging to the namespace */ + projectCount: Scalars['Int']; + /** The type of projects the namespace has available */ + projectTypes: Array; + /** Whether the current user may edit the org */ + canUserEdit: Scalars['Boolean']; + /** When the org's HASH record was last updated */ + updatedAt: Scalars['Date']; + /** When the org was created in HASH */ + createdAt: Scalars['Date']; +}; + + +/** An organization, company, etc */ +export type OrgProjectsArgs = { + page?: Maybe; + sort?: Maybe; + types?: Maybe>; +}; + +/** A physical address of an organization or entity */ +export type PostalAddress = { + /** The post office box number for PO box addresses. */ + postOfficeBoxNumber?: Maybe; + /** The street address. */ + streetAddress?: Maybe; + /** The locality in which the street address is (e.g. a town) */ + addressLocality?: Maybe; + /** The region (e.g. a state, county, or other top-level district in a country */ + addressRegion?: Maybe; + /** The country */ + addressCountry?: Maybe; + /** The postal code or zip code */ + postalCode?: Maybe; +}; + +/** Metadata on a dataset for use in instantiating agents and other dataset properties */ +export type Dataset = { + /** The ID used for identifying a specific dataset */ + id: Scalars['ID']; + /** A friendly name for the dataset */ + name?: Maybe; + /** The complete shortname for the dataset */ + shortname: Scalars['String']; + /** A filename for the dataset */ + filename: Scalars['String']; + /** The format of the dataset */ + format?: Maybe; + /** The file extension for the dataset, without period. e.g. 'csv' */ + extension: Scalars['String']; + /** A description, instructions or notes on the dataset */ + description?: Maybe; + /** The subject or subjects of the dataset */ + subject: Array; + /** The url from which the dataset can be downloaded */ + url?: Maybe; + /** The date/time the database record for the dataset was last updated */ + updatedAt: Scalars['Date']; + /** The date/time the dataset was added to the database */ + createdAt: Scalars['Date']; + /** The original source of the dataset */ + source?: Maybe; + /** An exteral webpage for the dataset or dataset series */ + landingPage?: Maybe; + /** The size of the dataset in bytes */ + size?: Maybe; + /** The period of time the dataset covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints within the dataset */ + temporalFrequency?: Maybe; + /** The physical area covered by the dataset */ + spatialCoverage?: Maybe; + /** A preview of the dataset's contents */ + preview?: Maybe; +}; + +/** The subject of a dataset. */ +export type Subject = { + /** The unique identifier of the subject */ + id: Scalars['ID']; + /** The name of the subject */ + name: Scalars['String']; + /** The namespace the resource belongs to, which represents either a user or an organization */ + namespace: Scalars['String']; + /** The user or organisation which owns the resource */ + owner?: Maybe; + /** Whether the owner is a user or an org */ + ownerType: OwnerTypeName; + /** The full path of the resource, including its namespace and path/name, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; + /** The level of access restriction on the resource */ + visibility: VisibilityLevel; + /** Additional description of the subject */ + description?: Maybe; + /** The subject's direct parent(s) */ + subTypeOf?: Maybe>; + /** All the subjects which this inherits from (including via its parents) */ + ancestors?: Maybe>; + /** The direct children of this subject, if any */ + children?: Maybe>; + /** The source this subject was forked from, if any */ + forkOf?: Maybe; + /** A label showing the hierarchy or hierarchies above the subject */ + parentChain?: Maybe>; + /** The subject's properties (whether belonging to itself directly, or via one of its ancestors) */ + properties?: Maybe>; + /** The license the schema is made available under */ + license?: Maybe; + /** Which version of this subject this is. */ + version?: Maybe; + /** A weighted score of the subject's relevance to a search query */ + relevance?: Maybe; + /** A score assigned to the popularity of the project */ + popularity: Scalars['Int']; + /** Whether this is a ComplexType, or a primitive DataType */ + type: SubjectType; + /** Can the requesting user edit this subject? */ + canUserEdit: Scalars['Boolean']; + /** When the subject was created */ + createdAt: Scalars['Date']; + /** When the subject was last updated */ + updatedAt: Scalars['Date']; +}; + +/** The type of entity that owns the project */ +export enum OwnerTypeName { + User = 'User', + Org = 'Org' +} + +/** The level of access restriction on the project */ +export enum VisibilityLevel { + /** Projects can be accessed by anyone */ + Public = 'public', + /** Projects can only be accessed by users who have been granted access (either directly or via group membership) */ + Private = 'private' +} + +export type SchemaReference = { + name: Scalars['String']; + namespace: Scalars['String']; + version?: Maybe; +}; + +export type PropertiesBySchema = { + id: Scalars['ID']; + schema: SchemaReference; + properties: Array; +}; + +export type Property = { + /** The unique identifier of the subject */ + id: Scalars['ID']; + /** The property name */ + name: Scalars['String']; + /** The namespace the resource belongs to, which represents either a user or an organization */ + namespace: Scalars['String']; + /** The user or organisation which owns the resource */ + owner?: Maybe; + /** Whether the owner is a user or an org */ + ownerType: OwnerTypeName; + /** The full path of the resource, including its namespace and path/name, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; + /** The level of access restriction on the resource */ + visibility: VisibilityLevel; + /** A description of the property */ + description?: Maybe; + /** The subject(s) the property belongs directly to */ + propertyOf: Array; + /** The type of property or subject expected in this field */ + expectedType: Array; + /** The superproperty of this property, if any */ + subPropertyOf?: Maybe>; + /** The subproperties of this property, if any */ + subProperties?: Maybe>; + /** The property which superseded this property, if any */ + supersededBy?: Maybe; + /** The inverse of this property, if anything */ + inverseOf?: Maybe; + /** Which version of this property this is. */ + version?: Maybe; + /** Can the requesting user edit this property? */ + canUserEdit: Scalars['Boolean']; + /** When the property was created */ + createdAt: Scalars['Date']; + /** When the property was last updated */ + updatedAt: Scalars['Date']; +}; + +/** A license under which a creative work is made available for viewing or use. */ +export type License = { + /** The unique identifier of the license */ + id: Scalars['ID']; + /** An additional slug identifier for the license */ + key?: Maybe; + /** The name of the license */ + name: Scalars['String']; + /** Additional description of the license */ + description?: Maybe; + /** A link to an explanation of the license's terms */ + url?: Maybe; + /** Whether the license is the default assigned when publishing to the Index */ + default?: Maybe; + /** Whether the license is not part of the core list of selectable licenses - it is available for use only if searched for */ + nonCore?: Maybe; + /** A URL for a logo for the license */ + logo?: Maybe; +}; + +export enum SubjectType { + ComplexType = 'ComplexType', + DataType = 'DataType' +} + +export type TourProgress = { + completed: Scalars['Boolean']; + version?: Maybe; + lastStepViewed?: Maybe; +}; + +/** A file in a project repository */ +export type ProjectFile = { + /** A unique identifier within the repo */ + id: Scalars['ID']; + /** The filename */ + name: Scalars['String']; + /** The full path to the file within the repository */ + path: Scalars['String']; + /** + * The path the user refers to this by in their simulation logic. + * If this is an imported dependency, its full path. + * e.g. in the format @[namespace]/[slug]/[filename.ext] + * For legacy behavior requests, this will be @[namespace]/[filename.ext] + * For local datasets/behaviors, the filename. + */ + dependencyPath: Scalars['String']; + /** The contents of the file */ + contents: Scalars['String']; + /** The size of the file in bytes */ + size: Scalars['Int']; + /** The id of the last commit that affected the file */ + lastCommit: Scalars['String']; + /** The id of the commit this file is from */ + commit: Scalars['String']; + /** The branch or tag this version of the file is from */ + ref: Scalars['String']; + /** "The type of file. Only currently implemented for Dataset */ + type?: Maybe; + /** The discovered subject of the dataset */ + discoveredSubject?: Maybe; +}; + +export enum ProjectFileType { + Dataset = 'Dataset', + Behavior = 'Behavior' +} + +export type ProjectHistoryReturn = { + items: Array; + next?: Maybe; + remaining: Scalars['Boolean']; + receivedCurrent: Scalars['Boolean']; +}; + +export type ProjectHistoryItem = { + itemType: ProjectHistoryItemType; + item: ProjectHistoryItemItem; + createdAt: Scalars['Date']; +}; + +export enum ProjectHistoryItemType { + Release = 'Release', + CommitGroup = 'CommitGroup', + ExperimentRun = 'ExperimentRun' +} + +export type ProjectHistoryItemItem = ReleaseBasic | CommitGroup | ExperimentRun; + +/** Basic information about a release */ +export type ReleaseBasic = { + /** The version number */ + tag: Scalars['String']; + /** The date of the release */ + createdAt: Scalars['Date']; + /** A note accompanying the release (e.g. changes since last version) */ + description?: Maybe; + /** The files exported from the release (or a subset of them if requested) */ + files: Array; +}; + + +/** Basic information about a release */ +export type ReleaseBasicFilesArgs = { + withPreview?: Maybe; +}; + +export type CommitGroup = { + commits: Array; +}; + +export type Commit = { + /** A unique id for the commit */ + id: Scalars['ID']; + /** The commit message */ + message: Scalars['String']; + /** Statistics on additions and deletions from the commit */ + stats: CommitStats; + /** The time at which the commit was created */ + createdAt: Scalars['Date']; +}; + +export type CommitStats = { + /** Lines added */ + additions: Scalars['Int']; + /** Lines deleted */ + deletions: Scalars['Int']; + /** Total actions */ + total: Scalars['Int']; +}; + +export enum IssueLabel { + Bug = 'bug', + Comment = 'comment', + Request = 'request', + Question = 'question' +} + +export enum IssueState { + Opened = 'opened', + Closed = 'closed' +} + +/** An issue raised on a project */ +export type Issue = { + /** The unique identifier of the issue globally */ + id: Scalars['Int']; + /** The unique identifier of the issue within the project */ + iid: Scalars['Int']; + /** The title of the issue */ + title: Scalars['String']; + author?: Maybe; + /** A description of the issue */ + description: Scalars['String']; + /** Label(s) representing the issue's type(s) */ + labels: Array; + /** Whether the issue is open or closed */ + state: IssueState; + /** Awards (emoji) the issue has received */ + awards: Array; + /** Discussion threads on the issue */ + discussions: Array; + /** Number of comments on the issue */ + notesCount: Scalars['Int']; + createdAt: Scalars['Date']; + updatedAt: Scalars['Date']; + closedAt?: Maybe; + closedBy?: Maybe; +}; + +export type Award = { + id: Scalars['Int']; + /** The name of the award emoji (e.g. "thumbs-up") */ + name: EmojiName; + /** The shortname of the awarding user */ + author: Scalars['String']; +}; + +export enum EmojiName { + Thumbsup = 'thumbsup', + Thumbsdown = 'thumbsdown' +} + +/** A discussion thread on an issue or merge request */ +export type Discussion = { + /** The unique identifier of the discussion globally */ + id: Scalars['String']; + /** Notes (comments) in the discussion thread */ + notes: Array; +}; + +export type Note = { + author?: Maybe; + /** Emojis awarded to the note */ + awards: Array; + /** The text content of the note */ + body: Scalars['String']; + /** When the note was originally created */ + createdAt: Scalars['Date']; + /** A globally unique id for the note */ + id: Scalars['Int']; + /** The unique identifier of the noteable item within the project (iid) */ + noteableIid: Scalars['Int']; + /** The type of noteable item */ + noteableType: NoteableTypeName; + /** Whether or not it is possible to resolve/unresolve a note (Merge Requests only) */ + resolvable: Scalars['Boolean']; + /** For resolvable notes, whether or not it is currently resolved */ + resolved?: Maybe; + /** The shortname of the user who resolved the note */ + resolvedBy?: Maybe; + /** If the note is system-generated rather than user text content */ + system: Scalars['Boolean']; + /** The last time the note was updated */ + updatedAt: Scalars['Date']; +}; + +export enum NoteableTypeName { + Issue = 'Issue', + MergeRequest = 'MergeRequest' +} + +export type ContributorInfo = { + id: Scalars['ID']; + shortname: Scalars['String']; + image: Scalars['String']; + contributions: ContributionData; +}; + +export type ContributionData = { + commits: Scalars['Int']; +}; + +export enum MergeRequestState { + Opened = 'opened', + Closed = 'closed', + Locked = 'locked', + Merged = 'merged' +} + +/** A request to merge changes into a project branch */ +export type MergeRequest = { + /** The unique identifier of the merge request globally */ + id: Scalars['Int']; + /** The unique identifier of the merge request within the project */ + iid: Scalars['Int']; + /** The path of the project the merge request originated from, in the format @namespace/path */ + sourcePath: Scalars['String']; + /** The path of the project the merge request is opened against, in the format @namespace/path */ + projectPath: Scalars['String']; + /** The title of the merge request */ + title: Scalars['String']; + author?: Maybe; + /** A description of the merge request */ + description: Scalars['String']; + /** Label(s) representing the merge request's type(s) */ + labels?: Maybe>; + /** The list of files changed as part of the merge request */ + changes: Array; + /** Conflicts between the source and target branch, if any */ + conflicts?: Maybe>; + /** Whether the merge request is open, closed, or merged */ + state: MergeRequestState; + /** Whether or not the merge request may be merged */ + mergeable: Scalars['Boolean']; + /** Whether or not the merge request has conflicts */ + hasConflicts: Scalars['Boolean']; + /** Whether or not the merge request is marked as draft */ + workInProgress: Scalars['Boolean']; + /** Awards (emoji) the merge request has received */ + awards: Array; + /** Discussion threads on the merge request */ + discussions: Array; + /** Number of comments on the merge request */ + notesCount: Scalars['Int']; + createdAt: Scalars['Date']; + updatedAt: Scalars['Date']; + closedAt?: Maybe; + closedBy?: Maybe; + mergedAt?: Maybe; + mergedBy?: Maybe; +}; + +export enum MergeRequestLabel { + Bugfix = 'bugfix', + Feature = 'feature', + Enhancement = 'enhancement' +} + +export type FileChange = { + deletedFile?: Maybe; + diff: Scalars['String']; + newFile?: Maybe; + newPath?: Maybe; + oldPath?: Maybe; + aMode?: Maybe; + bMode?: Maybe; + renamedFile?: Maybe; +}; + +export type MergeRequestConflict = { + filePath: Scalars['String']; + diff: Scalars['String']; +}; + +/** The languages in use in the project as of the latest release */ +export type LanguageSplit = { + language: BehaviorLanguage; + percentage: Scalars['Float']; +}; + +export enum BehaviorLanguage { + JavaScript = 'JavaScript', + Python = 'Python', + Rust = 'Rust' +} + +export type ForkOfProject = { + /** Project slug */ + path: Scalars['String']; + /** The namespace the project belongs to */ + namespace: Scalars['String']; + /** The full path of the project, including its namespace and path, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; +}; + +/** A release of specific files from a project, with a version tag */ +export type Release = { + /** An id for the project */ + id: Scalars['String']; + /** A friendly name for the project */ + name: Scalars['String']; + /** The slug/shortname of the project */ + path: Scalars['String']; + /** The visibility of the project */ + visibility: VisibilityLevel; + /** The namespace the project belongs to, which represents either a user or an organization */ + namespace: Scalars['String']; + /** The type of project this release relates to */ + type: ProjectTypeName; + /** The full path of the project, including its namespace and path, in the format @namespace/path */ + pathWithNamespace: Scalars['String']; + /** A description of the release */ + description?: Maybe; + /** The specific release tag/version these files relate to */ + tag: Scalars['String']; + /** The date this version was released */ + createdAt: Scalars['Date']; + /** The files exported from the release (or a subset of them if requested) */ + files: Array; + /** Provides the tag from the most recent release */ + latestReleaseTag: Scalars['String']; + /** The date of the latest release */ + latestCreatedAt: Scalars['String']; + /** + * Whether or not the logged-in user can edit the release's source project. To do so, one of the following must be true: + * + * 1) The user is a site admin OR + * 2) The project owner is the user OR + * 3) The project owner is an organization to which the user belongs + */ + canUserEdit: Scalars['Boolean']; +}; + +export enum ExperimentPackageName { + Simple = 'simple', + Single = 'single', + Optimization = 'optimization' +} + +export type ExperimentPackageData = { + /** The properties changed in an experiment (if known on creation) */ + changedProperties?: Maybe>; + /** For optimization experiments, the metric to optimize for */ + metricName?: Maybe; + /** For optimization experiments, the objective for the metric */ + metricObjective?: Maybe; + /** The maximum number of runs to try in an experiment */ + maxRuns?: Maybe; + /** The maximum number of steps a run should go for */ + maxSteps?: Maybe; + /** The minimum number of steps a run should go for before being terminated */ + minSteps?: Maybe; + /** For optimization experiments, combinations of parameter values to use for the first runs. */ + initialPoints?: Maybe>; + /** For optimization experiments, the fields to explore as hyperparameters */ + fields?: Maybe>; +}; + +export enum MetricObjective { + Max = 'max', + Min = 'min' +} + +export type OptimizationField = { + name: Scalars['String']; + /** A range of values to explore */ + range?: Maybe; + /** Discrete values to explore */ + values?: Maybe>>; + /** A distribution of values to explore */ + distribution?: Maybe; + /** For normal distribution */ + mean?: Maybe; + /** For normal distribution */ + std?: Maybe; + /** For beta distribution */ + alpha?: Maybe; + /** For beta distribution */ + beta?: Maybe; + /** For logNormal distribution */ + mu?: Maybe; + /** For logNormal distribution */ + sigma?: Maybe; + /** For poisson distribution */ + rate?: Maybe; + /** For gamma distribution */ + shape?: Maybe; + /** For gamma distribution */ + scale?: Maybe; +}; + + +export enum DistributionName { + Normal = 'normal', + LogNormal = 'logNormal', + Poisson = 'poisson', + Beta = 'beta', + Gamma = 'gamma' +} + +export type SimulationPackageData = { + name: Scalars['String']; + data?: Maybe; +}; + +export type SimulationRun = { + id: Scalars['ID']; + /** + * The specific property values different in this SimulationRun compared to the + * others in the ExperimentRun. Will be null if this was a single-run experiment. + */ + propertyValues?: Maybe; + /** [DEPRECATED] - obsolete null value */ + propertiesSrc?: Maybe; + /** An optional name to help identify the SimulationRun */ + name?: Maybe; + /** For optimization experiments, the value of the metric of interest at the end of this run */ + metricOutcome?: Maybe; + /** The folder in s3 this run's output is stored in, in the hash-experiments bucket */ + s3Key: Scalars['String']; + /** the ExperimentRun this is a part of */ + experimentRun: ExperimentRun; + /** The path to the project this run is associated with */ + projectPath: Scalars['String']; + /** The commit this run's source code can be found at */ + commit: Scalars['String']; + /** [DEPRECATED - use ExperimentRun.simulationFiles] The source code used to generate this run */ + files?: Maybe>; + /** URL to retrieve the JSON files containing steps data */ + stepsLink?: Maybe; + /** URL to retrieve the JSON files containing analysis data */ + analysisLink?: Maybe; + /** When the SimulationRun was initiated. */ + createdAt: Scalars['Date']; + /** When the SimulationRun was last updated (e.g. to be renamed) */ + updatedAt?: Maybe; +}; + +export type ExperimentPlan = { + plan: Scalars['JSONObject']; + definition: Scalars['JSONObject']; +}; + +/** A keyword used to tag an item in the Index to indicate its theme, content, subject matter, etc */ +export type Keyword = { + /** The keyword itself */ + name: Scalars['String']; + /** How many times the keyword appears across all Index listings */ + count?: Maybe; +}; + +/** A 3D Object for use in visualizing simulations */ +export type PolyModel = { + /** The unique slug for the 3D model */ + slug: Scalars['String']; + /** The path to the folder all the model assets are stored in */ + folderPath: Scalars['String']; + /** Urls for resource files making up the 3D model */ + resourceUrls: Array; +}; + +export enum OldProjectType { + Simulation = 'Simulation', + IndexListing = 'IndexListing' +} + +export enum SpecialProjectType { + Onboarding = 'Onboarding', + Example = 'Example', + Featured = 'Featured' +} + +export enum SearchableTypeName { + Simulation = 'Simulation', + Dataset = 'Dataset', + Behavior = 'Behavior', + Schema = 'Schema' +} + +export type ProjectSearchResults = { + /** The results for the query, limited to the request page */ + results: Array; + /** The number of results requested */ + perPage: Scalars['Int']; + /** The page requested */ + page: Scalars['Int']; + /** The total number of listings matching the query */ + totalCount: Scalars['Int']; + /** The field by which the results have been sorted */ + sort?: Maybe; +}; + +export type SearchableType = Project | Subject; + +export type GitHubScraper = { + createdAt: Scalars['Date']; + creator: User; + files: Array; + frequency: ScraperFrequency; + lastCheckedAt?: Maybe; + lastReleaseAt?: Maybe; + name?: Maybe; + namespace: Scalars['String']; + path: Scalars['String']; + repoPath: Scalars['String']; + status?: Maybe; +}; + +export type GitHubScraperFile = { + fileDownloadUrl: Scalars['String']; + filepathInRepo: Scalars['String']; + filenameInHASH: Scalars['String']; + nameInHASH?: Maybe; +}; + +export enum ScraperFrequency { + Daily = 'daily', + Weekly = 'weekly', + Monthly = 'monthly' +} + +export enum ScraperStatus { + Active = 'active', + Error = 'error', + Paused = 'paused' +} + +export type Source = { + name?: Maybe; + url?: Maybe; + publisher?: Maybe; +}; + +/** Whether to filter a response by a particular project type, or all projects */ +export enum ProjectTypeFilter { + Simulation = 'Simulation', + Dataset = 'Dataset', + Behavior = 'Behavior', + All = 'All' +} + +export enum UserSortOption { + CreatedAt = 'createdAt', + LastLogin = 'lastLogin', + ProjectCount = 'projectCount', + Role = 'role' +} + +export enum SortDirection { + Asc = 'Asc', + Desc = 'Desc' +} + +export type UsersResult = { + totalCount: Scalars['Int']; + users: Array; + page: Scalars['Int']; + sort: UserSortOption; + sortDirection: SortDirection; + filter?: Maybe; +}; + +/** An enum of possible source types. */ +export enum SourceTypeName { + Mapbox = 'mapbox', + Bigquery = 'bigquery', + Mongodb = 'mongodb', + Snowflake = 'snowflake', + Elasticsearch = 'elasticsearch', + S3 = 's3' +} + +/** + * An integration for connecting to other data sources and APIs. + * Consists of _exactly one_ source configuration (host, port, database, etc) and _exactly one_ credential. + * Can be owned by either a user or an organization. + * If owned by an organization, only an admin can modify it, but any member of the organization can access it. + */ +export type Integration = { + /** The ObjectId of the integration in MongoDB. */ + id: Scalars['ID']; + /** The user-defined name of the integration. Any given owner-name-type combination must be unique. */ + name: Scalars['String']; + /** The type of source that this is an integration for. Currently only Mapbox. Later BigQuery, Snowflake etc. */ + type: SourceTypeName; + /** The ObjectId of the attached credential for this integration. */ + credentialId: Scalars['String']; + /** The ObjectId of the owner of this integration. */ + ownerId: Scalars['ID']; + /** The owner itself -- either a user or an organization. Could theoretically be a simulation project itself in the future. */ + owner?: Maybe; + /** + * Authorization information for this credential. Only relevant to the availableIntegrations endpoint, + * where it contains information about when and how a user gave authorization for an integration to be used in a project. + */ + authorization?: Maybe; + /** Source configuration information for this integration. Hostnames, databases, etc. */ + source: SubSource; +}; + +/** An authorization for an integration to be used by a project. */ +export type Authorization = { + /** When the authorization was initially granted. */ + grantedAt: Scalars['Date']; + /** The user that initially granted the authorization. */ + grantedBy: Scalars['ID']; + /** + * A map of user IDs to: { + * date: Date! + * asName: String! + * } + * To be used for finding the authorized integration the user is currently using for simulation runs. + * i.e., for a given user/project/required-integration-name combination, whichever authorization was used most + * recently is the one the user is using. Hit the permitIntegration endpoint to update a + * combination to the most recently used. + */ + lastAuthorized?: Maybe; +}; + +/** Source configuration information for an integration of a specific type. */ +export type SubSource = { + /** The ID of the source. */ + id: Scalars['ID']; + /** A user-defined nickname for the source. Any given owner-name-type combination must be unique. */ + name: Scalars['String']; + /** The type of configuration. Currently only mapbox. */ + type: SourceTypeName; + /** The ID of the owner of this source. */ + ownerId: Scalars['ID']; + /** The owner itself. An organization or user. */ + owner: UserOrOrg; + /** The type-specific source information. */ + configuration: SourceType; + /** A list of the types of credentials that are compatible with this source. */ + allowedCredentials: Array; +}; + +/** A union of all possible configuration types. */ +export type SourceType = Mapbox | BigQuery | MongoDb | Snowflake | ElasticSearch | S3 | Unknown; + +/** Configuration information for Mapbox. */ +export type Mapbox = { + baseUrl?: Maybe; +}; + +/** Configuration information for Google BigQuery. */ +export type BigQuery = { + /** + * The base URL to query against. Example: https://bigquery.googleapis.com/bigquery/v1/projects/some-project-id/queries + * If not specified, will be literally https://bigquery.googleapis.com/bigquery/v1/projects/$projectId/queries. + */ + url?: Maybe; + /** The ID of the _Google Cloud_ project (no relation to HASH project IDs). */ + projectId: Scalars['String']; + /** The ID of the _Google Cloud_ dataset that will be queried. */ + datasetId: Scalars['String']; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Some valid SQL statement to use when querying the dataset. + * Should be in a format that runs successfully in Google's query editor. Example: + * "#standardSQL\nSELECT\n growth.country_name,\n growth.net_migration,\n + * CAST(area.country_area AS INT64) AS country_area\nFROM (\n SELECT\n + * country_name,\n net_migration,\n country_code\n FROM\n + * `bigquery-public-data.census_bureau_international.birth_death_growth_rates`\n + * WHERE\n year = 2020) growth\nINNER JOIN (\n SELECT\n country_area,\n + * country_code\n FROM\n + * `bigquery-public-data.census_bureau_international.country_names_area`) + * area\nON\n growth.country_code = area.country_code\nORDER BY\n net_migration DESC", + */ + query?: Maybe; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Whether the query is using Legacy SQL features. Almost invariably false, and the user will likely know if it isn't. + */ + useLegacySql?: Maybe; +}; + +/** Configuration information for MongoDB. */ +export type MongoDb = { + /** Base database configuration information (host, port, et cetera). */ + store: Datastore; + /** Optional. The name of the replica set. */ + replicaSet?: Maybe; + /** Optional. The name of the authentication database. Defaults to admin or $external depending on linked credentials. */ + authenticationDatabase?: Maybe; + /** Optional. The authentication mechanism to use. Default depends on linked credentials. */ + authenticationMechanism?: Maybe; +}; + +/** Composition-over-inheritance type for common configuration fields for databases. */ +export type Datastore = { + /** The host and port of the server(s) to connect to. */ + servers: Array; + /** The name of the database to connect to. */ + database: Scalars['String']; + /** Connection string options for this specific connection. Example: timezone=UTC&batchInsert=False */ + options?: Maybe; + /** Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0 */ + version?: Maybe; +}; + +/** An individual server for an integration. */ +export type Server = { + /** The host uri. Examples: 127.0.0.1 or https://localhost or mymongoserver.example.com. */ + host: Scalars['String']; + /** The port. */ + port: Scalars['Int']; +}; + +/** Configuration information for Snowflake. */ +export type Snowflake = { + /** + * The Snowflake account name. Example: if the Snowflake URL for the user is mycompany.snowflakecomputing.com, + * the value here would just be 'mycompany'. + */ + accountName: Scalars['String']; + /** The warehouse name. */ + warehouse: Scalars['String']; + /** The database name. */ + database: Scalars['String']; + /** The name of the schema. This is the schema as understood by Snowflake, and is not related to HASH schemas. */ + schema: Scalars['String']; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Some valid SQL statement to use when querying the store. + */ + query?: Maybe; + /** Optional. The role to use. */ + role?: Maybe; +}; + +/** Configuration information for ElasticSearch. */ +export type ElasticSearch = { + /** Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0 */ + version?: Maybe; + /** Optional. The name of the index to query against. */ + indexName?: Maybe; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * The query JSON to run. Example: "{"query":{"match_all":{}}}" + */ + query?: Maybe; + /** Server information for the elasticsearch cluster. */ + server: Server; +}; + +/** Configuration information for an S3 bucket. */ +export type S3 = { + /** The name of the bucket. */ + bucket: Scalars['String']; + /** + * The object key or object key pattern. Example: if the S3 URI is + * s3://hash-terraform-state-s3-backend/base/terraform.tfstate, + * the key is "base/terraform.tfstate", and a matching pattern could be "base/*.tfstate". + */ + key: Scalars['String']; + /** The AWS region the bucket is located in. Example: us-east-1. */ + region: Scalars['String']; + /** The format of the source file. */ + format: FileFormat; +}; + +/** An enum of possible file types in S3 (or in the future other object storage services) */ +export enum FileFormat { + Csv = 'csv', + Json = 'json', + Parquet = 'parquet' +} + +/** A type that could not be determined. */ +export type Unknown = { + unknown?: Maybe; +}; + +/** An enum of the names of all accepted secret types. */ +export enum CredentialType { + Token = 'token', + Googleserviceaccount = 'googleserviceaccount', + Userpass = 'userpass', + Ldap = 'ldap', + Kerberos = 'kerberos', + X509 = 'x509', + Aws = 'aws' +} + +/** An integration including the secret itself of the linked credential. Only accessible through the integration endpoint. */ +export type FullIntegration = { + /** The ObjectId of the integration in MongoDB. */ + id: Scalars['ID']; + /** The user-defined name of the integration. Any given owner-name-type combination must be unique. */ + name: Scalars['String']; + /** The type of source that this is an integration for. Currently only Mapbox. Later BigQuery, Snowflake etc. */ + type: SourceTypeName; + /** The ObjectId of the attached credential for this integration. */ + credentialId?: Maybe; + /** The credential itself. This _WILL_ contain the secret itself if requested by an authorized entity. (!) */ + credential?: Maybe; + /** The ObjectId of the owner of this integration. */ + ownerId: Scalars['ID']; + /** The owner itself -- either a user or an organization. Could theoretically be a simulation project itself in the future. */ + owner?: Maybe; + /** + * Authorization information for this credential. Currently only relevant to the availableIntegrations endpoint, + * where it contains information about when and how a user gave authorization for an integration to be used in a project. + */ + authorization?: Maybe; + /** Source configuration information for this integration. Hostnames, databases, etc. */ + source: SubSource; +}; + +/** A credential for accessing an integration. */ +export type Credential = { + /** User-defined name of the credential. Any given pair of owner ID and name must be unique. */ + name: Scalars['String']; + /** The type of credential to store. Currently only supports persistent tokens. Later GCP credentials, keytabs, etc. */ + type: CredentialType; + /** The credential itself. Currently only supports persistent tokens. Later GCP credentials, keytabs, etc. */ + secret: SecretType; + /** The ID of the owning entity -- either a User or an Organization. */ + ownerId: Scalars['ID']; + /** When the credential was created. */ + createdAt: Scalars['Date']; + /** When the credential was last updated. */ + updatedAt: Scalars['Date']; + /** The user that last altered the credential. */ + updatedBy: Scalars['ID']; +}; + +/** A union type for all accepted secret types. */ +export type SecretType = Token | GoogleServiceAccount | UserPass | Ldap | Kerberos | Aws | X509; + +/** A secret type for persistent (non-expiring) tokens. */ +export type Token = { + /** A string of the token itself. */ + accessToken: Scalars['String']; +}; + +/** + * A resolved secret type for Google Cloud service account credentials. + * The key names differ from the conventional format because they are aligned with those of GCP. + */ +export type GoogleServiceAccount = { + /** The type of account. Must be "service_account". */ + type: Scalars['String']; + /** The project ID. Typically matches the project ID of the source it is used with. */ + project_id: Scalars['String']; + /** The ID of the private key for the account. */ + private_key_id: Scalars['String']; + /** The private key itself. */ + private_key: Scalars['String']; + /** The email address associated with the service account. */ + client_email: Scalars['String']; + /** The ID of the client. */ + client_id: Scalars['String']; + /** The URI of the authentication endpoint. */ + auth_uri: Scalars['String']; + /** The URI of the token endpoint. */ + token_uri: Scalars['String']; + /** The endpoint for x509 certification. */ + auth_provider_x509_cert_url: Scalars['String']; + /** The client x509 certification url. */ + client_x509_cert_url: Scalars['String']; +}; + +/** A static username and password. */ +export type UserPass = { + /** The username. */ + username: Scalars['String']; + /** The password. */ + password: Scalars['String']; +}; + +/** + * LDAP authentication information. Depending on configuration, the username may be of a + * templated format like alice@place.example.com, or the literal distinguished name + * of a format like cn=admin,dc=example,dc=com + */ +export type Ldap = { + /** The username. */ + username: Scalars['String']; + /** Optional. The password. */ + password?: Maybe; + /** The full distinguished name. Example: 'CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM' */ + distinguishedName: Scalars['String']; +}; + +/** Kerberos authentication information. */ +export type Kerberos = { + /** The name of the realm. Example: UPENN.EDU */ + realm: Scalars['String']; + /** The location of the kdc server(s). Example: ["kerberos1.upenn.edu", "kerberos2.upenn.edu", "kerberos3.upenn.edu"] */ + kdcAddresses: Array; + /** The fully qualified principal name. Example: bob@UPENN.EDU */ + principal: Scalars['String']; + /** The serialized keytab file and/or password for this principal. */ + userKey: Scalars['String']; +}; + +/** + * AWS authentication information. This is the _only_ accepted way to use AWS authorization. + * See: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html + */ +export type Aws = { + /** + * A unique ID generated by the user to be used as a password/key when assuming the IAM role. + * See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html for more information. + * This should be generated in-browser with instructions/links for the user to follow to set this up. + * This key will never be shown to the user again, so warn them to properly set it up first. + */ + externalId: Scalars['String']; + /** The Amazon Resource Name of the role to use. This role must have access to whatever resources it needs. */ + roleArn: Scalars['String']; + /** Whether to include a temporary session token in requests. */ + useSessionToken: Scalars['Boolean']; +}; + +/** + * X.509 (TLS and/or SSL) authentication information. This is for the fairly niche case where the source requires + * HTTPS communication, but is using its own self-signing certificate authority. + */ +export type X509 = { + /** The x.509 PEM file for the client to use. */ + certificateKeyFilePem: Scalars['Upload']; + /** The Certificate Authority file to trust, that signed both the client and the target instance's certificates. */ + certificateAuthorityFile: Scalars['Upload']; +}; + + +/** The full resolved integration for a project. */ +export type ResolvedIntegration = { + /** The shortname of the integration referred to in the project. */ + name: Scalars['String']; + /** The integration itself. */ + integration: FullIntegration; +}; + +/** The mutation operations available in this schema */ +export type Mutation = { + /** [DEPRECATED] Register an occurence of an event */ + registerEvent?: Maybe; + /** Register an occurence of events */ + registerEvents?: Maybe; + /** Clear all cached data */ + clearCache?: Maybe; + snapshot: Scalars['Boolean']; + /** Promote a version to production */ + promoteToLive?: Maybe; + /** Delete an existing credential. */ + deleteCredential: Scalars['Boolean']; + /** Create an entry in the database for the dataset and request a signed URL for uploading the file */ + addDataset: DatasetInit; + /** Update the dataset's metadata */ + updateDataset?: Maybe; + /** Add a dataset to a project. */ + addDatasetToProject: Project; + /** Remove a dataset from a project */ + removeDatasetFromProject: Project; + /** Update the name of a dataset in a project */ + updateDatasetName: Project; + /** Publish a dataset from the dataset approval queue (admin only) */ + publishDataset?: Maybe; + /** Ignore or un-ignore a scraped dataset (for approval queue filtering) */ + setDatasetStatus?: Maybe; + /** + * Internal and system accounts only -- link and release an already persisted dataset. + * Includes discovered schema only if it has changed. + */ + addAndReleaseDataset: UpdateAndReleaseReturn; + /** Create a discussion note on a 'noteable' (e.g. an issue or merge request) */ + createDiscussion: NoteableType; + /** Add a reply to a discussion thread */ + createDiscussionReply: Discussion; + /** Edit a note/comment */ + editNote: Note; + /** Resolve or unresolve an entire discussion thread */ + updateDiscussionStatus: Discussion; + /** Awards an emoji to a note */ + awardEmojiToNote: Note; + /** Removes an emoji from a note */ + removeEmojiFromNote: Note; + /** Awards an emoji to an item that can receive comments (e.g. a merge request issue) */ + awardEmojiToNoteable: NoteableType; + /** Remove an emoji from an item that can receive comments (e.g. a merge request issue) */ + removeEmojiFromNoteable: NoteableType; + /** + * Creates an ExperimentRun with a name - looks up the experiment name from the repo's experiments.json, and then: + * (1) for each necessary run in the experiment, applies the changed properties to the + * Simulation repository in a new commit + * (2) constructs an s3 folder to save the output of the SimulationRun to. + * format: [userId]/[experimentRunId]/[simulationRunId] + * + * Each SimulationRun has an s3Key indicating where its data is/should be saved. + * + * s3 Bucket: hash-experiments + * + * A single SimulationRun experiment using an exact copy of the referenced + * simulation can be created by passing singleRun: true + */ + createExperimentRun: ExperimentRunInitialData; + createSimulationRun: SimulationRunInitialData; + /** + * Report cloud compute usage for an ExperimentRun. Multiple reports may be made + * to update the usage count, until the report is finalised + */ + reportComputeUsage: ExperimentRun; + /** Provide a name for a experiment run */ + updateExperimentRun: ExperimentRun; + /** Provide a name or the outcome for a simulation run */ + updateSimulationRun: SimulationRun; + /** + * Deletes an experiment run and each simulation run within it, including the + * stored output and the immutable simulation variants used in the experiment. + * Does not delete the original simulation that the experiment was called from. + */ + deleteExperimentRun?: Maybe; + /** + * Deletes a simulation run, including the stored output and the immutable + * simulation variant used to produce the run. Does not delete the original + * simulatiton the experiment was based on, nor other simulation runs in the same + * experiment. Returns the updated ExperimentRun without the deleted SimulationRun. + */ + deleteSimulationRun: ExperimentRun; + /** Set computeUsageRemaining for a user */ + setComputeUsage?: Maybe; + /** Create an issue on a project */ + createIssue: Issue; + /** Edit a project issue */ + editIssue: Issue; + /** Create an merge request */ + createMergeRequest: MergeRequest; + /** Edit a project merge request */ + editMergeRequest: MergeRequest; + /** Accept a merge request and merges its changes in */ + acceptMergeRequest: MergeRequest; + /** Adds git conflicts as a separate commit to be resolved in hCore */ + commitConflictsToMergeRequest: MergeRequest; + /** Add an organization, under a 'data' key, as an object following the shape defined by type OrgInput */ + addOrg?: Maybe; + /** + * Update a specific organization, identified by the ID provided under the 'id' + * key, with the fields to be added or updated under 'data' + */ + updateOrg?: Maybe; + /** + * Delete a specific organization, identified by the ID provided under the + * 'orgId' key. User be an admin of the organization Returns true if successful. + */ + deleteOrg?: Maybe; + /** Adds a user to an organization. */ + addUserToOrg?: Maybe; + /** Removes a user from an organization. */ + removeUserFromOrg?: Maybe; + /** Remove yourself from an organization. */ + removeMeFromOrg?: Maybe; + /** Update your job title in an organiization */ + updateMyJobTitle?: Maybe; + /** Update a user's role in an organization. */ + updateUserOrgRole?: Maybe; + /** Create a new project. Defaults to creating it in the current user's namespace if no other namespace is provided. */ + createProject: Project; + /** Create a commit in a project's repository */ + createCommit: CreateCommitReturn; + /** Creates a release of the project */ + createRelease: ReleaseBasic; + /** Deletes a project */ + deleteProject: Scalars['Boolean']; + /** Fork a project into another namespace, optionally renaming it */ + forkProject: Project; + /** Update a project's metadata */ + updateProject: Project; + /** + * Updates a project's metadata and then creates a release from the updated + * project. A wrapper around the separate 'updateProject' and 'release' + * mutations, guaranteeing update before release. + */ + updateAndRelease: UpdateAndReleaseReturn; + /** + * Forks a project and then applies an update. A wrapper around the separate + * 'forkProject' and 'updateProject' mutations. If the update fails, the fork + * will be deleted + */ + forkAndUpdate: Project; + /** + * Forks a project and then applies a commit. A wrapper around the separate + * 'forkProject' and 'createCommit'. If the commit fails, the fork will be deleted. + */ + forkAndCommit: ForkAndCommitReturn; + /** + * Forks a project, applies an update, and creates a release of the specified + * behavior file(s) from it, followed by updating the original project to import + * the newly released behavior(s) and delete the local copies. If any step fails, + * the fork will be deleted. + * + * update.files must be provided, specifying the name and path of file(s) within + * the repo to be exported as part of the release + */ + forkAndReleaseBehavior: ForkAndReleaseBehaviorReturn; + /** Star a project */ + starProject: StarReturn; + /** Unstar a project */ + unstarProject: StarReturn; + /** Request an access code for a private project. This may not always be unique. */ + requestPrivateProjectAccessCode: ProjectAccessCodeReturn; + addGitHubScraper: GitHubScraper; + /** Create a subject/type */ + createSubject: Subject; + /** Copies a subject to another namespace */ + forkSubject: Subject; + /** Updates a subject */ + updateSubject: Subject; + /** Creates a property */ + createProperty: Property; + /** Updates a property */ + updateProperty: Property; + /** Delete an existing source. */ + deleteSource: Scalars['Boolean']; + /** Add a user to the system */ + addUser?: Maybe; + /** Update a user's details (admins only) */ + updateUser?: Maybe; + deleteUser: Scalars['Boolean']; + /** Update your details */ + updateMe: User; + /** Obtain a client secret to use in registering a payment method */ + registerPaymentMethod: Scalars['String']; + setDefaultPaymentMethod: User; + sendLoginReminder: Scalars['Boolean']; + /** Create or update an integration. */ + upsertIntegration?: Maybe; + /** + * NOT IMPLEMENTED YET. + * TODO Requires CRUD operations on individual sources and credentials first. + */ + integrate?: Maybe; + /** + * Authorize a project to use a given integration. + * This endpoint can be called repeatedly to update the latest authorized/used integrations for the project. + */ + permitIntegration?: Maybe; + /** Delete an existing integration. */ + deleteIntegration?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationRegisterEventArgs = { + action: EventAction; + label?: Maybe; + context?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationRegisterEventsArgs = { + actions: Array; +}; + + +/** The mutation operations available in this schema */ +export type MutationPromoteToLiveArgs = { + stamp: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteCredentialArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddDatasetArgs = { + data: DatasetCreationInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateDatasetArgs = { + id: Scalars['ID']; + data: DatasetUpdateInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddDatasetToProjectArgs = { + id: Scalars['ID']; + projectPath: Scalars['String']; + rawCsv?: Maybe; + exported?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveDatasetFromProjectArgs = { + filename: Scalars['String']; + projectPath: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateDatasetNameArgs = { + filename: Scalars['String']; + projectPath: Scalars['String']; + name: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationPublishDatasetArgs = { + id: Scalars['ID']; + data: DatasetPublishInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationSetDatasetStatusArgs = { + id: Scalars['ID']; + ignored: Scalars['Boolean']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddAndReleaseDatasetArgs = { + data: DatasetRelease; + discoveredSchema?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateDiscussionArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + body: Scalars['String']; + state?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateDiscussionReplyArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + discussionId: Scalars['String']; + body: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationEditNoteArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + noteId: Scalars['Int']; + body?: Maybe; + resolved?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateDiscussionStatusArgs = { + projectPath: Scalars['String']; + mergeRequestId: Scalars['Int']; + discussionId: Scalars['String']; + resolved: Scalars['Boolean']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAwardEmojiToNoteArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + noteId: Scalars['Int']; + name: EmojiName; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveEmojiFromNoteArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + noteId: Scalars['Int']; + awardId: Scalars['Int']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAwardEmojiToNoteableArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + name: EmojiName; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveEmojiFromNoteableArgs = { + projectPath: Scalars['String']; + noteableIid: Scalars['Int']; + noteableType: NoteableTypeName; + awardId: Scalars['Int']; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateExperimentRunArgs = { + name: Scalars['String']; + projectPath: Scalars['String']; + ref?: Maybe; + packageName?: Maybe; + createRuns?: Maybe; + singleRun?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateSimulationRunArgs = { + id: Scalars['ID']; + propertyValues: Scalars['JSONObject']; +}; + + +/** The mutation operations available in this schema */ +export type MutationReportComputeUsageArgs = { + id: Scalars['ID']; + usage: Scalars['Int']; + finalise?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateExperimentRunArgs = { + id: Scalars['ID']; + name: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateSimulationRunArgs = { + id: Scalars['ID']; + name?: Maybe; + metricOutcome?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteExperimentRunArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteSimulationRunArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationSetComputeUsageArgs = { + shortname: Scalars['String']; + amount: Scalars['Int']; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateIssueArgs = { + projectPath: Scalars['String']; + title: Scalars['String']; + description: Scalars['String']; + labels: Array; +}; + + +/** The mutation operations available in this schema */ +export type MutationEditIssueArgs = { + projectPath: Scalars['String']; + issueId: Scalars['Int']; + description?: Maybe; + title?: Maybe; + labels?: Maybe>; + state?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateMergeRequestArgs = { + projectPath: Scalars['String']; + sourcePath: Scalars['String']; + title: Scalars['String']; + description: Scalars['String']; + labels?: Maybe>; +}; + + +/** The mutation operations available in this schema */ +export type MutationEditMergeRequestArgs = { + projectPath: Scalars['String']; + mergeRequestId: Scalars['Int']; + description?: Maybe; + title?: Maybe; + labels?: Maybe>; + state?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationAcceptMergeRequestArgs = { + projectPath: Scalars['String']; + mergeRequestId: Scalars['Int']; + commitMessage?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCommitConflictsToMergeRequestArgs = { + projectPath: Scalars['String']; + sourcePath: Scalars['String']; + mergeRequestId: Scalars['Int']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddOrgArgs = { + data: OrgInput; + addCreator?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateOrgArgs = { + orgId: Scalars['ID']; + data: OrgInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteOrgArgs = { + orgId: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddUserToOrgArgs = { + orgId: Scalars['ID']; + userId: Scalars['ID']; + roleId?: Maybe; + jobTitle?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveUserFromOrgArgs = { + orgId: Scalars['ID']; + userId: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationRemoveMeFromOrgArgs = { + orgId: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateMyJobTitleArgs = { + orgId: Scalars['ID']; + jobTitle?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateUserOrgRoleArgs = { + orgId: Scalars['ID']; + userId: Scalars['ID']; + roleId?: Maybe; + jobTitle?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateProjectArgs = { + name: Scalars['String']; + path: Scalars['String']; + namespace?: Maybe; + type?: Maybe; + visibility?: Maybe; + description?: Maybe; + licenseId?: Maybe; + actions?: Maybe>; + message?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateCommitArgs = { + projectPath: Scalars['String']; + message: Scalars['String']; + actions: Array; + accessCode?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateReleaseArgs = { + projectPath: Scalars['String']; + tag: Scalars['String']; + description?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteProjectArgs = { + projectPath: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkProjectArgs = { + projectPath: Scalars['String']; + namespace?: Maybe; + path?: Maybe; + name?: Maybe; + ref?: Maybe; + asBehavior?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateProjectArgs = { + projectPath: Scalars['String']; + data: ProjectUpdate; + commitMessage?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateAndReleaseArgs = { + projectPath: Scalars['String']; + update: ProjectUpdate; + commitMessage?: Maybe; + tag: Scalars['String']; + description?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkAndUpdateArgs = { + projectPath: Scalars['String']; + namespace?: Maybe; + path?: Maybe; + name?: Maybe; + update: ProjectUpdate; + commitMessage?: Maybe; + ref?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkAndCommitArgs = { + projectPath: Scalars['String']; + namespace?: Maybe; + path?: Maybe; + name?: Maybe; + commitMessage: Scalars['String']; + actions: Array; + ref?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkAndReleaseBehaviorArgs = { + projectPath: Scalars['String']; + namespace?: Maybe; + path?: Maybe; + name?: Maybe; + update: ProjectUpdate; + commitMessage?: Maybe; + tag: Scalars['String']; + description?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationStarProjectArgs = { + projectPath: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUnstarProjectArgs = { + projectPath: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationRequestPrivateProjectAccessCodeArgs = { + projectPath: Scalars['String']; + accessLevel: ProjectAccessCodeAccessType; + unique?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddGitHubScraperArgs = { + data: GitHubScraperCreationData; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreateSubjectArgs = { + description: Scalars['String']; + namespace: Scalars['String']; + name: Scalars['String']; + subTypeOf?: Maybe>; +}; + + +/** The mutation operations available in this schema */ +export type MutationForkSubjectArgs = { + namespace: Scalars['String']; + name: Scalars['String']; + version?: Maybe; + targetNamespace: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateSubjectArgs = { + namespace: Scalars['String']; + name: Scalars['String']; + version?: Maybe; + description?: Maybe; + properties?: Maybe>; + subTypeOf?: Maybe>; +}; + + +/** The mutation operations available in this schema */ +export type MutationCreatePropertyArgs = { + description: Scalars['String']; + name: Scalars['String']; + namespace: Scalars['String']; + expectedType: Array; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdatePropertyArgs = { + namespace: Scalars['String']; + name: Scalars['String']; + description?: Maybe; + expectedType: Array; + subPropertyOf?: Maybe>; + supersededBy?: Maybe; + inverseOf?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteSourceArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationAddUserArgs = { + data: UserCreationInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateUserArgs = { + id: Scalars['ID']; + data: UserUpdateInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteUserArgs = { + email: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpdateMeArgs = { + data: UserUpdateInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationSetDefaultPaymentMethodArgs = { + id: Scalars['ID']; +}; + + +/** The mutation operations available in this schema */ +export type MutationSendLoginReminderArgs = { + email: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationUpsertIntegrationArgs = { + name: Scalars['String']; + integrationType: SourceTypeName; + credential?: Maybe; + ownerId?: Maybe; + source: SourceCreationInput; +}; + + +/** The mutation operations available in this schema */ +export type MutationIntegrateArgs = { + name: Scalars['String']; + integrationType: SourceTypeName; + credentialId: Scalars['ID']; + sourceId: Scalars['ID']; + ownerId?: Maybe; +}; + + +/** The mutation operations available in this schema */ +export type MutationPermitIntegrationArgs = { + projectId: Scalars['ID']; + integrationId: Scalars['ID']; + asName: Scalars['String']; +}; + + +/** The mutation operations available in this schema */ +export type MutationDeleteIntegrationArgs = { + id: Scalars['ID']; + deleteSource?: Maybe; + deleteCredentials?: Maybe; +}; + +export enum EventAction { + RunSimulation = 'RunSimulation', + OpenSimulation = 'OpenSimulation', + OpenProject = 'OpenProject', + ExperimentRun = 'ExperimentRun', + ExperimentSimulationRun = 'ExperimentSimulationRun' +} + +export type AnalyticEvent = { + /** The name of the action taken */ + action: EventAction; + /** A label for the event */ + label?: Maybe; + /** Any additional context about the event */ + context?: Maybe; +}; + +export type DatasetCreationInput = { + /** A friendly name for the dataset */ + name: Scalars['String']; + /** The filename to be used when the dataset itself is uploaded */ + filename: Scalars['String']; + /** The full path of the project the dataset is being assigned to */ + projectPath: Scalars['String']; +}; + +export type DatasetInit = { + /** The details the client needs to be able to upload a file */ + postForm?: Maybe; + /** The metadata held in the database on the dataset */ + dataset?: Maybe; +}; + +/** Information required to upload a file using a temporary security policy */ +export type SignedPostForm = { + /** The signed URL to be used for uploading the file */ + url: Scalars['String']; + /** The fields the client must attach to the form to be submitted, with the file to upload appended last under 'file' */ + fields?: Maybe; +}; + +export type DatasetUpdateInput = { + /** A friendly name for the dataset */ + name?: Maybe; + /** A description, instructions or notes on the dataset */ + description?: Maybe; +}; + +export type DatasetPublishInput = { + /** The title of the dataset */ + title: Scalars['String']; + /** A description, instructions or notes on the dataset */ + description: Scalars['String']; + /** A shortname unique among the publisher's listings */ + shortname: Scalars['String']; + /** The actual file(s) to be made available under the listing */ + resources: Array; + /** The id of the publisher of the dataset */ + existingPublisherId?: Maybe; + /** Details of an organization to create as the dataset's publisher */ + newPublisher?: Maybe; + /** The id of the license the dataset is made available under */ + existingLicenseId?: Maybe; + /** Details of a license to create and assign the dataset to */ + newLicense?: Maybe; + /** The id of the subject(s) of the dataset */ + existingSubjectIds?: Maybe>; + landingPage?: Maybe; + /** Additional reference information for the dataset */ + references?: Maybe>; + version?: Maybe; + language?: Maybe>; + /** How frequently the dataset is updated */ + updateFreq?: Maybe; + /** Keywords or tags associated with the dataset */ + keywords?: Maybe>; + contactPoint?: Maybe; + contactPointEmail?: Maybe; + /** The period of time the dataset covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints within the dataset */ + temporalFrequency?: Maybe; + /** The physical area covered by the dataset */ + spatialCoverage?: Maybe; + /** Additional information about the rights held or offered on the dataset */ + rights?: Maybe; + /** The name of a collection or group the dataset belongs to */ + isPartOf?: Maybe; + /** The International Standard Serial Number used to identify a serial publication */ + issn?: Maybe; + /** The technique(s) used to measure the data */ + measurementTechnique?: Maybe; + /** The specific variable the data measures */ + variableMeasured?: Maybe; + /** The name of the data catalog the resource is included in, if any */ + includedInDataCatalog?: Maybe; +}; + +export type DatasetResourceInput = { + /** The id of the resource as assigned in its source */ + id?: Maybe; + /** The name of the resource */ + name: Scalars['String']; + /** The shortname of the resource, including extension */ + shortname: Scalars['String']; + /** The revisionId in its source the resource was first made available under */ + revisionId?: Maybe; + /** The URL to the specific file being uploaded and made available */ + url: Scalars['String']; + /** The file format of the resource, expressed as a mime-type */ + format: Scalars['String']; + /** A description of the resource */ + description?: Maybe; + /** A URL to an explanation of the resource */ + describedBy?: Maybe; + /** The type of file which describes the resource */ + describedByType?: Maybe; + /** The size of the file */ + size?: Maybe; + createdAt?: Maybe; + updatedAt?: Maybe; +}; + +export type PublisherCreationInput = { + name: Scalars['String']; + logoUrl?: Maybe; + logoFile?: Maybe; +}; + +export type LicenseCreationInput = { + /** The name of the license */ + name: Scalars['String']; + /** Additional description of the license */ + description?: Maybe; + /** A link to an explanation of the license's terms */ + url?: Maybe; + /** A link to a logo representing the license */ + logo?: Maybe; +}; + +/** Input required for hFlow internal dataset creation. */ +export type DatasetRelease = { + /** The name of the dataset. */ + name: Scalars['String']; + /** The filename alias to use. */ + filename: Scalars['String']; + /** The project path in the format '@owner/project-name'. */ + projectPath: Scalars['String']; + /** S3 location information. */ + s3Location: S3LocationInput; + /** The message to add to the commit. */ + message: Scalars['String']; + /** The size of all files (not the size of an individual file). */ + size: Scalars['Int']; + /** The new version. */ + version: Scalars['String']; +}; + +export type S3LocationInput = { + bucket: Scalars['String']; + folder: Scalars['String']; + files: Array; +}; + +export type UpdateAndReleaseReturn = { + project: Project; + release: ReleaseBasic; +}; + +export enum StateEvent { + Close = 'close', + Reopen = 'reopen' +} + +export type NoteableType = Issue | MergeRequest; + +export type ExperimentRunInitialData = { + experimentRun: ExperimentRun; + computeUsageRemaining: Scalars['Int']; +}; + +export type SimulationRunInitialData = { + id: Scalars['ID']; + name: Scalars['String']; + s3Key: Scalars['String']; + stepsUploadForm: SignedPostForm; + analysisUploadForm: SignedPostForm; +}; + +/** Inputs allowed when creating or updating an organization */ +export type OrgInput = { + /** The name for the organization */ + name?: Maybe; + /** Alternate name(s) the organization may be referred to as */ + alternateName?: Maybe>; + /** A unique string identifying the organization in HASH (may only be updated after creation by admins) */ + shortname?: Maybe; + /** Free single-line text to specify organization location (see 'address' for postal address) */ + location?: Maybe; + /** The physical address(es) of the organization (see 'location' for a single line of free text) */ + address?: Maybe>; + /** A description of the organization */ + description?: Maybe; + /** The full legal name of the organization */ + legalName?: Maybe; + /** The parent organization of this organization */ + parentOrganization?: Maybe; + /** Whether the organization is non-profit or not */ + nonProfit?: Maybe; + /** Whether the organization's membership is made public or not */ + publicMembership?: Maybe; + /** A way for HASH users to contact the organization with any questions */ + supportContact?: Maybe; + /** The organization's logo */ + logo?: Maybe; + /** A square image representing the organization */ + avatar?: Maybe; + /** Another image associated with the organization */ + image?: Maybe>; + /** The organization's website */ + url?: Maybe>; +}; + +/** A physical address of an organization or entity */ +export type PostalAddressInput = { + /** The post office box number for PO box addresses. */ + postOfficeBoxNumber?: Maybe; + /** The street address. */ + streetAddress?: Maybe; + /** The locality in which the street address is (e.g. a town) */ + addressLocality?: Maybe; + /** The region (e.g. a state, county, or other top-level district in a country */ + addressRegion?: Maybe; + /** The country */ + addressCountry?: Maybe; + /** The postal code or zip code */ + postalCode?: Maybe; +}; + +/** An action operating on a single file as part of a commit */ +export type CommitAction = { + /** The type of action to take */ + action: CommitActionVerb; + /** The path of the file to operate on (or the new path, if being moved) */ + filePath: Scalars['String']; + /** If a file is being moved, its previous path in the repository */ + previousPath?: Maybe; + /** If a file is being created or updated, its content */ + content?: Maybe; +}; + +/** The types of action allowed on a file as part of a commit */ +export enum CommitActionVerb { + Create = 'create', + Delete = 'delete', + Move = 'move', + Update = 'update' +} + +export type CreateCommitReturn = { + commit: Commit; + project: Project; +}; + +export type ProjectUpdate = { + /** A friendly name for the project */ + name?: Maybe; + /** A namespace to move the project into */ + namespace?: Maybe; + /** A short description of the project */ + description?: Maybe; + /** The files to export from the project in its releases (e.g. behaviors) */ + files?: Maybe>; + /** The level of access restriction on the project */ + visibility?: Maybe; + /** Keywords / tags to help users locate the project */ + keywords?: Maybe>; + /** The subjects of the project */ + subject?: Maybe>; + /** The id of the license the project is made available under */ + license?: Maybe; + /** Update the project type */ + type?: Maybe; + /** + * Details of a new license to create and assign for the listing. This license + * will become available for future use by the publisher only + */ + newLicense?: Maybe; + /** The period of time the project's dataset(s) covers */ + temporalCoverage?: Maybe; + /** The frequency interval of the datapoints of dataset(s) within the projcet */ + dataFrequency?: Maybe; + /** The physical area covered by dataset(s) in the project */ + spatialCoverage?: Maybe; + /** An image to display representing the listing */ + avatar?: Maybe; + /** A wide-ratio (1.91:1) cover image to promote and illustrate listings */ + image?: Maybe; +}; + +export type ExportedFile = { + /** The filename */ + filename: Scalars['String']; + /** The path to the file within the repo */ + path: Scalars['String']; +}; + +export type SchemaReferenceInput = { + name: Scalars['String']; + namespace: Scalars['String']; + version?: Maybe; +}; + +export type ForkAndCommitReturn = { + project: Project; + commit: Commit; +}; + +export type ForkAndReleaseBehaviorReturn = { + sourceProject: Project; + behaviorProject: Project; +}; + +export type StarReturn = { + project: Project; + user: User; +}; + +/** The level of access that an access code grants */ +export enum ProjectAccessCodeAccessType { + Write = 'Write', + Read = 'Read', + ReadEmbed = 'ReadEmbed' +} + +export type ProjectAccessCodeReturn = { + code: ProjectAccessCode; + unique: Scalars['Boolean']; +}; + +export type ProjectAccessCode = { + code: Scalars['String']; + accessLevel: ProjectAccessCodeAccessType; + project: Project; + creator: User; + createdAt: Scalars['Date']; + updatedAt: Scalars['Date']; +}; + +export type GitHubScraperCreationData = { + description?: Maybe; + files: Array; + frequency: ScraperFrequency; + /** The id of a predefined license to make the project available under. */ + licenseId?: Maybe; + /** A custom license to create a LICENSE.md file from */ + licenseText?: Maybe; + name: Scalars['String']; + namespace: Scalars['String']; + path: Scalars['String']; + readme?: Maybe; + repoPath: Scalars['String']; +}; + +export type GitHubScraperFileInput = { + fileDownloadUrl: Scalars['String']; + filepathInRepo: Scalars['String']; + filenameInHASH: Scalars['String']; + nameInHASH?: Maybe; +}; + +export type UserCreationInput = { + additionalName?: Maybe>; + biography?: Maybe; + email: Scalars['String']; + familyName?: Maybe; + givenName?: Maybe; + image?: Maybe; + knowsLanguage?: Maybe>; + location?: Maybe; + role?: Maybe; + shortname: Scalars['String']; + telephone?: Maybe; + url?: Maybe; +}; + +export type UserUpdateInput = { + givenName?: Maybe; + familyName?: Maybe; + /** Only admins may update shortnames after user creation */ + shortname?: Maybe; + biography?: Maybe; + knowsLanguage?: Maybe>; + location?: Maybe; + url?: Maybe; + telephone?: Maybe; + image?: Maybe; + onboarded?: Maybe; + tourProgress?: Maybe; + /** The ID of the role to assign a user (admins only) */ + role?: Maybe; +}; + +export type TourProgressInput = { + completed: Scalars['Boolean']; + version?: Maybe; + lastStepViewed?: Maybe; +}; + +/** Required inputs for creating a new credential. */ +export type CredentialCreationInput = { + /** User-defined name of the credential. Any given pair of owner ID and name must be unique. */ + name: Scalars['String']; + /** The type of credential to store. Currently token, googleserviceaccount, userpass, ldap, kerberos, x509, aws. */ + type: CredentialType; + /** + * Optional: the ID of the owning entity -- either a User or an Organization. + * If not provided, the owner will be the user that created the credential. + */ + ownerId?: Maybe; + /** + * A string of the secret token itself. Used for Token credentials. + * Note: GraphQL does not currently support union types in inputs. + * Check SecretType for what fields are necessary for the type of credential you are creating. + */ + accessToken?: Maybe; + /** The Google Cloud service account JSON. A file. Will be of a format like that of the GoogleServiceAccount type. */ + serviceAccountJson?: Maybe; + /** Inputs required for username and password credentials. */ + userPass?: Maybe; + /** Inputs required for LDAP credentials. */ + ldap?: Maybe; + /** Inputs required for AWS credentials. */ + aws?: Maybe; + /** Inputs required for Kerberos credentials. */ + kerberos?: Maybe; + /** Inputs required for x.509 credentials. */ + x509?: Maybe; +}; + +/** An input type for UserPass credentials. */ +export type UserPassInput = { + /** The username. */ + username: Scalars['String']; + /** The password. */ + password: Scalars['String']; +}; + +/** + * An input type for LDAP credentials. This differs little from UserPass, but affects configurations for some + * clients, e.g. MongoDB. + */ +export type LdapInput = { + /** The username. */ + username: Scalars['String']; + /** Optional. The password. */ + password?: Maybe; + /** The full distinguished name. Example: 'CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM' */ + distinguishedName: Scalars['String']; +}; + +/** + * AWS authentication information. This is the _only_ accepted way to use AWS authorization. + * See: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html + */ +export type AwsInput = { + /** + * A unique ID generated by the user to be used as a password/key when assuming the IAM role. + * See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html for more information. + * This should be generated in-browser with instructions/links for the user to follow to set this up. + * This key will never be shown to the user again, so warn them to properly set it up first. + */ + externalId: Scalars['String']; + /** The Amazon Resource Name of the role to use. This role must have access to whatever resources it needs. */ + roleArn: Scalars['String']; + /** Whether to include a temporary session token in requests. */ + useSessionToken: Scalars['Boolean']; +}; + +/** Kerberos authentication information. */ +export type KerberosInput = { + /** The name of the realm. Example: UPENN.EDU */ + realm: Scalars['String']; + /** The location of the kdc server(s). Example: ["kerberos1.upenn.edu", "kerberos2.upenn.edu", "kerberos3.upenn.edu"] */ + kdcAddresses: Array; + /** The fully qualified principal name. Example: bob@UPENN.EDU */ + principal: Scalars['String']; + /** The serialized keytab file and/or password for this principal. */ + userKey: Scalars['String']; +}; + +/** + * X.509 (TLS and/or SSL) authentication information. This is for the fairly niche case where the source requires + * HTTPS communication, but using its own self-signing certificate authority. + */ +export type X509Input = { + /** The x.509 PEM file for the client to use. */ + certificateKeyFilePem: Scalars['Upload']; + /** The Certificate Authority file to trust, that signed both the client and the target instance's certificates. */ + certificateAuthorityFile: Scalars['Upload']; +}; + +/** Information required to create a new source. */ +export type SourceCreationInput = { + /** The name of the source. */ + name: Scalars['String']; + /** The type of source to create. */ + type: SourceTypeName; + /** The ID of the owner of the new source. If not provided, this will be the user that created it. */ + ownerId?: Maybe; + /** + * MapBox: The base URL for the integration. + * Note: GraphQL does not currently support union types in inputs. + * Check SourceType for what fields are necessary for the type of integration you are creating. + */ + baseUrl?: Maybe; + /** Information to create a BigQuery source. */ + bigquery?: Maybe; + /** Information to create a MongoDB and/or MongoDB Atlas source. */ + mongodb?: Maybe; + /** Information to create a Snowflake source. */ + snowflake?: Maybe; + /** Information to create an ElasticSearch source. */ + elasticsearch?: Maybe; + /** Information to create an S3 source. */ + s3?: Maybe; +}; + +/** BigQuery source creation information. */ +export type BigQueryCreation = { + /** + * The base URL to query against. Example: https://bigquery.googleapis.com/bigquery/v1/projects/some-project-id/queries + * If not specified, will be literally https://bigquery.googleapis.com/bigquery/v1/projects/$projectId/queries. + */ + url?: Maybe; + /** The ID of the _Google Cloud_ project (no relation to HASH project IDs). */ + projectId: Scalars['String']; + /** The ID of the _Google Cloud_ dataset that will be queried. */ + datasetId: Scalars['String']; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Some valid SQL statement to use when querying the dataset. + * Should be in a format that runs successfully in Google's query editor. Example: + * "#standardSQL\nSELECT\n growth.country_name,\n growth.net_migration,\n + * CAST(area.country_area AS INT64) AS country_area\nFROM (\n SELECT\n + * country_name,\n net_migration,\n country_code\n FROM\n + * `bigquery-public-data.census_bureau_international.birth_death_growth_rates`\n + * WHERE\n year = 2020) growth\nINNER JOIN (\n SELECT\n country_area,\n + * country_code\n FROM\n + * `bigquery-public-data.census_bureau_international.country_names_area`) + * area\nON\n growth.country_code = area.country_code\nORDER BY\n net_migration DESC", + */ + query?: Maybe; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Whether the query is using Legacy SQL features. Almost invariably false, and the user will likely know if it isn't. + */ + useLegacySql?: Maybe; +}; + +/** MongoDB and/or MongoDB Atlas source creation information. */ +export type MongoDbCreation = { + /** Base database configuration information (host, port, et cetera). */ + store: DatastoreInput; + /** Optional. The name of the replica set. */ + replicaSet?: Maybe; + /** Optional. The name of the authentication database. Defaults to admin or $external depending on linked credentials. */ + authenticationDatabase?: Maybe; + /** Optional. The authentication mechanism to use. Default depends on linked credentials. */ + authenticationMechanism?: Maybe; +}; + +/** Composition-over-inheritance type for common configuration fields for databases, but an input type! */ +export type DatastoreInput = { + /** The host and port of the server(s) to connect to. */ + servers: Array; + /** The name of the database to connect to. */ + database: Scalars['String']; + /** Connection string options for this specific connection. Example: timezone=UTC&batchInsert=False */ + options?: Maybe; + /** Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0 */ + version?: Maybe; +}; + +/** An individual server for an integration, but an input type. */ +export type ServerInput = { + /** The host uri. Examples: 127.0.0.1 or https://localhost or mymongoserver.example.com. */ + host: Scalars['String']; + /** The port. */ + port: Scalars['Int']; +}; + +/** Snowflake source information. */ +export type SnowflakeCreation = { + /** + * The Snowflake account name. Example: if the Snowflake URL for the user is mycompany.snowflakecomputing.com, + * the value here would just be 'mycompany'. + */ + accountName: Scalars['String']; + /** The warehouse name. */ + warehouse: Scalars['String']; + /** The database name. */ + database: Scalars['String']; + /** The name of the schema. This is the schema as understood by Snowflake, and is not related to HASH schemas. */ + schema: Scalars['String']; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * Some valid SQL statement to use when querying the store. + */ + query?: Maybe; + /** Optional. The role to use. */ + role?: Maybe; +}; + +/** Input information for ElasticSearch. */ +export type ElasticSearchCreation = { + /** Optional. Version of the database software. Defaults to latest version. Ex: 7.11.0 */ + version?: Maybe; + /** Optional. The name of the index to query against. */ + indexName?: Maybe; + /** + * Optional. If not specified here, must be specified in the transformation that uses it. + * The query JSON to run. Example: "{"query":{"match_all":{}}}" + */ + query?: Maybe; + /** Server information for the elasticsearch cluster. */ + server: ServerInput; +}; + +/** Input information for an S3 bucket. */ +export type S3Creation = { + /** The name of the bucket. */ + bucket: Scalars['String']; + /** + * The object key or object key pattern. Example: if the S3 URI is + * s3://hash-terraform-state-s3-backend/base/terraform.tfstate, + * the key is "base/terraform.tfstate", and a matching pattern could be "base/*.tfstate". + */ + key: Scalars['String']; + /** The AWS region the bucket is located in. Example: us-east-1. */ + region: Scalars['String']; + /** The format of the source file. */ + format: FileFormat; +}; + +export type File = { + filename: Scalars['String']; + mimetype: Scalars['String']; + encoding: Scalars['String']; +}; + +export type FileFormatCount = { + name?: Maybe; + count?: Maybe; +}; + +/** + * A list of all integrations available to a user, + * OR + * A list of all integrations authorized for a project for a given user + * IF it is part of a Project response, or a projectId was given in the request. + */ +export type AvailableIntegrations = { + integrations: Array; +}; + +/** + * NOT IMPLEMENTED YET. + * TODO Requires CRUD operations on individual sources and credentials first. + * Purpose is to enable sources without credentials and vice versa to be added at the organization level, + * and for sources to be tied directly to projects without credentials. + */ +export type IntegrateInput = { + name: Scalars['String']; + integrationType: SourceTypeName; + credentialId: Scalars['ID']; + sourceId: Scalars['ID']; + ownerId?: Maybe; +}; + +export type AddDatasetToProjectMutationVariables = Exact<{ + id: Scalars['ID']; + projectPath: Scalars['String']; + csv: Scalars['Boolean']; +}>; + + +export type AddDatasetToProjectMutation = { addDatasetToProject: ( + Pick + & { files: Array> } + ) }; + +export type BasicUserFragmentFragment = Pick; + +export type CanUserEditProjectQueryVariables = Exact<{ + pathWithNamespace: Scalars['String']; + ref: Scalars['String']; +}>; + + +export type CanUserEditProjectQuery = { project: ( + Pick + & { dependencies: Array> } + ) }; + +export type CommitActionsMutationVariables = Exact<{ + pathWithNamespace: Scalars['String']; + actions: Array | CommitAction; + message: Scalars['String']; + includeFullProject: Scalars['Boolean']; + accessCode?: Maybe; +}>; + + +export type CommitActionsMutation = { createCommit: { project?: Maybe<( + Pick + & FullProjectFragmentFragment + )>, commit: Pick } }; + +export type ExampleProjectsFragmentFragment = { specialProjects: Array }; + +export type ForkAndReleaseBehaviorsMutationVariables = Exact<{ + projectPath: Scalars['String']; + name: Scalars['String']; + namespace?: Maybe; + path: Scalars['String']; + commitMessage: Scalars['String']; + tag: Scalars['String']; + releaseDescription: Scalars['String']; + files: Array | ExportedFile; + projectDescription: Scalars['String']; + visibility: VisibilityLevel; + license: Scalars['String']; + keywords: Array | Scalars['String']; +}>; + + +export type ForkAndReleaseBehaviorsMutation = { forkAndReleaseBehavior: { sourceProject: ( + Pick + & FilesFragmentFragment + ), behaviorProject: Pick } }; + +export type UserProjectsFragmentFragment = { projects: { results: Array } }; + +export type MyProjectsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type MyProjectsQuery = { me?: Maybe }; + +export type PartialProjectFragmentFragment = ( + Pick + & { latestRelease?: Maybe>, forkOf?: Maybe> } +); + +export type PartialProjectByPathQueryVariables = Exact<{ + pathWithNamespace: Scalars['String']; + version: Scalars['String']; +}>; + + +export type PartialProjectByPathQuery = { project: PartialProjectFragmentFragment }; + +export type ProjectHistoryQueryVariables = Exact<{ + pathWithNamespace: Scalars['String']; + ref: Scalars['String']; + pageToCurrent: Scalars['Boolean']; + accessCode?: Maybe; + createdBefore?: Maybe; +}>; + + +export type ProjectHistoryQuery = { project: { history?: Maybe<( + Pick + & { items: Array<( + Pick + & { item: ( + { __typename: 'ReleaseBasic' } + & Pick + ) | ( + { __typename: 'CommitGroup' } + & { commits: Array> } + ) | ( + { __typename: 'ExperimentRun' } + & Pick + & { packageData?: Maybe>, simulationRuns: Array> } + ) } + )> } + )> } }; + +export type FilesFragmentFragment = { files: Array>, dependencies: Array<( + Pick + & { files: Array> } + )> }; + +export type FullProjectFragmentFragment = ( + Pick + & { forkOf?: Maybe>, latestRelease?: Maybe>, license?: Maybe> } + & FilesFragmentFragment +); + +export type ProjectByPathQueryVariables = Exact<{ + pathWithNamespace: Scalars['String']; + version: Scalars['String']; + accessCode?: Maybe; +}>; + + +export type ProjectByPathQuery = { project: FullProjectFragmentFragment }; diff --git a/apps/sim-core/packages/core/src/util/api/utils.ts b/apps/sim-core/packages/core/src/util/api/utils.ts index e9b9f32..3c3bfd7 100644 --- a/apps/sim-core/packages/core/src/util/api/utils.ts +++ b/apps/sim-core/packages/core/src/util/api/utils.ts @@ -1,7 +1,7 @@ import { v4 as uuid } from "uuid"; import { ApiCommitAction } from "./types"; -import { CommitActionVerb } from "./auto-types"; +import { CommitActionVerb } from "./types"; import { FileAction } from "../../features/files/types"; export const graphqlUuid = () => `_${uuid().replace(/-/g, "_")}`;