fix: enforce work product taxonomy
This commit is contained in:
1 parent
fa53d15822
commit
67ccfc1160
9 files changed
+261
-38
No files matched your search
@@ -235,6 +235,13 @@ export type DocumentType =
|
||||
|
||||
export type DocumentStatus = "draft" | "in_review" | "approved" | "archived" | "superseded";
|
||||
|
||||
export type {
|
||||
WorkProductType,
|
||||
WorkProductProvider,
|
||||
WorkProductStatus,
|
||||
WorkProductReviewState,
|
||||
} from "../contracts/schemas-work-products";
|
||||
|
||||
export type KnowledgeCategory =
|
||||
| "lesson_learned"
|
||||
| "best_practice"
|
||||
|
||||
@@ -23,6 +23,10 @@ import type {
|
||||
ThreadWaitingFor,
|
||||
ThreadNotifyOn,
|
||||
DepartmentId,
|
||||
WorkProductType,
|
||||
WorkProductProvider,
|
||||
WorkProductStatus,
|
||||
WorkProductReviewState,
|
||||
} from "./enums";
|
||||
|
||||
export interface SocialAccountRecord {
|
||||
@@ -103,13 +107,13 @@ export interface WorkProductRecord {
|
||||
projectId: string | null;
|
||||
taskId: string | null;
|
||||
workspaceId: string | null;
|
||||
type: string;
|
||||
provider: string;
|
||||
type: WorkProductType;
|
||||
provider: WorkProductProvider;
|
||||
externalId: string | null;
|
||||
title: string;
|
||||
url: string | null;
|
||||
status: string;
|
||||
reviewState: string;
|
||||
status: WorkProductStatus;
|
||||
reviewState: WorkProductReviewState;
|
||||
isPrimary: boolean;
|
||||
summary: string | null;
|
||||
metadataJson: string | null;
|
||||
|
||||
Reference in new issue
Block a user