@crewx/sdk 0.9.0-rc.70 → 0.9.0-rc.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +59 -59
- package/dist/esm/repository/index.js +21 -21
- package/dist/index.js +61 -61
- package/dist/migrations/0017_project_stage_sdk_migration.sql +29 -0
- package/dist/migrations/meta/0017_snapshot.json +2419 -0
- package/dist/migrations/meta/_journal.json +8 -1
- package/dist/repository/index.d.ts +1 -1
- package/dist/repository/index.js +24 -24
- package/dist/repository/project.repository.d.ts +4 -2
- package/package.json +1 -1
|
@@ -7,8 +7,10 @@ export type ProjectEventType = 'created' | 'plan_proposed' | 'plan_approved' | '
|
|
|
7
7
|
export type ProjectEvidenceKind = 'task' | 'wi' | 'url';
|
|
8
8
|
export interface ProjectStage {
|
|
9
9
|
key: string;
|
|
10
|
-
|
|
10
|
+
labelOverride: string | null;
|
|
11
11
|
}
|
|
12
|
+
export declare const DEFAULT_PROJECT_STAGE_KEYS: readonly ["outcome_plan", "contract_check", "feature_link", "use_verify", "result_review"];
|
|
13
|
+
export declare const DEFAULT_PROJECT_STAGES: readonly ProjectStage[];
|
|
12
14
|
export interface ProjectEvidence {
|
|
13
15
|
kind: ProjectEvidenceKind;
|
|
14
16
|
ref: string;
|
|
@@ -23,7 +25,7 @@ export interface CreateProjectInput {
|
|
|
23
25
|
name: string;
|
|
24
26
|
outcome: string;
|
|
25
27
|
dueDate?: string | null;
|
|
26
|
-
stages
|
|
28
|
+
stages?: readonly ProjectStage[];
|
|
27
29
|
criteria: readonly string[];
|
|
28
30
|
}
|
|
29
31
|
export interface ListProjectsOptions {
|