{"allowContribute":false,"item":{"activeCommit":"8108fa8e4f7b3d17ef0ccc1944e544135dfb22d9","apis":{"routes":[{"method":"GET","path":"/api/health"},{"method":"POST","path":"/api/auth"},{"method":"GET","path":"/api/me"},{"method":"GET","path":"/api/employees"},{"method":"POST","path":"/api/employees"},{"method":"PUT","path":"/api/employees/:name"},{"method":"DELETE","path":"/api/employees/:name"},{"method":"GET","path":"/api/categories"},{"method":"GET","path":"/api/query-types"},{"method":"GET","path":"/api/materials"},{"method":"GET","path":"/api/materials/:no"},{"method":"POST","path":"/api/materials"},{"method":"PUT","path":"/api/materials/:no"},{"method":"DELETE","path":"/api/materials/:no"},{"method":"POST","path":"/api/materials/batch"},{"method":"GET","path":"/api/ask-rules"},{"method":"POST","path":"/api/ask-rules"},{"method":"PUT","path":"/api/ask-rules/:id"},{"method":"DELETE","path":"/api/ask-rules/:id"},{"method":"POST","path":"/api/ask-rules/reorder"},{"method":"GET","path":"/api/records"},{"method":"POST","path":"/api/records"},{"method":"PUT","path":"/api/records/:id"},{"method":"DELETE","path":"/api/records/:id"},{"method":"GET","path":"/api/query"},{"method":"GET","path":"/api/query/summary"},{"method":"POST","path":"/api/ai-chat"},{"method":"GET","path":"/api/summary"},{"method":"GET","path":"/api/dashboard"},{"method":"GET","path":"/api/dashboard-history"},{"method":"GET","path":"/api/export/detail"},{"method":"GET","path":"/api/export/machine"},{"method":"GET","path":"/api/export/biotech"},{"method":"GET","path":"/api/export/query"},{"method":"GET","path":"/api/export/summary"},{"method":"GET","path":"/api/db/export"},{"method":"POST","path":"/api/db/import"},{"method":"POST","path":"/api/update"},{"method":"GET","path":"/api/update/latest"}],"types":{"AskRule":"interface AskRule {\n  id: string;\n  question: string;\n  keywords: string[];\n  queryType: string;\n  tags?: string[];\n  enabled: boolean;\n  sortOrder: number;\n}","Employee":"interface Employee {\n  name: string;\n  id: string;\n  dept: string;\n  pass: string;\n  isAdmin?: boolean;\n  isManager?: boolean;\n  isCnc?: boolean;\n}","Material":"interface Material {\n  no: string;\n  name: string;\n}","Session":"interface Session {\n  name: string;\n  isAdmin: boolean;\n  isManager: boolean;\n  isCnc: boolean;\n  expires: number;\n}","WorkRecord":"interface WorkRecord {\n  id: string;\n  employee: string;\n  empId: string;\n  dept: string;\n  date: string;\n  reportType: 'personnel' | 'machine' | 'biotech';\n  cat1: string;\n  cat2: string;\n  order: string;\n  task: string;\n  machineNo?: string;\n  shopName?: string;\n  timeStart: number;\n  timeEnd: number;\n  breakMins: number;\n  minutes: number;\n  qty: number;\n  anomaly: string;\n  overtime: boolean;\n  createdAt: string;\n  materialNo?: string;\n  completed?: boolean;\n}"}},"backendSchedules":[],"bundleHash":"3a4e0f4bc5564a4b","createdAt":1783068768454,"deletedAt":null,"displayName":"製造部報工系統","exampleHintSeen":true,"gitCommit":"8108fa8e4f7b3d17ef0ccc1944e544135dfb22d9","id":"00ce8889473f7db131b9dc90","isPublic":true,"itemType":"PLUGIN","name":"製造部報工系統","parents":{},"pluginDir":"製造部報工系統","preParentID":null,"repositoryID":"repo_dc2427892f4a6a46c0e292e7","status":"active","updatedAt":1788344738479,"updatedBy":{"userId":"6a4748060008df0bf814d7","userName":"Tab"},"version":11},"ownerMemberId":"6a4748060008df0bf814d7","ownerName":"Tab","publicPlugins":{"PLUGIN":{"pluginItemId":"00ce8889473f7db131b9dc90","pluginDir":"製造部報工系統","bundleHash":"3a4e0f4bc5564a4b","live":true}},"subtree":[{"activeCommit":"8108fa8e4f7b3d17ef0ccc1944e544135dfb22d9","apis":{"routes":[{"method":"GET","path":"/api/health"},{"method":"POST","path":"/api/auth"},{"method":"GET","path":"/api/me"},{"method":"GET","path":"/api/employees"},{"method":"POST","path":"/api/employees"},{"method":"PUT","path":"/api/employees/:name"},{"method":"DELETE","path":"/api/employees/:name"},{"method":"GET","path":"/api/categories"},{"method":"GET","path":"/api/query-types"},{"method":"GET","path":"/api/materials"},{"method":"GET","path":"/api/materials/:no"},{"method":"POST","path":"/api/materials"},{"method":"PUT","path":"/api/materials/:no"},{"method":"DELETE","path":"/api/materials/:no"},{"method":"POST","path":"/api/materials/batch"},{"method":"GET","path":"/api/ask-rules"},{"method":"POST","path":"/api/ask-rules"},{"method":"PUT","path":"/api/ask-rules/:id"},{"method":"DELETE","path":"/api/ask-rules/:id"},{"method":"POST","path":"/api/ask-rules/reorder"},{"method":"GET","path":"/api/records"},{"method":"POST","path":"/api/records"},{"method":"PUT","path":"/api/records/:id"},{"method":"DELETE","path":"/api/records/:id"},{"method":"GET","path":"/api/query"},{"method":"GET","path":"/api/query/summary"},{"method":"POST","path":"/api/ai-chat"},{"method":"GET","path":"/api/summary"},{"method":"GET","path":"/api/dashboard"},{"method":"GET","path":"/api/dashboard-history"},{"method":"GET","path":"/api/export/detail"},{"method":"GET","path":"/api/export/machine"},{"method":"GET","path":"/api/export/biotech"},{"method":"GET","path":"/api/export/query"},{"method":"GET","path":"/api/export/summary"},{"method":"GET","path":"/api/db/export"},{"method":"POST","path":"/api/db/import"},{"method":"POST","path":"/api/update"},{"method":"GET","path":"/api/update/latest"}],"types":{"AskRule":"interface AskRule {\n  id: string;\n  question: string;\n  keywords: string[];\n  queryType: string;\n  tags?: string[];\n  enabled: boolean;\n  sortOrder: number;\n}","Employee":"interface Employee {\n  name: string;\n  id: string;\n  dept: string;\n  pass: string;\n  isAdmin?: boolean;\n  isManager?: boolean;\n  isCnc?: boolean;\n}","Material":"interface Material {\n  no: string;\n  name: string;\n}","Session":"interface Session {\n  name: string;\n  isAdmin: boolean;\n  isManager: boolean;\n  isCnc: boolean;\n  expires: number;\n}","WorkRecord":"interface WorkRecord {\n  id: string;\n  employee: string;\n  empId: string;\n  dept: string;\n  date: string;\n  reportType: 'personnel' | 'machine' | 'biotech';\n  cat1: string;\n  cat2: string;\n  order: string;\n  task: string;\n  machineNo?: string;\n  shopName?: string;\n  timeStart: number;\n  timeEnd: number;\n  breakMins: number;\n  minutes: number;\n  qty: number;\n  anomaly: string;\n  overtime: boolean;\n  createdAt: string;\n  materialNo?: string;\n  completed?: boolean;\n}"}},"backendSchedules":[],"bundleHash":"3a4e0f4bc5564a4b","createdAt":1783068768454,"deletedAt":null,"displayName":"製造部報工系統","exampleHintSeen":true,"gitCommit":"8108fa8e4f7b3d17ef0ccc1944e544135dfb22d9","id":"00ce8889473f7db131b9dc90","isPublic":true,"itemType":"PLUGIN","name":"製造部報工系統","parents":{},"pluginDir":"製造部報工系統","preParentID":null,"repositoryID":"repo_dc2427892f4a6a46c0e292e7","status":"active","updatedAt":1788344738479,"updatedBy":{"userId":"6a4748060008df0bf814d7","userName":"Tab"},"version":11}]}