14240 extensibility ability to create multiple custom domains for each workspace 2 (#14307)
Adds a public-domain core-module. Reorganize custom-domain files properly
This commit is contained in:
@@ -868,22 +868,6 @@ export type CursorPaging = {
|
||||
last?: InputMaybe<Scalars['Int']>;
|
||||
};
|
||||
|
||||
export type CustomDomainRecord = {
|
||||
__typename?: 'CustomDomainRecord';
|
||||
key: Scalars['String'];
|
||||
status: Scalars['String'];
|
||||
type: Scalars['String'];
|
||||
validationType: Scalars['String'];
|
||||
value: Scalars['String'];
|
||||
};
|
||||
|
||||
export type CustomDomainValidRecords = {
|
||||
__typename?: 'CustomDomainValidRecords';
|
||||
customDomain: Scalars['String'];
|
||||
id: Scalars['UUID'];
|
||||
records: Array<CustomDomainRecord>;
|
||||
};
|
||||
|
||||
/** Database Event Action */
|
||||
export enum DatabaseEventAction {
|
||||
CREATED = 'CREATED',
|
||||
@@ -961,6 +945,22 @@ export enum DistantTableUpdate {
|
||||
TABLE_DELETED = 'TABLE_DELETED'
|
||||
}
|
||||
|
||||
export type DomainRecord = {
|
||||
__typename?: 'DomainRecord';
|
||||
key: Scalars['String'];
|
||||
status: Scalars['String'];
|
||||
type: Scalars['String'];
|
||||
validationType: Scalars['String'];
|
||||
value: Scalars['String'];
|
||||
};
|
||||
|
||||
export type DomainValidRecords = {
|
||||
__typename?: 'DomainValidRecords';
|
||||
domain: Scalars['String'];
|
||||
id: Scalars['UUID'];
|
||||
records: Array<DomainRecord>;
|
||||
};
|
||||
|
||||
export type DuplicateWorkflowVersionStepInput = {
|
||||
stepId: Scalars['String'];
|
||||
workflowVersionId: Scalars['String'];
|
||||
@@ -1410,7 +1410,7 @@ export type Mutation = {
|
||||
assignRoleToAgent: Scalars['Boolean'];
|
||||
assignRoleToApiKey: Scalars['Boolean'];
|
||||
authorizeApp: AuthorizeApp;
|
||||
checkCustomDomainValidRecords?: Maybe<CustomDomainValidRecords>;
|
||||
checkCustomDomainValidRecords?: Maybe<DomainValidRecords>;
|
||||
checkoutSession: BillingSessionOutput;
|
||||
computeStepOutputSchema: Scalars['JSON'];
|
||||
createAgentChatThread: AgentChatThread;
|
||||
@@ -1438,6 +1438,7 @@ export type Mutation = {
|
||||
createPageLayout: PageLayout;
|
||||
createPageLayoutTab: PageLayoutTab;
|
||||
createPageLayoutWidget: PageLayoutWidget;
|
||||
createPublicDomain: PublicDomain;
|
||||
createSAMLIdentityProvider: SetupSsoOutput;
|
||||
createWebhook: Webhook;
|
||||
createWorkflowVersionEdge: WorkflowVersionStepChanges;
|
||||
@@ -1462,6 +1463,7 @@ export type Mutation = {
|
||||
deletePageLayout: PageLayout;
|
||||
deletePageLayoutTab: Scalars['Boolean'];
|
||||
deletePageLayoutWidget: PageLayoutWidget;
|
||||
deletePublicDomain: Scalars['Boolean'];
|
||||
deleteSSOIdentityProvider: DeleteSsoOutput;
|
||||
deleteTwoFactorAuthenticationMethod: DeleteTwoFactorAuthenticationMethodOutput;
|
||||
deleteUser: User;
|
||||
@@ -1734,6 +1736,11 @@ export type MutationCreatePageLayoutWidgetArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationCreatePublicDomainArgs = {
|
||||
domain: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationCreateSamlIdentityProviderArgs = {
|
||||
input: SetupSamlSsoInput;
|
||||
};
|
||||
@@ -1849,6 +1856,11 @@ export type MutationDeletePageLayoutWidgetArgs = {
|
||||
};
|
||||
|
||||
|
||||
export type MutationDeletePublicDomainArgs = {
|
||||
domain: Scalars['String'];
|
||||
};
|
||||
|
||||
|
||||
export type MutationDeleteSsoIdentityProviderArgs = {
|
||||
input: DeleteSsoInput;
|
||||
};
|
||||
@@ -2593,6 +2605,14 @@ export type PostgresCredentials = {
|
||||
workspaceId: Scalars['UUID'];
|
||||
};
|
||||
|
||||
export type PublicDomain = {
|
||||
__typename?: 'PublicDomain';
|
||||
createdAt: Scalars['DateTime'];
|
||||
domain: Scalars['String'];
|
||||
id: Scalars['UUID'];
|
||||
isValidated: Scalars['Boolean'];
|
||||
};
|
||||
|
||||
export type PublicFeatureFlag = {
|
||||
__typename?: 'PublicFeatureFlag';
|
||||
key: FeatureFlagKey;
|
||||
@@ -5403,7 +5423,7 @@ export type UploadWorkspaceLogoMutation = { __typename?: 'Mutation', uploadWorks
|
||||
export type CheckCustomDomainValidRecordsMutationVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type CheckCustomDomainValidRecordsMutation = { __typename?: 'Mutation', checkCustomDomainValidRecords?: { __typename?: 'CustomDomainValidRecords', id: string, customDomain: string, records: Array<{ __typename?: 'CustomDomainRecord', type: string, key: string, value: string, validationType: string, status: string }> } | null };
|
||||
export type CheckCustomDomainValidRecordsMutation = { __typename?: 'Mutation', checkCustomDomainValidRecords?: { __typename?: 'DomainValidRecords', id: string, domain: string, records: Array<{ __typename?: 'DomainRecord', type: string, key: string, value: string, validationType: string, status: string }> } | null };
|
||||
|
||||
export type GetWorkspaceFromInviteHashQueryVariables = Exact<{
|
||||
inviteHash: Scalars['String'];
|
||||
@@ -12604,7 +12624,7 @@ export const CheckCustomDomainValidRecordsDocument = gql`
|
||||
mutation CheckCustomDomainValidRecords {
|
||||
checkCustomDomainValidRecords {
|
||||
id
|
||||
customDomain
|
||||
domain
|
||||
records {
|
||||
type
|
||||
key
|
||||
|
||||
Reference in New Issue
Block a user