mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-22 08:27:44 +00:00
gpl-client/dist and delete unused Web3ModalProvider
This commit is contained in:
parent
6dfe85cb1a
commit
c6ebcafaac
9
packages/gql-client/dist/index.d.mts
vendored
9
packages/gql-client/dist/index.d.mts
vendored
@ -15,7 +15,8 @@ declare enum Environment {
|
||||
declare enum DeploymentStatus {
|
||||
Building = "Building",
|
||||
Ready = "Ready",
|
||||
Error = "Error"
|
||||
Error = "Error",
|
||||
Deleting = "Deleting"
|
||||
}
|
||||
declare enum DomainStatus {
|
||||
Live = "Live",
|
||||
@ -223,6 +224,9 @@ type RedeployToProdResponse = {
|
||||
type RollbackDeploymentResponse = {
|
||||
rollbackDeployment: boolean;
|
||||
};
|
||||
type DeleteDeploymentResponse = {
|
||||
deleteDeployment: boolean;
|
||||
};
|
||||
type AddDomainInput = {
|
||||
name: string;
|
||||
};
|
||||
@ -270,10 +274,11 @@ declare class GQLClient {
|
||||
deleteProject(projectId: string): Promise<DeleteProjectResponse>;
|
||||
deleteDomain(domainId: string): Promise<DeleteDomainResponse>;
|
||||
rollbackDeployment(projectId: string, deploymentId: string): Promise<RollbackDeploymentResponse>;
|
||||
deleteDeployment(deploymentId: string): Promise<DeleteDeploymentResponse>;
|
||||
addDomain(projectId: string, data: AddDomainInput): Promise<AddDomainResponse>;
|
||||
getDomains(projectId: string, filter?: FilterDomainInput): Promise<GetDomainsResponse>;
|
||||
authenticateGitHub(code: string): Promise<AuthenticateGitHubResponse>;
|
||||
unauthenticateGithub(): Promise<UnauthenticateGitHubResponse>;
|
||||
}
|
||||
|
||||
export { type AddDomainInput, type AddDomainResponse, type AddEnvironmentVariableInput, type AddEnvironmentVariablesResponse, type AddProjectInput, type AddProjectMemberInput, type AddProjectMemberResponse, type AddProjectResponse, type AuthenticateGitHubResponse, type DeleteDomainResponse, type DeleteProjectResponse, type Deployment, DeploymentStatus, type Domain, DomainStatus, Environment, type EnvironmentVariable, type FilterDomainInput, GQLClient, type GetDeploymentsResponse, type GetDomainsResponse, type GetEnvironmentVariablesResponse, type GetOrganizationsResponse, type GetProjectMembersResponse, type GetProjectResponse, type GetProjectsInOrganizationResponse, type GetUserResponse, type GraphQLConfig, type Organization, type OrganizationMember, type OrganizationProject, Permission, type Project, type ProjectMember, type RedeployToProdResponse, type RemoveEnvironmentVariableResponse, type RemoveProjectMemberResponse, Role, type RollbackDeploymentResponse, type SearchProjectsResponse, type UnauthenticateGitHubResponse, type UpdateDeploymentToProdResponse, type UpdateDomainInput, type UpdateDomainResponse, type UpdateEnvironmentVariableInput, type UpdateEnvironmentVariableResponse, type UpdateProjectInput, type UpdateProjectMemberInput, type UpdateProjectMemberResponse, type UpdateProjectResponse, type User };
|
||||
export { type AddDomainInput, type AddDomainResponse, type AddEnvironmentVariableInput, type AddEnvironmentVariablesResponse, type AddProjectInput, type AddProjectMemberInput, type AddProjectMemberResponse, type AddProjectResponse, type AuthenticateGitHubResponse, type DeleteDeploymentResponse, type DeleteDomainResponse, type DeleteProjectResponse, type Deployment, DeploymentStatus, type Domain, DomainStatus, Environment, type EnvironmentVariable, type FilterDomainInput, GQLClient, type GetDeploymentsResponse, type GetDomainsResponse, type GetEnvironmentVariablesResponse, type GetOrganizationsResponse, type GetProjectMembersResponse, type GetProjectResponse, type GetProjectsInOrganizationResponse, type GetUserResponse, type GraphQLConfig, type Organization, type OrganizationMember, type OrganizationProject, Permission, type Project, type ProjectMember, type RedeployToProdResponse, type RemoveEnvironmentVariableResponse, type RemoveProjectMemberResponse, Role, type RollbackDeploymentResponse, type SearchProjectsResponse, type UnauthenticateGitHubResponse, type UpdateDeploymentToProdResponse, type UpdateDomainInput, type UpdateDomainResponse, type UpdateEnvironmentVariableInput, type UpdateEnvironmentVariableResponse, type UpdateProjectInput, type UpdateProjectMemberInput, type UpdateProjectMemberResponse, type UpdateProjectResponse, type User };
|
||||
|
9
packages/gql-client/dist/index.d.ts
vendored
9
packages/gql-client/dist/index.d.ts
vendored
@ -15,7 +15,8 @@ declare enum Environment {
|
||||
declare enum DeploymentStatus {
|
||||
Building = "Building",
|
||||
Ready = "Ready",
|
||||
Error = "Error"
|
||||
Error = "Error",
|
||||
Deleting = "Deleting"
|
||||
}
|
||||
declare enum DomainStatus {
|
||||
Live = "Live",
|
||||
@ -223,6 +224,9 @@ type RedeployToProdResponse = {
|
||||
type RollbackDeploymentResponse = {
|
||||
rollbackDeployment: boolean;
|
||||
};
|
||||
type DeleteDeploymentResponse = {
|
||||
deleteDeployment: boolean;
|
||||
};
|
||||
type AddDomainInput = {
|
||||
name: string;
|
||||
};
|
||||
@ -270,10 +274,11 @@ declare class GQLClient {
|
||||
deleteProject(projectId: string): Promise<DeleteProjectResponse>;
|
||||
deleteDomain(domainId: string): Promise<DeleteDomainResponse>;
|
||||
rollbackDeployment(projectId: string, deploymentId: string): Promise<RollbackDeploymentResponse>;
|
||||
deleteDeployment(deploymentId: string): Promise<DeleteDeploymentResponse>;
|
||||
addDomain(projectId: string, data: AddDomainInput): Promise<AddDomainResponse>;
|
||||
getDomains(projectId: string, filter?: FilterDomainInput): Promise<GetDomainsResponse>;
|
||||
authenticateGitHub(code: string): Promise<AuthenticateGitHubResponse>;
|
||||
unauthenticateGithub(): Promise<UnauthenticateGitHubResponse>;
|
||||
}
|
||||
|
||||
export { type AddDomainInput, type AddDomainResponse, type AddEnvironmentVariableInput, type AddEnvironmentVariablesResponse, type AddProjectInput, type AddProjectMemberInput, type AddProjectMemberResponse, type AddProjectResponse, type AuthenticateGitHubResponse, type DeleteDomainResponse, type DeleteProjectResponse, type Deployment, DeploymentStatus, type Domain, DomainStatus, Environment, type EnvironmentVariable, type FilterDomainInput, GQLClient, type GetDeploymentsResponse, type GetDomainsResponse, type GetEnvironmentVariablesResponse, type GetOrganizationsResponse, type GetProjectMembersResponse, type GetProjectResponse, type GetProjectsInOrganizationResponse, type GetUserResponse, type GraphQLConfig, type Organization, type OrganizationMember, type OrganizationProject, Permission, type Project, type ProjectMember, type RedeployToProdResponse, type RemoveEnvironmentVariableResponse, type RemoveProjectMemberResponse, Role, type RollbackDeploymentResponse, type SearchProjectsResponse, type UnauthenticateGitHubResponse, type UpdateDeploymentToProdResponse, type UpdateDomainInput, type UpdateDomainResponse, type UpdateEnvironmentVariableInput, type UpdateEnvironmentVariableResponse, type UpdateProjectInput, type UpdateProjectMemberInput, type UpdateProjectMemberResponse, type UpdateProjectResponse, type User };
|
||||
export { type AddDomainInput, type AddDomainResponse, type AddEnvironmentVariableInput, type AddEnvironmentVariablesResponse, type AddProjectInput, type AddProjectMemberInput, type AddProjectMemberResponse, type AddProjectResponse, type AuthenticateGitHubResponse, type DeleteDeploymentResponse, type DeleteDomainResponse, type DeleteProjectResponse, type Deployment, DeploymentStatus, type Domain, DomainStatus, Environment, type EnvironmentVariable, type FilterDomainInput, GQLClient, type GetDeploymentsResponse, type GetDomainsResponse, type GetEnvironmentVariablesResponse, type GetOrganizationsResponse, type GetProjectMembersResponse, type GetProjectResponse, type GetProjectsInOrganizationResponse, type GetUserResponse, type GraphQLConfig, type Organization, type OrganizationMember, type OrganizationProject, Permission, type Project, type ProjectMember, type RedeployToProdResponse, type RemoveEnvironmentVariableResponse, type RemoveProjectMemberResponse, Role, type RollbackDeploymentResponse, type SearchProjectsResponse, type UnauthenticateGitHubResponse, type UpdateDeploymentToProdResponse, type UpdateDomainInput, type UpdateDomainResponse, type UpdateEnvironmentVariableInput, type UpdateEnvironmentVariableResponse, type UpdateProjectInput, type UpdateProjectMemberInput, type UpdateProjectMemberResponse, type UpdateProjectResponse, type User };
|
||||
|
17
packages/gql-client/dist/index.js
vendored
17
packages/gql-client/dist/index.js
vendored
@ -334,6 +334,11 @@ mutation ($projectId: String! ,$deploymentId: String!) {
|
||||
rollbackDeployment(projectId: $projectId, deploymentId: $deploymentId)
|
||||
}
|
||||
`;
|
||||
var deleteDeployment = import_client2.gql`
|
||||
mutation ($deploymentId: String!) {
|
||||
deleteDeployment(deploymentId: $deploymentId)
|
||||
}
|
||||
`;
|
||||
var addDomain = import_client2.gql`
|
||||
mutation ($projectId: String!, $data: AddDomainInput!) {
|
||||
addDomain(projectId: $projectId, data: $data)
|
||||
@ -614,6 +619,17 @@ var GQLClient = class {
|
||||
return data;
|
||||
});
|
||||
}
|
||||
deleteDeployment(deploymentId) {
|
||||
return __async(this, null, function* () {
|
||||
const { data } = yield this.client.mutate({
|
||||
mutation: deleteDeployment,
|
||||
variables: {
|
||||
deploymentId
|
||||
}
|
||||
});
|
||||
return data;
|
||||
});
|
||||
}
|
||||
addDomain(projectId, data) {
|
||||
return __async(this, null, function* () {
|
||||
const result = yield this.client.mutate({
|
||||
@ -681,6 +697,7 @@ var DeploymentStatus = /* @__PURE__ */ ((DeploymentStatus2) => {
|
||||
DeploymentStatus2["Building"] = "Building";
|
||||
DeploymentStatus2["Ready"] = "Ready";
|
||||
DeploymentStatus2["Error"] = "Error";
|
||||
DeploymentStatus2["Deleting"] = "Deleting";
|
||||
return DeploymentStatus2;
|
||||
})(DeploymentStatus || {});
|
||||
var DomainStatus = /* @__PURE__ */ ((DomainStatus2) => {
|
||||
|
2
packages/gql-client/dist/index.js.map
vendored
2
packages/gql-client/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
17
packages/gql-client/dist/index.mjs
vendored
17
packages/gql-client/dist/index.mjs
vendored
@ -304,6 +304,11 @@ mutation ($projectId: String! ,$deploymentId: String!) {
|
||||
rollbackDeployment(projectId: $projectId, deploymentId: $deploymentId)
|
||||
}
|
||||
`;
|
||||
var deleteDeployment = gql2`
|
||||
mutation ($deploymentId: String!) {
|
||||
deleteDeployment(deploymentId: $deploymentId)
|
||||
}
|
||||
`;
|
||||
var addDomain = gql2`
|
||||
mutation ($projectId: String!, $data: AddDomainInput!) {
|
||||
addDomain(projectId: $projectId, data: $data)
|
||||
@ -584,6 +589,17 @@ var GQLClient = class {
|
||||
return data;
|
||||
});
|
||||
}
|
||||
deleteDeployment(deploymentId) {
|
||||
return __async(this, null, function* () {
|
||||
const { data } = yield this.client.mutate({
|
||||
mutation: deleteDeployment,
|
||||
variables: {
|
||||
deploymentId
|
||||
}
|
||||
});
|
||||
return data;
|
||||
});
|
||||
}
|
||||
addDomain(projectId, data) {
|
||||
return __async(this, null, function* () {
|
||||
const result = yield this.client.mutate({
|
||||
@ -651,6 +667,7 @@ var DeploymentStatus = /* @__PURE__ */ ((DeploymentStatus2) => {
|
||||
DeploymentStatus2["Building"] = "Building";
|
||||
DeploymentStatus2["Ready"] = "Ready";
|
||||
DeploymentStatus2["Error"] = "Error";
|
||||
DeploymentStatus2["Deleting"] = "Deleting";
|
||||
return DeploymentStatus2;
|
||||
})(DeploymentStatus || {});
|
||||
var DomainStatus = /* @__PURE__ */ ((DomainStatus2) => {
|
||||
|
2
packages/gql-client/dist/index.mjs.map
vendored
2
packages/gql-client/dist/index.mjs.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user