Replace shouldSyncNameAndLabel with isLabelSyncedWithName (#8067)
For consistency. This was not deployed yet so allowing myself just to rename everything, meaning developers will need to reset their db.
This commit is contained in:
@ -30,7 +30,7 @@ describe('objectMetadataItemSchema', () => {
|
||||
namePlural: 'notCamelCase',
|
||||
nameSingular: 'notCamelCase',
|
||||
updatedAt: 'invalid date',
|
||||
shouldSyncLabelAndName: 'not a boolean',
|
||||
isLabelSyncedWithName: 'not a boolean',
|
||||
};
|
||||
|
||||
// When
|
||||
|
||||
@ -27,5 +27,5 @@ export const objectMetadataItemSchema = z.object({
|
||||
nameSingular: camelCaseStringSchema,
|
||||
updatedAt: z.string().datetime(),
|
||||
shortcut: z.string().nullable().optional(),
|
||||
shouldSyncLabelAndName: z.boolean(),
|
||||
isLabelSyncedWithName: z.boolean(),
|
||||
}) satisfies z.ZodType<ObjectMetadataItem>;
|
||||
|
||||
Reference in New Issue
Block a user