@happyvertical/smrt-projects 0.57.30 → 0.57.32

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.
@@ -11,6 +11,9 @@ export const M = defineMessages({
11
11
  'projects.governance.question_context': 'Question context',
12
12
  'projects.governance.decision_context': 'Decision context',
13
13
  'projects.governance.answer': 'Answer',
14
+ 'projects.governance.other': 'Other',
15
+ 'projects.governance.other_answer': 'Other answer',
16
+ 'projects.governance.recommended': 'Recommended',
14
17
  'projects.governance.save_answer': 'Save answer',
15
18
  'projects.governance.outcome': 'Outcome',
16
19
  'projects.governance.choose_option': 'Select an option',
@@ -1,9 +1,11 @@
1
- import type { ProjectContextReference, ProjectDecisionOption, ProjectDecisionStatus, ProjectQuestionStatus } from '../project-governance-types.js';
1
+ import type { ProjectContextReference, ProjectDecisionOption, ProjectDecisionStatus, ProjectQuestionOption, ProjectQuestionStatus } from '../project-governance-types.js';
2
2
  export interface ProjectQuestionView {
3
3
  id: string;
4
4
  prompt: string;
5
5
  status: ProjectQuestionStatus;
6
6
  answer?: string;
7
+ options?: ProjectQuestionOption[];
8
+ selectedOptionId?: string;
7
9
  ownerLabel?: string;
8
10
  contextReferences?: ProjectContextReference[];
9
11
  revision: number;
@@ -24,6 +26,7 @@ export interface ProjectDecisionView {
24
26
  export interface ProjectQuestionAnswerInput {
25
27
  id: string;
26
28
  answer: string;
29
+ selectedOptionId?: string;
27
30
  expectedRevision: number;
28
31
  }
29
32
  export interface ProjectDecisionResolveInput {
@@ -1 +1 @@
1
- {"version":3,"file":"project-governance-types.d.ts","sourceRoot":"","sources":["../../src/svelte/project-governance-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,gCAAgC,CAAC;AAExC,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,qBAAqB,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
1
+ {"version":3,"file":"project-governance-types.d.ts","sourceRoot":"","sources":["../../src/svelte/project-governance-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,gCAAgC,CAAC;AAExC,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,qBAAqB,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-projects",
3
- "version": "0.57.30",
3
+ "version": "0.57.32",
4
4
  "smrtJsdoc": "strict",
5
5
  "description": "Provider-agnostic project management models (Issues, PRs, Repositories, Projects) for SMRT framework",
6
6
  "type": "module",
@@ -39,15 +39,15 @@
39
39
  "@happyvertical/logger": "^0.108.0",
40
40
  "@happyvertical/projects": "^0.108.0",
41
41
  "@happyvertical/repos": "^0.108.0",
42
- "@happyvertical/smrt-config": "0.57.30",
43
- "@happyvertical/smrt-core": "0.57.30",
44
- "@happyvertical/smrt-prompts": "0.57.30",
45
- "@happyvertical/smrt-svelte": "0.57.30",
46
- "@happyvertical/smrt-subscriptions": "0.57.30",
47
- "@happyvertical/smrt-tenancy": "0.57.30",
48
- "@happyvertical/smrt-timesheets": "0.57.30",
49
- "@happyvertical/smrt-types": "0.57.30",
50
- "@happyvertical/smrt-ui": "0.57.30",
42
+ "@happyvertical/smrt-config": "0.57.32",
43
+ "@happyvertical/smrt-core": "0.57.32",
44
+ "@happyvertical/smrt-prompts": "0.57.32",
45
+ "@happyvertical/smrt-svelte": "0.57.32",
46
+ "@happyvertical/smrt-subscriptions": "0.57.32",
47
+ "@happyvertical/smrt-tenancy": "0.57.32",
48
+ "@happyvertical/smrt-timesheets": "0.57.32",
49
+ "@happyvertical/smrt-types": "0.57.32",
50
+ "@happyvertical/smrt-ui": "0.57.32",
51
51
  "@happyvertical/sql": "^0.108.0",
52
52
  "@happyvertical/utils": "^0.108.0"
53
53
  },
@@ -60,8 +60,8 @@
60
60
  }
61
61
  },
62
62
  "devDependencies": {
63
- "@happyvertical/smrt-cli": "0.57.30",
64
- "@happyvertical/smrt-vitest": "0.57.30",
63
+ "@happyvertical/smrt-cli": "0.57.32",
64
+ "@happyvertical/smrt-vitest": "0.57.32",
65
65
  "@sveltejs/package": "^2.5.8",
66
66
  "@sveltejs/vite-plugin-svelte": "^7.3.0",
67
67
  "@types/node": "24.13.6",