{"version":3,"file":"geometricpanda-ng-storyblok-tokens.mjs","sources":["../../../../projects/geometricpanda/ng-storyblok/tokens/access-token.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/api-endpoint.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/api-fetcher.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/api-headers.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/api-region.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/bridge.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/cache.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/loaders.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/oauth.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/resolve-links.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/resolve-relations.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/slug-rewrite.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/storyblok-client.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/storyblok-context.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/storyblok-preview.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/title-template.token.ts","../../../../projects/geometricpanda/ng-storyblok/tokens/geometricpanda-ng-storyblok-tokens.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\n/**\n * Injection token for the Storyblok access token.\n */\nexport const NG_STORYBLOK_ACCESS_TOKEN = new InjectionToken<string>('NG_STORYBLOK_ACCESS_TOKEN');\n","import { InjectionToken } from '@angular/core';\n\n/**\n * Injection token for the Storyblok API endpoint.\n */\nexport const NG_STORYBLOK_API_ENDPOINT = new InjectionToken<string>('NG_STORYBLOK_API_ENDPOINT');\n","import { InjectionToken } from '@angular/core';\n\n/**\n * Injection token for the Storyblok API Fetcher.\n */\nexport const NG_STORYBLOK_API_FETCHER = new InjectionToken<typeof fetch>('NG_STORYBLOK_API_FETCHER');\n","import { InjectionToken } from '@angular/core';\n\n/**\n * Injection token for the Storyblok API Headers.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const NG_STORYBLOK_API_HEADERS = new InjectionToken<any>('NG_STORYBLOK_API_HEADERS');\n","import { InjectionToken } from '@angular/core';\n\n/**\n * Injection token for the Storyblok API region.\n */\nexport const NG_STORYBLOK_API_REGION = new InjectionToken<string>('NG_STORYBLOK_API_PLUGIN');\n","import { InjectionToken } from '@angular/core';\nimport { ISbStoryData } from 'storyblok-js-client/src/interfaces';\n\nexport type BridgeCallback = (data: ISbStoryData) => void;\n\n/**\n * The token for the Storyblok cache.\n */\nexport const NG_STORYBLOK_BRIDGE = new InjectionToken<(id: number, target: BridgeCallback) => void>(\n    'NG_STORYBLOK_BRIDGE',\n);\n","import { InjectionToken } from '@angular/core';\nimport { ISbCache } from 'storyblok-js-client/src/interfaces';\n\n/**\n * The token for the Storyblok cache.\n */\nexport const NG_STORYBLOK_CACHE = new InjectionToken<ISbCache>('NG_STORYBLOK_CACHE');\nexport const NG_STORYBLOK_TRANSFER_CACHE = new InjectionToken<boolean>('NG_STORYBLOK_TRANSFER_CACHE');\n","import { InjectionToken, Type } from '@angular/core';\nimport { DefaultExport } from '@angular/router';\nimport { Observable } from 'rxjs';\n\nexport type BlokType =\n    | Type<unknown>\n    | Observable<Type<unknown> | DefaultExport<Type<unknown>>>\n    | Promise<Type<unknown> | DefaultExport<Type<unknown>>>;\n\nexport type BlokLoader = () => BlokType;\n\nexport type BlokLoaders = Record<string, BlokLoader>;\n\n/**\n * Injection token for blok loaders\n */\nexport const NG_STORYBLOK_LOADERS = new InjectionToken<BlokLoaders>('NG_STORYBLOK_LOADERS');\nexport const NG_STORYBLOK_FALLBACK_LOADER = new InjectionToken<BlokLoader>('NG_STORYBLOK_FALLBACK_LOADER');\n","import { InjectionToken } from '@angular/core';\n\n/**\n * Injection token for the Storyblok OAuth token.\n */\nexport const NG_STORYBLOK_OAUTH_TOKEN = new InjectionToken<string>('NG_STORYBLOK_OAUTH_TOKEN');\n","import { InjectionToken } from '@angular/core';\nimport { ISbStoryParams } from 'storyblok-js-client/src/interfaces';\n\n/**\n * Injection token for the Storyblok API region.\n */\nexport const NG_STORYBLOK_RESOLVE_LINKS = new InjectionToken<ISbStoryParams['resolve_links']>(\n    'NG_STORYBLOK_RESOLVE_LINKS',\n);\n","import { InjectionToken } from '@angular/core';\nimport { ISbStoryParams } from 'storyblok-js-client/src/interfaces';\n\nexport const NG_STORYBLOK_RESOLVE_RELATIONS = new InjectionToken<ISbStoryParams['resolve_relations']>(\n    'NG_STORYBLOK_RESOLVE_RELATIONS',\n);\n","import { InjectionToken } from '@angular/core';\n\nexport type RewriteFn = (slug: string) => string;\n\nexport interface SlugRewrite {\n    toStory: RewriteFn;\n    toUrl: RewriteFn;\n    toRichtextUrl: RewriteFn;\n}\n\nexport const NG_STORYBLOK_SLUG_REWRITE = new InjectionToken<SlugRewrite>('NG_STORYBLOK_SLUG_REWRITE');\n","import { InjectionToken } from '@angular/core';\nimport type { StoryblokClient } from '@storyblok/js/dist/types/types';\n\n/**\n * Injection token for the Storyblok client.\n */\nexport const NG_STORYBLOK_CLIENT = new InjectionToken<StoryblokClient>('NG_STORYBLOK_CLIENT');\n","import { InjectionToken, Signal } from '@angular/core';\nimport { ISbStoryData } from 'storyblok-js-client/src/interfaces';\n\n/**\n * Injection token for the Storyblok client.\n */\nexport const NG_STORYBLOK_CONTEXT = new InjectionToken<Signal<ISbStoryData>>('NG_STORYBLOK_CONTEXT');\n","import { InjectionToken } from '@angular/core';\nimport { ISbStoryParams } from 'storyblok-js-client/src/interfaces';\n\nexport interface StoryblokPreview {\n    preview: () => Promise<undefined | Partial<ISbStoryParams>>;\n}\n\n/**\n * Injection token for the Storyblok Preview functionality.\n */\nexport const NG_STORYBLOK_PREVIEW = new InjectionToken<StoryblokPreview>('NG_STORYBLOK_PREVIEW');\n","import { InjectionToken } from '@angular/core';\nimport type { render } from 'squirrelly';\nimport type { PartialConfig } from 'squirrelly/dist/types/config';\nimport type { CallbackFn } from 'squirrelly/dist/types/file-handlers';\n\nexport interface TitleTemplate {\n    template: string;\n    render: typeof render;\n    env?: PartialConfig;\n    cb?: CallbackFn;\n}\n\nexport const NG_STORYBLOK_TITLE_TEMPLATE = new InjectionToken<TitleTemplate>('NG_STORYBLOK_TITLE_TEMPLATE');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEA;;AAEG;MACU,yBAAyB,GAAG,IAAI,cAAc,CAAS,2BAA2B;;ACH/F;;AAEG;MACU,yBAAyB,GAAG,IAAI,cAAc,CAAS,2BAA2B;;ACH/F;;AAEG;MACU,wBAAwB,GAAG,IAAI,cAAc,CAAe,0BAA0B;;ACHnG;;AAEG;AACH;MACa,wBAAwB,GAAG,IAAI,cAAc,CAAM,0BAA0B;;ACJ1F;;AAEG;MACU,uBAAuB,GAAG,IAAI,cAAc,CAAS,yBAAyB;;ACA3F;;AAEG;MACU,mBAAmB,GAAG,IAAI,cAAc,CACjD,qBAAqB;;ACNzB;;AAEG;MACU,kBAAkB,GAAG,IAAI,cAAc,CAAW,oBAAoB,EAAE;MACxE,2BAA2B,GAAG,IAAI,cAAc,CAAU,6BAA6B;;ACMpG;;AAEG;MACU,oBAAoB,GAAG,IAAI,cAAc,CAAc,sBAAsB,EAAE;MAC/E,4BAA4B,GAAG,IAAI,cAAc,CAAa,8BAA8B;;ACfzG;;AAEG;MACU,wBAAwB,GAAG,IAAI,cAAc,CAAS,0BAA0B;;ACF7F;;AAEG;MACU,0BAA0B,GAAG,IAAI,cAAc,CACxD,4BAA4B;;MCJnB,8BAA8B,GAAG,IAAI,cAAc,CAC5D,gCAAgC;;MCMvB,yBAAyB,GAAG,IAAI,cAAc,CAAc,2BAA2B;;ACPpG;;AAEG;MACU,mBAAmB,GAAG,IAAI,cAAc,CAAkB,qBAAqB;;ACH5F;;AAEG;MACU,oBAAoB,GAAG,IAAI,cAAc,CAAuB,sBAAsB;;ACCnG;;AAEG;MACU,oBAAoB,GAAG,IAAI,cAAc,CAAmB,sBAAsB;;MCElF,2BAA2B,GAAG,IAAI,cAAc,CAAgB,6BAA6B;;ACZ1G;;AAEG;;;;"}