Update enums to be all caps (#12372)
- Make custom domain public (remove from lab) - Use ALL_CAPS definition for enums
This commit is contained in:
@ -68,7 +68,7 @@ describe('createManyObjectRecordsPermissions', () => {
|
||||
// beforeAll(async () => {
|
||||
// const enablePermissionsQuery = updateFeatureFlagFactory(
|
||||
// SEED_APPLE_WORKSPACE_ID,
|
||||
// 'IsPermissionsV2Enabled',
|
||||
// 'IS_PERMISSIONS_V2_ENABLED',
|
||||
// true,
|
||||
// );
|
||||
|
||||
@ -78,7 +78,7 @@ describe('createManyObjectRecordsPermissions', () => {
|
||||
// afterAll(async () => {
|
||||
// const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
// SEED_APPLE_WORKSPACE_ID,
|
||||
// 'IsPermissionsV2Enabled',
|
||||
// 'IS_PERMISSIONS_V2_ENABLED',
|
||||
// false,
|
||||
// );
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ describe('createOneObjectRecordsPermissions', () => {
|
||||
beforeAll(async () => {
|
||||
const enablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
true,
|
||||
);
|
||||
|
||||
@ -65,7 +65,7 @@ describe('createOneObjectRecordsPermissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
|
||||
@ -82,7 +82,7 @@ describe('deleteManyObjectRecordsPermissions', () => {
|
||||
beforeAll(async () => {
|
||||
const enablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
true,
|
||||
);
|
||||
|
||||
@ -92,7 +92,7 @@ describe('deleteManyObjectRecordsPermissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
|
||||
@ -78,7 +78,7 @@ describe('deleteOneObjectRecordsPermissions', () => {
|
||||
|
||||
const enablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
true,
|
||||
);
|
||||
|
||||
@ -88,7 +88,7 @@ describe('deleteOneObjectRecordsPermissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
|
||||
@ -81,7 +81,7 @@ describe('destroyManyObjectRecordsPermissions', () => {
|
||||
beforeAll(async () => {
|
||||
const enablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
true,
|
||||
);
|
||||
|
||||
@ -91,7 +91,7 @@ describe('destroyManyObjectRecordsPermissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
|
||||
@ -76,7 +76,7 @@ describe('destroyOneObjectRecordsPermissions', () => {
|
||||
|
||||
const enablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
true,
|
||||
);
|
||||
|
||||
@ -86,7 +86,7 @@ describe('destroyOneObjectRecordsPermissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
|
||||
@ -133,7 +133,7 @@ describe('restoreManyObjectRecordsPermissions', () => {
|
||||
|
||||
const enablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
true,
|
||||
);
|
||||
|
||||
@ -143,7 +143,7 @@ describe('restoreManyObjectRecordsPermissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ describe('updateManyObjectRecordsPermissions', () => {
|
||||
beforeAll(async () => {
|
||||
const enablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
true,
|
||||
);
|
||||
|
||||
@ -100,7 +100,7 @@ describe('updateManyObjectRecordsPermissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ describe('updateOneObjectRecordsPermissions', () => {
|
||||
|
||||
const enablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
true,
|
||||
);
|
||||
|
||||
@ -116,7 +116,7 @@ describe('updateOneObjectRecordsPermissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ describe('roles permissions', () => {
|
||||
beforeAll(async () => {
|
||||
const enablePermissionsV2Query = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
true,
|
||||
);
|
||||
|
||||
@ -76,7 +76,7 @@ describe('roles permissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsV2Query = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsV2Enabled',
|
||||
'IS_PERMISSIONS_V2_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
|
||||
@ -25,7 +25,6 @@ describe('workspace permissions', () => {
|
||||
logo
|
||||
isPublicInviteLinkEnabled
|
||||
subdomain
|
||||
isCustomDomainEnabled
|
||||
}
|
||||
}
|
||||
`;
|
||||
@ -38,7 +37,7 @@ describe('workspace permissions', () => {
|
||||
afterAll(async () => {
|
||||
const disablePermissionsQuery = updateFeatureFlagFactory(
|
||||
SEED_APPLE_WORKSPACE_ID,
|
||||
'IsPermissionsEnabled',
|
||||
'IS_PERMISSIONS_ENABLED',
|
||||
false,
|
||||
);
|
||||
|
||||
@ -463,7 +462,7 @@ describe('workspace permissions', () => {
|
||||
`,
|
||||
variables: {
|
||||
input: {
|
||||
publicFeatureFlag: 'IsStripeIntegrationEnabled',
|
||||
publicFeatureFlag: 'IS_STRIPE_INTEGRATION_ENABLED',
|
||||
value: true,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user