SignStorybookTokenInput
Defined in: packages/core/src/utils/storybook-token.ts:52
Inputs for signStorybookToken.
Properties
Section titled “Properties”buildId
Section titled “buildId”buildId:
string
Defined in: packages/core/src/utils/storybook-token.ts:56
optionalnow?:number
Defined in: packages/core/src/utils/storybook-token.ts:60
Clock override for tests (ms).
projectId
Section titled “projectId”projectId:
string
Defined in: packages/core/src/utils/storybook-token.ts:55
secret
Section titled “secret”secret:
SecretInput
Defined in: packages/core/src/utils/storybook-token.ts:54
The server secret (a rotation pair signs with its current key); throws when empty.
ttlSeconds?
Section titled “ttlSeconds?”
optionalttlSeconds?:number
Defined in: packages/core/src/utils/storybook-token.ts:58
Lifetime in seconds; defaults to DEFAULT_STORYBOOK_URL_TTL. See storybookUrlTtl.