Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

1.5 KB
Raw Blame
import type Resources from './resources.generated.d.ts'
import { kebabCase } from 'string-ts'

export const defaultNS = 'app' as const

export const namespaces = [
  'knowledgeUpgrade',
  'knowledgeErrors',
  'knowledgeSettings',
  'knowledgeRetrieval',
  'knowledgeQuality',
  'knowledgeOverview',
  'knowledgeTasks',
  'knowledgeDocuments',
  'knowledgeSources',
  'knowledgeCitation',
  'knowledgeCreate',
  'fileUpload',
  'appGeneration',
  'agentRoster',
  'workflowGenerator',
  'workflowModels',
  'workflowHumanInput',
  'workflowIntegrations',
  'workflowLogic',
  'workflowAgent',
  'workflowDebug',
  'workflowComments',
  'workflowHistory',
  'onboarding',
  'modelProvider',
  'workspaceMembers',
  'navigation',
  'accountSettings',
  'app',
  'appAnnotation',
  'appApi',
  'appDebug',
  'appLog',
  'appOverview',
  'agentV2',
  'billing',
  'common',
  'contacts',
  'custom',
  'dataset',
  'datasetCreation',
  'datasetDocuments',
  'datasetHitTesting',
  'datasetPipeline',
  'datasetSettings',
  'deployments',
  'deviceFlow',
  'education',
  'explore',
  'layout',
  'login',
  'knowledgeSpace',
  'oauth',
  'permission',
  'permissionKeys',
  'pipeline',
  'plugin',
  'pluginTags',
  'pluginTrigger',
  'register',
  'runLog',
  'share',
  'skill',
  'snippet',
  'time',
  'tools',
  'workflow',
] as const satisfies ReadonlyArray<keyof Resources>
export type Namespace = (typeof namespaces)[number]

const namespacesInFileName = namespaces.map((ns) => kebabCase(ns))
export type NamespaceInFileName = (typeof namespacesInFileName)[number]