mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
29 lines
740 B
TypeScript
29 lines
740 B
TypeScript
import { urls } from 'scenes/urls'
|
|
|
|
import { ProductManifest } from '../../frontend/src/types'
|
|
|
|
export const manifest: ProductManifest = {
|
|
name: 'Notebooks',
|
|
urls: {
|
|
notebooks: (): string => '/notebooks',
|
|
notebook: (shortId: string): string => `/notebooks/${shortId}`,
|
|
canvas: (): string => `/canvas`,
|
|
},
|
|
fileSystemTypes: {
|
|
notebook: {
|
|
name: 'Notebook',
|
|
iconType: 'notebook',
|
|
href: (ref: string) => urls.notebook(ref),
|
|
filterKey: 'notebook',
|
|
},
|
|
},
|
|
treeItemsNew: [
|
|
{
|
|
path: `Notebook`,
|
|
type: 'notebook',
|
|
href: urls.notebook('new'),
|
|
iconType: 'notebook',
|
|
},
|
|
],
|
|
}
|