PostHogPluginOptions
Defined in: plugins/holocron-plugin-posthog/src/index.ts:10
Options for the PostHog plugin: token resolution, the instance host and test overrides.
Extends
Section titled “Extends”Properties
Section titled “Properties”baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: plugins/holocron-plugin-posthog/src/index.ts:18
Override base URL for tests (takes precedence over host).
cliToken?
Section titled “cliToken?”
optionalcliToken?:string
Defined in: cli/kyber/dist/secrets.d.mts:125
The --token flag.
Inherited from
Section titled “Inherited from”
optionalenv?:ProcessEnv
Defined in: cli/kyber/dist/secrets.d.mts:127
The environment to read. Default process.env; a test passes its own.
Inherited from
Section titled “Inherited from”fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: plugins/holocron-plugin-posthog/src/index.ts:20
Override fetch for tests.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
optionalhost?:string
Defined in: plugins/holocron-plugin-posthog/src/index.ts:16
PostHog instance host. Defaults to US cloud. EU cloud: “https://eu.posthog.com” Self-hosted: your own base URL.
Overrides
Section titled “Overrides”keyring?
Section titled “keyring?”
optionalkeyring?: (account) =>string|null
Defined in: cli/kyber/dist/secrets.d.mts:129
Looks an account up in the keyring. Replaces the configured lookup and the credential store; a test passes its own.
Parameters
Section titled “Parameters”account
Section titled “account”string
Returns
Section titled “Returns”string | null
Inherited from
Section titled “Inherited from”
optionalorg?:string
Defined in: cli/kyber/dist/secrets.d.mts:131
The active org. It selects the keyring account <service>.<org> first. Default: the variable orgEnvName names.