@cat-factory/contracts 0.118.0 → 0.120.0
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/entities.d.ts +92 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +54 -0
- package/dist/entities.js.map +1 -1
- package/dist/initiative.d.ts +34 -0
- package/dist/initiative.d.ts.map +1 -1
- package/dist/initiative.js +27 -0
- package/dist/initiative.js.map +1 -1
- package/dist/model-presets.d.ts +7 -0
- package/dist/model-presets.d.ts.map +1 -1
- package/dist/model-presets.js +7 -0
- package/dist/model-presets.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +36 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +144 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +18 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +90 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/initiative.d.ts +345 -0
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/initiative.js +17 -1
- package/dist/routes/initiative.js.map +1 -1
- package/dist/routes/model-presets.d.ts +52 -0
- package/dist/routes/model-presets.d.ts.map +1 -1
- package/dist/routes/model-presets.js +13 -0
- package/dist/routes/model-presets.js.map +1 -1
- package/dist/routes/visual-confirm.d.ts +54 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +44 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +30 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/snapshot.js +9 -0
- package/dist/snapshot.js.map +1 -1
- package/package.json +1 -1
|
@@ -53,6 +53,8 @@ export declare const createInitiativeContract: {
|
|
|
53
53
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
54
54
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
55
55
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
56
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
57
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
56
58
|
}, undefined>, undefined>, readonly []>;
|
|
57
59
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
58
60
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -534,6 +536,8 @@ export declare const listInitiativesContract: {
|
|
|
534
536
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
535
537
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
536
538
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
539
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
540
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
537
541
|
}, undefined>, undefined>, readonly []>;
|
|
538
542
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
539
543
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -728,6 +732,8 @@ export declare const getInitiativeContract: {
|
|
|
728
732
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
729
733
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
730
734
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
735
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
736
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
731
737
|
}, undefined>, undefined>, readonly []>;
|
|
732
738
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
733
739
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -881,6 +887,8 @@ export declare const getInitiativeByBlockContract: {
|
|
|
881
887
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
882
888
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
883
889
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
890
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
891
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
884
892
|
}, undefined>, undefined>, readonly []>;
|
|
885
893
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
886
894
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1038,6 +1046,325 @@ export declare const answerInitiativeQuestionContract: {
|
|
|
1038
1046
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1039
1047
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1040
1048
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1049
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1050
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1051
|
+
}, undefined>, undefined>, readonly []>;
|
|
1052
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1053
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1054
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1055
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1056
|
+
}, undefined>, undefined>, undefined>;
|
|
1057
|
+
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1058
|
+
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1059
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1060
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1061
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1062
|
+
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1063
|
+
}, undefined>, undefined>, readonly []>;
|
|
1064
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1065
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1066
|
+
readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1067
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1068
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
|
|
1069
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
|
|
1070
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1071
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1072
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1073
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1074
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1075
|
+
}, undefined>, undefined>;
|
|
1076
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1077
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
|
|
1078
|
+
readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1079
|
+
readonly pr: v.OptionalSchema<v.ObjectSchema<{
|
|
1080
|
+
readonly url: v.StringSchema<undefined>;
|
|
1081
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1082
|
+
}, undefined>, undefined>;
|
|
1083
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1084
|
+
readonly spawn: v.OptionalSchema<v.ObjectSchema<{
|
|
1085
|
+
readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, undefined>;
|
|
1086
|
+
readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
|
|
1087
|
+
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1088
|
+
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1089
|
+
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1090
|
+
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1091
|
+
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1092
|
+
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
1093
|
+
readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1094
|
+
readonly targetUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1095
|
+
readonly successMetrics: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1096
|
+
readonly alternativesConsidered: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1097
|
+
readonly rolloutConcerns: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1098
|
+
readonly decisionDrivers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1099
|
+
readonly consideredOptions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1100
|
+
readonly whenToUse: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1101
|
+
readonly escalationPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1102
|
+
readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1103
|
+
readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1104
|
+
readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1105
|
+
}, undefined>, undefined>;
|
|
1106
|
+
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1107
|
+
readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
|
|
1108
|
+
readonly gates: v.OptionalSchema<v.ArraySchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1109
|
+
}, undefined>, undefined>;
|
|
1110
|
+
}, undefined>, undefined>, readonly []>;
|
|
1111
|
+
readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1112
|
+
readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
|
|
1113
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1114
|
+
readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1115
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1116
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1117
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1118
|
+
}, undefined>, undefined>, readonly []>;
|
|
1119
|
+
readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1120
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
|
|
1121
|
+
}, undefined>, undefined>, undefined>;
|
|
1122
|
+
readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1123
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1124
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1125
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1126
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1127
|
+
readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
|
|
1128
|
+
}, undefined>, undefined>, readonly []>;
|
|
1129
|
+
readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1130
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1131
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1132
|
+
readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1133
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1134
|
+
readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1135
|
+
}, undefined>, undefined>, readonly []>;
|
|
1136
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1137
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1138
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1139
|
+
readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1140
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1141
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1142
|
+
readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
|
|
1143
|
+
readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1144
|
+
}, undefined>, undefined>, readonly []>;
|
|
1145
|
+
readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1146
|
+
readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
|
|
1147
|
+
readonly doc: v.OptionalSchema<v.ObjectSchema<{
|
|
1148
|
+
readonly version: v.NumberSchema<undefined>;
|
|
1149
|
+
readonly hash: v.StringSchema<undefined>;
|
|
1150
|
+
readonly committedAt: v.NumberSchema<undefined>;
|
|
1151
|
+
}, undefined>, undefined>;
|
|
1152
|
+
readonly rev: v.NumberSchema<undefined>;
|
|
1153
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1154
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1155
|
+
}, undefined>;
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
/** Mark a planning question not-relevant / reopen it (no run resume). */
|
|
1159
|
+
export declare const setInitiativeQuestionStatusContract: {
|
|
1160
|
+
readonly method: "post";
|
|
1161
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1162
|
+
blockId: v.StringSchema<undefined>;
|
|
1163
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1164
|
+
readonly pathResolver: ({ blockId }: {
|
|
1165
|
+
blockId: string;
|
|
1166
|
+
}) => string;
|
|
1167
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
1168
|
+
readonly questionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1169
|
+
readonly status: v.PicklistSchema<["open", "dismissed"], undefined>;
|
|
1170
|
+
}, undefined>;
|
|
1171
|
+
readonly responsesByStatusCode: {
|
|
1172
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1173
|
+
readonly error: v.ObjectSchema<{
|
|
1174
|
+
readonly code: v.StringSchema<undefined>;
|
|
1175
|
+
readonly message: v.StringSchema<undefined>;
|
|
1176
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1177
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1178
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1179
|
+
readonly message: v.StringSchema<undefined>;
|
|
1180
|
+
}, undefined>, undefined>, undefined>;
|
|
1181
|
+
}, undefined>;
|
|
1182
|
+
}, undefined>;
|
|
1183
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1184
|
+
readonly error: v.ObjectSchema<{
|
|
1185
|
+
readonly code: v.StringSchema<undefined>;
|
|
1186
|
+
readonly message: v.StringSchema<undefined>;
|
|
1187
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1188
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1189
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1190
|
+
readonly message: v.StringSchema<undefined>;
|
|
1191
|
+
}, undefined>, undefined>, undefined>;
|
|
1192
|
+
}, undefined>;
|
|
1193
|
+
}, undefined>;
|
|
1194
|
+
readonly 200: v.ObjectSchema<{
|
|
1195
|
+
readonly id: v.StringSchema<undefined>;
|
|
1196
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
1197
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1198
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1199
|
+
readonly presetId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1200
|
+
readonly presetInputs: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
1201
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1202
|
+
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1203
|
+
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1204
|
+
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1205
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1206
|
+
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1207
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1208
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1209
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1210
|
+
}, undefined>, undefined>, readonly []>;
|
|
1211
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1212
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1213
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1214
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1215
|
+
}, undefined>, undefined>, undefined>;
|
|
1216
|
+
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1217
|
+
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1218
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1219
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1220
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1221
|
+
readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
|
|
1222
|
+
}, undefined>, undefined>, readonly []>;
|
|
1223
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1224
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1225
|
+
readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1226
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1227
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
|
|
1228
|
+
readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
|
|
1229
|
+
readonly estimate: v.OptionalSchema<v.ObjectSchema<{
|
|
1230
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1231
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1232
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1233
|
+
readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1234
|
+
}, undefined>, undefined>;
|
|
1235
|
+
readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1236
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
|
|
1237
|
+
readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1238
|
+
readonly pr: v.OptionalSchema<v.ObjectSchema<{
|
|
1239
|
+
readonly url: v.StringSchema<undefined>;
|
|
1240
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1241
|
+
}, undefined>, undefined>;
|
|
1242
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1243
|
+
readonly spawn: v.OptionalSchema<v.ObjectSchema<{
|
|
1244
|
+
readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, undefined>;
|
|
1245
|
+
readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
|
|
1246
|
+
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1247
|
+
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1248
|
+
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1249
|
+
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1250
|
+
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1251
|
+
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
1252
|
+
readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1253
|
+
readonly targetUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1254
|
+
readonly successMetrics: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1255
|
+
readonly alternativesConsidered: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1256
|
+
readonly rolloutConcerns: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1257
|
+
readonly decisionDrivers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1258
|
+
readonly consideredOptions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1259
|
+
readonly whenToUse: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1260
|
+
readonly escalationPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1261
|
+
readonly researchQuestion: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1262
|
+
readonly optionsToCompare: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1263
|
+
readonly apiSurface: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1264
|
+
}, undefined>, undefined>;
|
|
1265
|
+
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1266
|
+
readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
|
|
1267
|
+
readonly gates: v.OptionalSchema<v.ArraySchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1268
|
+
}, undefined>, undefined>;
|
|
1269
|
+
}, undefined>, undefined>, readonly []>;
|
|
1270
|
+
readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1271
|
+
readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
|
|
1272
|
+
readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1273
|
+
readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1274
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1275
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1276
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1277
|
+
}, undefined>, undefined>, readonly []>;
|
|
1278
|
+
readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1279
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
|
|
1280
|
+
}, undefined>, undefined>, undefined>;
|
|
1281
|
+
readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1282
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1283
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1284
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1285
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1286
|
+
readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
|
|
1287
|
+
}, undefined>, undefined>, readonly []>;
|
|
1288
|
+
readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1289
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1290
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1291
|
+
readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1292
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1293
|
+
readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1294
|
+
}, undefined>, undefined>, readonly []>;
|
|
1295
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1296
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1297
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1298
|
+
readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
|
|
1299
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1300
|
+
readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1301
|
+
readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
|
|
1302
|
+
readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1303
|
+
}, undefined>, undefined>, readonly []>;
|
|
1304
|
+
readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1305
|
+
readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
|
|
1306
|
+
readonly doc: v.OptionalSchema<v.ObjectSchema<{
|
|
1307
|
+
readonly version: v.NumberSchema<undefined>;
|
|
1308
|
+
readonly hash: v.StringSchema<undefined>;
|
|
1309
|
+
readonly committedAt: v.NumberSchema<undefined>;
|
|
1310
|
+
}, undefined>, undefined>;
|
|
1311
|
+
readonly rev: v.NumberSchema<undefined>;
|
|
1312
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1313
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1314
|
+
}, undefined>;
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
/** Ask the interviewer to recommend a suggested answer for one pending question (no run resume). */
|
|
1318
|
+
export declare const recommendInitiativeAnswerContract: {
|
|
1319
|
+
readonly method: "post";
|
|
1320
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1321
|
+
blockId: v.StringSchema<undefined>;
|
|
1322
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
1323
|
+
readonly pathResolver: ({ blockId }: {
|
|
1324
|
+
blockId: string;
|
|
1325
|
+
}) => string;
|
|
1326
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
1327
|
+
readonly questionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
1328
|
+
}, undefined>;
|
|
1329
|
+
readonly responsesByStatusCode: {
|
|
1330
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1331
|
+
readonly error: v.ObjectSchema<{
|
|
1332
|
+
readonly code: v.StringSchema<undefined>;
|
|
1333
|
+
readonly message: v.StringSchema<undefined>;
|
|
1334
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1335
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1336
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1337
|
+
readonly message: v.StringSchema<undefined>;
|
|
1338
|
+
}, undefined>, undefined>, undefined>;
|
|
1339
|
+
}, undefined>;
|
|
1340
|
+
}, undefined>;
|
|
1341
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1342
|
+
readonly error: v.ObjectSchema<{
|
|
1343
|
+
readonly code: v.StringSchema<undefined>;
|
|
1344
|
+
readonly message: v.StringSchema<undefined>;
|
|
1345
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1346
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1347
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1348
|
+
readonly message: v.StringSchema<undefined>;
|
|
1349
|
+
}, undefined>, undefined>, undefined>;
|
|
1350
|
+
}, undefined>;
|
|
1351
|
+
}, undefined>;
|
|
1352
|
+
readonly 200: v.ObjectSchema<{
|
|
1353
|
+
readonly id: v.StringSchema<undefined>;
|
|
1354
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
1355
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1356
|
+
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1357
|
+
readonly presetId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1358
|
+
readonly presetInputs: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
1359
|
+
readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1360
|
+
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1361
|
+
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1362
|
+
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1363
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1364
|
+
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1365
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1366
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1367
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1041
1368
|
}, undefined>, undefined>, readonly []>;
|
|
1042
1369
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1043
1370
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1192,6 +1519,8 @@ export declare const continueInitiativePlanningContract: {
|
|
|
1192
1519
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1193
1520
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1194
1521
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1522
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1523
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1195
1524
|
}, undefined>, undefined>, readonly []>;
|
|
1196
1525
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1197
1526
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1346,6 +1675,8 @@ export declare const proceedInitiativePlanningContract: {
|
|
|
1346
1675
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1347
1676
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1348
1677
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1678
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1679
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1349
1680
|
}, undefined>, undefined>, readonly []>;
|
|
1350
1681
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1351
1682
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1500,6 +1831,8 @@ export declare const pauseInitiativeContract: {
|
|
|
1500
1831
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1501
1832
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1502
1833
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1834
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1835
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1503
1836
|
}, undefined>, undefined>, readonly []>;
|
|
1504
1837
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1505
1838
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1654,6 +1987,8 @@ export declare const resumeInitiativeContract: {
|
|
|
1654
1987
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1655
1988
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1656
1989
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1990
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
1991
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1657
1992
|
}, undefined>, undefined>, readonly []>;
|
|
1658
1993
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1659
1994
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1808,6 +2143,8 @@ export declare const cancelInitiativeContract: {
|
|
|
1808
2143
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1809
2144
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1810
2145
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2146
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2147
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1811
2148
|
}, undefined>, undefined>, readonly []>;
|
|
1812
2149
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1813
2150
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1976,6 +2313,8 @@ export declare const promoteInitiativeFollowUpContract: {
|
|
|
1976
2313
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1977
2314
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1978
2315
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2316
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2317
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
1979
2318
|
}, undefined>, undefined>, readonly []>;
|
|
1980
2319
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1981
2320
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -2132,6 +2471,8 @@ export declare const dismissInitiativeFollowUpContract: {
|
|
|
2132
2471
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
2133
2472
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2134
2473
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2474
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2475
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
2135
2476
|
}, undefined>, undefined>, readonly []>;
|
|
2136
2477
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2137
2478
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -2300,6 +2641,8 @@ export declare const updateInitiativeItemContract: {
|
|
|
2300
2641
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
2301
2642
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2302
2643
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2644
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2645
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
2303
2646
|
}, undefined>, undefined>, readonly []>;
|
|
2304
2647
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2305
2648
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -2464,6 +2807,8 @@ export declare const updateInitiativePolicyContract: {
|
|
|
2464
2807
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
2465
2808
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2466
2809
|
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2810
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<["open", "dismissed"], undefined>, "open">;
|
|
2811
|
+
readonly recommendation: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
|
|
2467
2812
|
}, undefined>, undefined>, readonly []>;
|
|
2468
2813
|
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2469
2814
|
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initiative.d.ts","sourceRoot":"","sources":["../../src/routes/initiative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"initiative.d.ts","sourceRoot":"","sources":["../../src/routes/initiative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA8B5B;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQnC,CAAA;AAEF,eAAO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,7 +1,7 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract, withObjectKeys } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
3
|
import { blockSchema } from '../entities.js';
|
|
4
|
-
import { answerInitiativeQuestionSchema, createInitiativeSchema, initiativeSchema, probeInitiativePresetSchema, promoteInitiativeFollowUpSchema, updateInitiativeItemSchema, updateInitiativePolicySchema, } from '../initiative.js';
|
|
4
|
+
import { answerInitiativeQuestionSchema, createInitiativeSchema, initiativeSchema, probeInitiativePresetSchema, promoteInitiativeFollowUpSchema, recommendInitiativeAnswerSchema, setInitiativeQuestionStatusSchema, updateInitiativeItemSchema, updateInitiativePolicySchema, } from '../initiative.js';
|
|
5
5
|
import { initiativePresetInputsSchema } from '../initiative.js';
|
|
6
6
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
7
7
|
// ---------------------------------------------------------------------------
|
|
@@ -70,6 +70,22 @@ export const answerInitiativeQuestionContract = defineApiContract({
|
|
|
70
70
|
requestBodySchema: answerInitiativeQuestionSchema,
|
|
71
71
|
responsesByStatusCode: { 200: initiativeSchema, ...errorResponses },
|
|
72
72
|
});
|
|
73
|
+
/** Mark a planning question not-relevant / reopen it (no run resume). */
|
|
74
|
+
export const setInitiativeQuestionStatusContract = defineApiContract({
|
|
75
|
+
method: 'post',
|
|
76
|
+
requestPathParamsSchema: blockIdParams,
|
|
77
|
+
pathResolver: ({ blockId }) => `/blocks/${blockId}/initiative-planning/question-status`,
|
|
78
|
+
requestBodySchema: setInitiativeQuestionStatusSchema,
|
|
79
|
+
responsesByStatusCode: { 200: initiativeSchema, ...errorResponses },
|
|
80
|
+
});
|
|
81
|
+
/** Ask the interviewer to recommend a suggested answer for one pending question (no run resume). */
|
|
82
|
+
export const recommendInitiativeAnswerContract = defineApiContract({
|
|
83
|
+
method: 'post',
|
|
84
|
+
requestPathParamsSchema: blockIdParams,
|
|
85
|
+
pathResolver: ({ blockId }) => `/blocks/${blockId}/initiative-planning/recommend`,
|
|
86
|
+
requestBodySchema: recommendInitiativeAnswerSchema,
|
|
87
|
+
responsesByStatusCode: { 200: initiativeSchema, ...errorResponses },
|
|
88
|
+
});
|
|
73
89
|
/** Submit the answered questions and resume the interview (the interviewer re-runs). */
|
|
74
90
|
export const continueInitiativePlanningContract = defineApiContract({
|
|
75
91
|
method: 'post',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initiative.js","sourceRoot":"","sources":["../../src/routes/initiative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EACL,8BAA8B,EAC9B,sBAAsB,EACtB,gBAAgB,EAChB,2BAA2B,EAC3B,+BAA+B,EAC/B,0BAA0B,EAC1B,4BAA4B,GAC7B,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAA;AAC/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,+EAA+E;AAC/E,sEAAsE;AACtE,uBAAuB;AACvB,8EAA8E;AAE9E,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,cAAc,CAAC,CAAA;AAC5D,MAAM,aAAa,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAA;AAClD,MAAM,cAAc,GAAG,iBAAiB,CAAC,UAAU,CAAC,CAAA;AACpD,MAAM,cAAc,GAAG,cAAc,CACnC,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAC/D,CAAA;AACD,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,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