9342b16aad
## Summary - Migrate more hand-written test mocks to auto-generated data from a real Twenty instance - Add generators for views, billing plans, API keys; extend record generator for workspace members, favorites, connected accounts, calendar events - Remove 9 hand-written mock files replaced by generated equivalents - Update 16 test/story files to use generated data - Fix WorkflowEditActionEmailBase story assertion to match configured recipient email ## Test plan - [x] Lint, typecheck, unit tests pass - [ ] Storybook tests pass in CI
26 lines
608 B
TypeScript
26 lines
608 B
TypeScript
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
|
|
// This file was automatically generated — do not edit manually.
|
|
|
|
// prettier-ignore
|
|
export const mockedApiKeys: Record<string, unknown>[] =
|
|
[
|
|
{
|
|
"__typename": "ApiKey",
|
|
"id": "20202020-f401-4d8a-a731-64d007c27bad",
|
|
"name": "My api key",
|
|
"expiresAt": "2025-12-31T23:59:59.000Z",
|
|
"createdAt": "2026-02-27T01:17:26.394Z",
|
|
"updatedAt": "2026-02-27T01:17:26.394Z",
|
|
"revokedAt": null,
|
|
"role": {
|
|
"__typename": "Role",
|
|
"id": "28f0a741-33c8-4af0-8542-f9ca2ad43285",
|
|
"label": "Admin",
|
|
"icon": "IconUserCog"
|
|
}
|
|
}
|
|
];
|