diff --git a/packages/core/src/resources/Deployments.ts b/packages/core/src/resources/Deployments.ts index 46b4dff95..9466009e9 100644 --- a/packages/core/src/resources/Deployments.ts +++ b/packages/core/src/resources/Deployments.ts @@ -51,6 +51,8 @@ export interface DeploymentSchema extends Record { user: UserSchema; deployable: DeployableSchema; environment: EnvironmentSchema; + pending_approval_count?: number; + approvals?: DeploymentApprovalStatusSchema[]; } export type AllDeploymentsOptions = { diff --git a/packages/requester-utils/test/unit/RequesterUtils.ts b/packages/requester-utils/test/unit/RequesterUtils.ts index 095389f1f..df046800d 100644 --- a/packages/requester-utils/test/unit/RequesterUtils.ts +++ b/packages/requester-utils/test/unit/RequesterUtils.ts @@ -45,19 +45,11 @@ describe('defaultOptionsHandler', () => { testBody.set('test', 'one'); - if (testBody instanceof FormData) { - console.log('IS FORM DATA'); - } - const { body } = await defaultOptionsHandler(serviceOptions, { body: testBody, method: 'POST', }); - if (body instanceof FormData) { - console.log('BOD IS FORM DATA'); - } - expect(body).toBeInstanceOf(FormData); });