mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-22 08:40:03 +01:00
ef7c614d44
* onboarding * move to utils file * shuffle various insights around * web performance * insight error states * fix recordings * sort stories, create readmes, rename to clean * add instance status api mock * dashboard * login * password reset * signup * billing * toolbar * mock posthog-js in tests
21 lines
579 B
TypeScript
21 lines
579 B
TypeScript
import { OrganizationMembershipLevel } from 'lib/constants'
|
|
import { AppContext } from '~/types'
|
|
|
|
export const storybookAppContext: AppContext = {
|
|
// @ts-ignore
|
|
current_team: {
|
|
effective_membership_level: OrganizationMembershipLevel.Owner,
|
|
completed_snippet_onboarding: true,
|
|
id: 1,
|
|
},
|
|
current_user: {
|
|
// @ts-ignore
|
|
organization: {
|
|
membership_level: OrganizationMembershipLevel.Owner,
|
|
available_features: [],
|
|
},
|
|
},
|
|
default_event_name: '$pageview',
|
|
persisted_feature_flags: [],
|
|
}
|