@@ -110,7 +110,6 @@ export async function deploymentCredentialsOrConfigure(
110110 deploymentSelection : DeploymentSelection ,
111111 chosenConfiguration : ChosenConfiguration ,
112112 cmdOptions : ConfigureCmdOptions ,
113- partitionId ?: number | undefined ,
114113) : Promise <
115114 DeploymentCredentials & {
116115 deploymentFields : {
@@ -126,7 +125,6 @@ export async function deploymentCredentialsOrConfigure(
126125 deploymentSelection ,
127126 chosenConfiguration ,
128127 cmdOptions ,
129- partitionId ,
130128 ) ;
131129
132130 if ( selectedDeployment . deploymentFields !== null ) {
@@ -161,7 +159,6 @@ export async function _deploymentCredentialsOrConfigure(
161159 deploymentSelection : DeploymentSelection ,
162160 chosenConfiguration : ChosenConfiguration ,
163161 cmdOptions : ConfigureCmdOptions ,
164- partitionId ?: number | undefined ,
165162) : Promise <
166163 DeploymentCredentials & {
167164 deploymentFields : {
@@ -215,7 +212,6 @@ export async function _deploymentCredentialsOrConfigure(
215212 chosenConfiguration ,
216213 {
217214 globallyForceCloud,
218- partitionId,
219215 } ,
220216 cmdOptions ,
221217 ) ;
@@ -232,7 +228,6 @@ export async function _deploymentCredentialsOrConfigure(
232228 targetProject : deploymentSelection . targetProject ,
233229 cmdOptions,
234230 globallyForceCloud,
235- partitionId,
236231 } ) ;
237232 }
238233 case "anonymous" : {
@@ -255,7 +250,6 @@ export async function _deploymentCredentialsOrConfigure(
255250 chosenConfiguration ,
256251 {
257252 globallyForceCloud,
258- partitionId,
259253 } ,
260254 cmdOptions ,
261255 ) ;
@@ -311,7 +305,6 @@ export async function _deploymentCredentialsOrConfigure(
311305 chosenConfiguration ,
312306 {
313307 globallyForceCloud,
314- partitionId,
315308 } ,
316309 cmdOptions ,
317310 ) ;
@@ -326,13 +319,11 @@ async function handleDeploymentWithinProject(
326319 targetProject,
327320 cmdOptions,
328321 globallyForceCloud,
329- partitionId,
330322 } : {
331323 chosenConfiguration : ChosenConfiguration ;
332324 targetProject : ProjectSelection ;
333325 cmdOptions : ConfigureCmdOptions ;
334326 globallyForceCloud : boolean ;
335- partitionId ?: number | undefined ;
336327 } ,
337328) {
338329 const hasAuth = ctx . bigBrainAuth ( ) !== null ;
@@ -353,7 +344,6 @@ async function handleDeploymentWithinProject(
353344 chosenConfiguration ,
354345 {
355346 globallyForceCloud,
356- partitionId,
357347 } ,
358348 cmdOptions ,
359349 ) ;
@@ -368,7 +358,6 @@ async function handleDeploymentWithinProject(
368358 chosenConfiguration ,
369359 {
370360 globallyForceCloud,
371- partitionId,
372361 } ,
373362 cmdOptions ,
374363 ) ;
@@ -410,7 +399,6 @@ async function handleChooseProject(
410399 chosenConfiguration : ChosenConfiguration ,
411400 args : {
412401 globallyForceCloud : boolean ;
413- partitionId ?: number | undefined ;
414402 } ,
415403 cmdOptions : ConfigureCmdOptions ,
416404) : Promise <
@@ -435,7 +423,6 @@ async function handleChooseProject(
435423 devDeployment : cmdOptions . devDeployment ,
436424 local : args . globallyForceCloud ? false : cmdOptions . local ,
437425 cloud : args . globallyForceCloud ? true : cmdOptions . cloud ,
438- partitionId : args . partitionId ,
439426 } ) ;
440427 // TODO complain about any non-default cmdOptions.localOptions here
441428 // because we're ignoring them if this isn't a local development.
@@ -454,7 +441,6 @@ async function handleChooseProject(
454441 teamSlug : project . teamSlug ,
455442 projectSlug : project . projectSlug ,
456443 deploymentOptions,
457- partitionId : args . partitionId ,
458444 } ) ;
459445 return {
460446 url,
@@ -503,7 +489,6 @@ export async function selectProject(
503489 devDeployment ?: "cloud" | "local" | undefined ;
504490 local ?: boolean | undefined ;
505491 cloud ?: boolean | undefined ;
506- partitionId ?: number ;
507492 defaultProjectName ?: string | undefined ;
508493 } ,
509494) : Promise < {
@@ -540,7 +525,6 @@ async function selectNewProject(
540525 devDeployment ?: "cloud" | "local" | undefined ;
541526 cloud ?: boolean | undefined ;
542527 local ?: boolean | undefined ;
543- partitionId ?: number | undefined ;
544528 defaultProjectName ?: string | undefined ;
545529 } ,
546530) {
@@ -578,7 +562,6 @@ async function selectNewProject(
578562 ( { projectSlug, teamSlug, projectsRemaining } = await createProject ( ctx , {
579563 teamSlug : selectedTeam ,
580564 projectName,
581- partitionId : config . partitionId ,
582565 // We have to create some deployment initially for a project.
583566 deploymentTypeToProvision : devDeployment === "local" ? "prod" : "dev" ,
584567 } ) ) ;
@@ -712,7 +695,6 @@ async function ensureDeploymentProvisioned(
712695 teamSlug : string ;
713696 projectSlug : string ;
714697 deploymentOptions : DeploymentOptions ;
715- partitionId : number | undefined ;
716698 } ,
717699) : Promise < DeploymentDetails > {
718700 switch ( options . deploymentOptions . kind ) {
@@ -727,7 +709,6 @@ async function ensureDeploymentProvisioned(
727709 projectSlug : options . projectSlug ,
728710 } ,
729711 options . deploymentOptions . kind ,
730- options . partitionId ,
731712 ) ;
732713 return {
733714 ...credentials ,
0 commit comments