{"version":3,"file":"content-collection-workspace.context-token-CVm_YxA2.js","sources":["../../../src/packages/core/content/collection/content-collection-workspace.context-token.ts"],"sourcesContent":["import type { UmbContentCollectionWorkspaceContext } from './content-collection-workspace-context.interface.js';\r\nimport { UmbContextToken } from '@umbraco-cms/backoffice/context-api';\r\nimport type { UmbContentTypeModel } from '@umbraco-cms/backoffice/content-type';\r\nimport type { UmbWorkspaceContext } from '@umbraco-cms/backoffice/workspace';\r\n\r\nexport const UMB_CONTENT_COLLECTION_WORKSPACE_CONTEXT = new UmbContextToken<\r\n\tUmbWorkspaceContext,\r\n\tUmbContentCollectionWorkspaceContext\r\n>(\r\n\t'UmbWorkspaceContext',\r\n\tundefined,\r\n\t(context): context is UmbContentCollectionWorkspaceContext =>\r\n\t\t(context as UmbContentCollectionWorkspaceContext).contentTypeHasCollection !== undefined,\r\n);\r\n"],"names":["UMB_CONTENT_COLLECTION_WORKSPACE_CONTEXT","UmbContextToken","context"],"mappings":";AAKO,MAAMA,IAA2C,IAAIC;AAAA,EAI3D;AAAA,EACA;AAAA,EACA,CAACC,MACCA,EAAsE,6BAA6B;AACtG;"}