@@ -390,6 +390,8 @@ export type Team = {
390390 legacy : Scalars [ 'Boolean' ] ;
391391 limits : TeamLimits ;
392392 members : Array < TeamMember > ;
393+ /** Additional user-provided metadata about the workspace */
394+ metadata : TeamMetadata ;
393395 name : Scalars [ 'String' ] ;
394396 privateRegistry : Maybe < PrivateRegistry > ;
395397 /**
@@ -535,6 +537,13 @@ export type TeamMember = {
535537 username : Scalars [ 'String' ] ;
536538} ;
537539
540+ /** Additional user-provided metadata about a workspace */
541+ export type TeamMetadata = {
542+ __typename ?: 'TeamMetadata' ;
543+ /** Use-cases for the workspace provided during creation */
544+ useCases : Array < Scalars [ 'String' ] > ;
545+ } ;
546+
538547/** A private package registry */
539548export type PrivateRegistry = {
540549 __typename ?: 'PrivateRegistry' ;
@@ -2071,6 +2080,8 @@ export type RootMutationType = {
20712080 setTeamDescription : Team ;
20722081 /** Set user-editable limits for the workspace */
20732082 setTeamLimits : Scalars [ 'String' ] ;
2083+ /** Set user-provided metadata about the workspace */
2084+ setTeamMetadata : Team ;
20742085 /** Set minimum privacy level for workspace */
20752086 setTeamMinimumPrivacy : WorkspaceSandboxSettings ;
20762087 /** Set the name of the team */
@@ -2595,6 +2606,11 @@ export type RootMutationTypeSetTeamLimitsArgs = {
25952606 teamId : Scalars [ 'UUID4' ] ;
25962607} ;
25972608
2609+ export type RootMutationTypeSetTeamMetadataArgs = {
2610+ metadata : TeamMetadataInput ;
2611+ teamId : Scalars [ 'UUID4' ] ;
2612+ } ;
2613+
25982614export type RootMutationTypeSetTeamMinimumPrivacyArgs = {
25992615 minimumPrivacy : Scalars [ 'Int' ] ;
26002616 teamId : Scalars [ 'UUID4' ] ;
@@ -2812,6 +2828,12 @@ export type BillingDetails = {
28122828 date : Scalars [ 'String' ] ;
28132829} ;
28142830
2831+ /** Additional user-provided metadata about a workspace */
2832+ export type TeamMetadataInput = {
2833+ /** Use-cases for the workspace */
2834+ useCases : Array < Scalars [ 'String' ] > ;
2835+ } ;
2836+
28152837export type RootSubscriptionType = {
28162838 __typename ?: 'RootSubscriptionType' ;
28172839 /** Receive updates for events related to the specified branch. */
@@ -4792,6 +4814,7 @@ export type CurrentTeamInfoFragmentFragment = {
47924814 ubbBeta : boolean ;
47934815 friendOfCsb : boolean ;
47944816 } ;
4817+ metadata : { __typename ?: 'TeamMetadata' ; useCases : Array < string > } ;
47954818} ;
47964819
47974820export type BranchFragment = {
@@ -5603,6 +5626,63 @@ export type UpdateProjectVmTierMutation = {
56035626 } ;
56045627} ;
56055628
5629+ export type SetTeamMetadataMutationVariables = Exact < {
5630+ teamId : Scalars [ 'UUID4' ] ;
5631+ useCases : Array < Scalars [ 'String' ] > | Scalars [ 'String' ] ;
5632+ } > ;
5633+
5634+ export type SetTeamMetadataMutation = {
5635+ __typename ?: 'RootMutationType' ;
5636+ setTeamMetadata : {
5637+ __typename ?: 'Team' ;
5638+ id : any ;
5639+ name : string ;
5640+ type : TeamType ;
5641+ description : string | null ;
5642+ creatorId : any | null ;
5643+ avatarUrl : string | null ;
5644+ legacy : boolean ;
5645+ frozen : boolean ;
5646+ insertedAt : string ;
5647+ settings : {
5648+ __typename ?: 'WorkspaceSandboxSettings' ;
5649+ minimumPrivacy : number ;
5650+ } | null ;
5651+ userAuthorizations : Array < {
5652+ __typename ?: 'UserAuthorization' ;
5653+ userId : any ;
5654+ authorization : TeamMemberAuthorization ;
5655+ teamManager : boolean ;
5656+ } > ;
5657+ users : Array < {
5658+ __typename ?: 'User' ;
5659+ id : any ;
5660+ name : string | null ;
5661+ username : string ;
5662+ avatarUrl : string ;
5663+ } > ;
5664+ invitees : Array < {
5665+ __typename ?: 'User' ;
5666+ id : any ;
5667+ name : string | null ;
5668+ username : string ;
5669+ avatarUrl : string ;
5670+ } > ;
5671+ subscription : {
5672+ __typename ?: 'ProSubscription' ;
5673+ origin : SubscriptionOrigin | null ;
5674+ type : SubscriptionType ;
5675+ status : SubscriptionStatus ;
5676+ paymentProvider : SubscriptionPaymentProvider | null ;
5677+ } | null ;
5678+ featureFlags : {
5679+ __typename ?: 'TeamFeatureFlags' ;
5680+ ubbBeta : boolean ;
5681+ friendOfCsb : boolean ;
5682+ } ;
5683+ } ;
5684+ } ;
5685+
56065686export type RecentlyDeletedTeamSandboxesQueryVariables = Exact < {
56075687 teamId : Scalars [ 'UUID4' ] ;
56085688} > ;
@@ -6305,6 +6385,7 @@ export type GetTeamQuery = {
63056385 ubbBeta : boolean ;
63066386 friendOfCsb : boolean ;
63076387 } ;
6388+ metadata : { __typename ?: 'TeamMetadata' ; useCases : Array < string > } ;
63086389 } | null ;
63096390 } | null ;
63106391} ;
0 commit comments