@droz-js/sdk
Advanced tools
Comparing version 0.9.26 to 0.9.27
{ | ||
"name": "@droz-js/sdk", | ||
"description": "Droz SDK", | ||
"version": "0.9.26", | ||
"version": "0.9.27", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -30,2 +30,5 @@ export * from './sdks/drozcommons'; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListGitRepositoriesQuery>; | ||
listDrozServices(variables?: import("./sdks/drozcommons").Exact<{ | ||
[key: string]: never; | ||
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListDrozServicesQuery>; | ||
listGitBranches(variables: import("./sdks/drozcommons").Exact<{ | ||
@@ -32,0 +35,0 @@ gitRepositoryId: import("./sdks/drozcommons").Scalars["ID"]["input"]; |
@@ -183,3 +183,3 @@ export type Maybe<T> = T; | ||
gitRepository: Scalars['String']['input']; | ||
services: Array<InputMaybe<Scalars['String']['input']>>; | ||
services?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>; | ||
tenantId: Scalars['ID']['input']; | ||
@@ -226,2 +226,6 @@ }; | ||
}; | ||
export type DrozService = { | ||
id: Scalars['String']['output']; | ||
name: Scalars['String']['output']; | ||
}; | ||
export type GitBranch = { | ||
@@ -385,2 +389,3 @@ name: Scalars['String']['output']; | ||
listDeployments: Array<Deployment>; | ||
listDrozServices: Array<DrozService>; | ||
listGitBranches: Array<GitBranch>; | ||
@@ -616,2 +621,8 @@ listGitRepositories: Array<GitRepository>; | ||
}; | ||
export type ListDrozServicesQueryVariables = Exact<{ | ||
[key: string]: never; | ||
}>; | ||
export type ListDrozServicesQuery = { | ||
listDrozServices: Array<Pick<DrozService, 'id' | 'name'>>; | ||
}; | ||
export type ListGitBranchesQueryVariables = Exact<{ | ||
@@ -823,2 +834,3 @@ gitRepositoryId: Scalars['ID']['input']; | ||
export declare const ListGitRepositoriesDocument = "\n query listGitRepositories {\n listGitRepositories {\n ...gitRepository\n }\n}\n \n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n \n\n fragment gitBranch on GitBranch {\n name\n}\n "; | ||
export declare const ListDrozServicesDocument = "\n query listDrozServices {\n listDrozServices {\n id\n name\n }\n}\n "; | ||
export declare const ListGitBranchesDocument = "\n query listGitBranches($gitRepositoryId: ID!) {\n listGitBranches(gitRepositoryId: $gitRepositoryId) {\n name\n }\n}\n "; | ||
@@ -862,2 +874,3 @@ export declare const GetDeploymentDocument = "\n query getDeployment($tenantId: ID!, $deploymentId: ID!) {\n getDeployment(tenantId: $tenantId, deploymentId: $deploymentId) {\n ...deployment\n }\n}\n \n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n services\n deployedVersion\n createdAt\n updatedAt\n}\n "; | ||
listGitRepositories(variables?: ListGitRepositoriesQueryVariables, options?: C): Promise<ListGitRepositoriesQuery>; | ||
listDrozServices(variables?: ListDrozServicesQueryVariables, options?: C): Promise<ListDrozServicesQuery>; | ||
listGitBranches(variables: ListGitBranchesQueryVariables, options?: C): Promise<ListGitBranchesQuery>; | ||
@@ -864,0 +877,0 @@ getDeployment(variables: GetDeploymentQueryVariables, options?: C): Promise<GetDeploymentQuery>; |
"use strict"; | ||
/* istanbul ignore file */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RemoveTenantDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = exports.GetFederationMetadataDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.RemoveGlobalParameterDocument = exports.SetGlobalParameterDocument = exports.RemoveAccountParameterDocument = exports.SetAccountParameterDocument = exports.RemoveTenantParameterDocument = exports.SetTenantParameterDocument = exports.GetGlobalParameterDocument = exports.ListGlobalParametersDocument = exports.GetAccountParameterDocument = exports.ListAccountParametersDocument = exports.GetTenantParameterDocument = exports.ListTenantParametersDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.GetMeDocument = exports.UpdateAccountDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.ParameterFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.ParameterType = exports.IdentityProviderType = exports.IdentityProviderSamlMetadataType = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.LeaveTenantOrganizationDocument = exports.JoinTenantAsSuperAdminDocument = void 0; | ||
exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.SearchSessionsOnTenantDocument = exports.GetFederationMetadataDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.RemoveGlobalParameterDocument = exports.SetGlobalParameterDocument = exports.RemoveAccountParameterDocument = exports.SetAccountParameterDocument = exports.RemoveTenantParameterDocument = exports.SetTenantParameterDocument = exports.GetGlobalParameterDocument = exports.ListGlobalParametersDocument = exports.GetAccountParameterDocument = exports.ListAccountParametersDocument = exports.GetTenantParameterDocument = exports.ListTenantParametersDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitBranchesDocument = exports.ListDrozServicesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.GetMeDocument = exports.UpdateAccountDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.ParameterFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.Typenames = exports.ParameterType = exports.IdentityProviderType = exports.IdentityProviderSamlMetadataType = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0; | ||
exports.serviceName = exports.LeaveTenantOrganizationDocument = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = void 0; | ||
exports.getSdk = getSdk; | ||
@@ -202,2 +202,10 @@ var AppInstanceStatus; | ||
${exports.GitBranchFragmentDoc}`; | ||
exports.ListDrozServicesDocument = ` | ||
query listDrozServices { | ||
listDrozServices { | ||
id | ||
name | ||
} | ||
} | ||
`; | ||
exports.ListGitBranchesDocument = ` | ||
@@ -446,2 +454,5 @@ query listGitBranches($gitRepositoryId: ID!) { | ||
}, | ||
listDrozServices(variables, options) { | ||
return requester(exports.ListDrozServicesDocument, variables, options); | ||
}, | ||
listGitBranches(variables, options) { | ||
@@ -448,0 +459,0 @@ return requester(exports.ListGitBranchesDocument, variables, options); |
1529048
30567