@happyvertical/smrt-projects 0.57.19 → 0.57.21
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/AGENTS.md +3 -0
- package/README.md +68 -0
- package/dist/collections/DevelopmentRequests.d.ts.map +1 -1
- package/dist/collections/ProjectDecisions.d.ts +9 -0
- package/dist/collections/ProjectDecisions.d.ts.map +1 -0
- package/dist/collections/ProjectGovernanceEvents.d.ts +11 -0
- package/dist/collections/ProjectGovernanceEvents.d.ts.map +1 -0
- package/dist/collections/ProjectQuestions.d.ts +9 -0
- package/dist/collections/ProjectQuestions.d.ts.map +1 -0
- package/dist/collections/ProjectSpecifications.d.ts +8 -0
- package/dist/collections/ProjectSpecifications.d.ts.map +1 -0
- package/dist/collections/index.d.ts +4 -0
- package/dist/collections/index.d.ts.map +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1120 -51
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +4604 -2323
- package/dist/models/DevelopmentRequest.d.ts +2 -2
- package/dist/models/DevelopmentRequest.d.ts.map +1 -1
- package/dist/models/ProjectDecision.d.ts +39 -0
- package/dist/models/ProjectDecision.d.ts.map +1 -0
- package/dist/models/ProjectGovernanceEvent.d.ts +40 -0
- package/dist/models/ProjectGovernanceEvent.d.ts.map +1 -0
- package/dist/models/ProjectQuestion.d.ts +32 -0
- package/dist/models/ProjectQuestion.d.ts.map +1 -0
- package/dist/models/ProjectSpecification.d.ts +26 -0
- package/dist/models/ProjectSpecification.d.ts.map +1 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/project-governance-validation.d.ts +6 -0
- package/dist/models/project-governance-validation.d.ts.map +1 -0
- package/dist/project-governance-types.d.ts +49 -0
- package/dist/project-governance-types.d.ts.map +1 -0
- package/dist/services/development-request-service.d.ts.map +1 -1
- package/dist/services/index.d.ts +3 -0
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/participant-development-request-service.d.ts +34 -0
- package/dist/services/participant-development-request-service.d.ts.map +1 -0
- package/dist/services/project-governance-service.d.ts +106 -0
- package/dist/services/project-governance-service.d.ts.map +1 -0
- package/dist/services/project-specification-service.d.ts +30 -0
- package/dist/services/project-specification-service.d.ts.map +1 -0
- package/dist/smrt-knowledge.json +915 -49
- package/dist/svelte/ProjectQuestionsAndDecisions.svelte +183 -0
- package/dist/svelte/ProjectQuestionsAndDecisions.svelte.d.ts +17 -0
- package/dist/svelte/ProjectQuestionsAndDecisions.svelte.d.ts.map +1 -0
- package/dist/svelte/i18n.d.ts +16 -0
- package/dist/svelte/i18n.d.ts.map +1 -1
- package/dist/svelte/i18n.js +16 -0
- package/dist/svelte/index.d.ts +4 -1
- package/dist/svelte/index.d.ts.map +1 -1
- package/dist/svelte/index.js +3 -1
- package/dist/svelte/project-governance-types.d.ts +35 -0
- package/dist/svelte/project-governance-types.d.ts.map +1 -0
- package/dist/svelte/project-governance-types.js +1 -0
- package/package.json +14 -13
package/AGENTS.md
CHANGED
|
@@ -52,6 +52,9 @@ time-entry Svelte components are re-exported from smrt-timesheets too. See
|
|
|
52
52
|
| **Issue** | `repositoryId` (optional FK), `projectId` (optional FK), `number`, `title`, `body`, `state`, `labels[]` | `incorporateFeedback()`, `rollback()`, `suggestLabels()` |
|
|
53
53
|
| **PullRequest** | extends Issue + `headRef`, `baseRef`, `merged`, `draft` | STI on Issue table. `summarize()`, `merge()` |
|
|
54
54
|
| **Project** | `projectId`, `title`, `statuses[]`, `statusFieldId` | GitHub Projects V2. `addItem()`, `moveItem()`, `analyzeHealth()` |
|
|
55
|
+
| **ProjectQuestion** | polymorphic project target, `prompt`, `answer`, owner, `status`, `revision` | Owner question lifecycle; mutate through `ProjectGovernanceService`. |
|
|
56
|
+
| **ProjectDecision** | polymorphic project target, options, `outcome`, `rationale`, owner, `status`, `revision` | Project choice lifecycle; mutate through `ProjectGovernanceService`. |
|
|
57
|
+
| **ProjectGovernanceEvent** | question/decision target, actor, action, status, revision | Immutable lifecycle history. |
|
|
55
58
|
| **Comment** | `issueId` (FK), `body`, `authorLogin` | AI analysis support |
|
|
56
59
|
| **Label** | `repositoryId` (optional FK), `projectId` (optional FK), `name`, `color` | Scope: repository, project, or neither |
|
|
57
60
|
|
package/README.md
CHANGED
|
@@ -63,6 +63,9 @@ await issue.rollback();
|
|
|
63
63
|
| `Issue` | Issue/ticket (STI base). Methods: `sync()`, `incorporateFeedback()`, `rollback()`, `suggestLabels()`, `close()`, `addLabels()`, `addComment()` |
|
|
64
64
|
| `PullRequest` | Pull request (STI subclass of Issue). Methods: `sync()`, `summarize()`, `merge()`, `markReady()`, `convertToDraft()`, `requestReviewers()`, `findLinkedIssue()` |
|
|
65
65
|
| `Project` | Project board (GitHub Projects V2). Methods: `sync()`, `addItem()`, `moveItem()`, `listItems()`, `updateItemStatus()`, `analyzeHealth()` |
|
|
66
|
+
| `ProjectQuestion` | A requested fact whose lifecycle is `open`, `answered`, `deferred`, or `superseded`. |
|
|
67
|
+
| `ProjectDecision` | An owner choice with options, outcome, and rationale whose lifecycle is `open`, `decided`, `deferred`, or `superseded`. |
|
|
68
|
+
| `ProjectGovernanceEvent` | Immutable question/decision history with actor, action, status transition, and revision. |
|
|
66
69
|
| `Comment` | Comment on an issue or PR. AI methods: `isQuestion()`, `isApproval()`, `requestsChanges()`, `extractActionItems()`, `summarize()`, `getSentiment()` |
|
|
67
70
|
| `Label` | Label/tag for issues; optionally scoped to a repository or a `Project`. Methods: `isTypeLabel()`, `isPriorityLabel()`, `getCategory()`, `createInRepository()` |
|
|
68
71
|
|
|
@@ -75,6 +78,71 @@ await issue.rollback();
|
|
|
75
78
|
| `IssueCollection` | `discover()`, `findByProject()`, `findByRepository()`, `findOpen()`, `findByLabel()`, `findByAssignee()`, `findNeedingReview()`, `findWithUnincorporatedFeedback()`, `batchSync()` |
|
|
76
79
|
| `PullRequestCollection` | `discover()`, `findByRepository()`, `findOpen()`, `batchSync()` |
|
|
77
80
|
| `ProjectCollection` | Standard CRUD, `findByTitle()` |
|
|
81
|
+
| `ProjectQuestionCollection` | Tenant-safe project listing and lookup. |
|
|
82
|
+
| `ProjectDecisionCollection` | Tenant-safe project listing and lookup. |
|
|
83
|
+
| `ProjectGovernanceEventCollection` | Ordered history for a question or decision. |
|
|
84
|
+
|
|
85
|
+
### Project questions and decisions
|
|
86
|
+
|
|
87
|
+
`ProjectGovernanceService` is the write boundary for owner questions and
|
|
88
|
+
decisions. Host applications pass a qualified project record type and id, so
|
|
89
|
+
the same contract can attach to the provider-backed `Project` in this package
|
|
90
|
+
or to an application-owned project model. The service requires a tenant scope,
|
|
91
|
+
a trusted actor projection, and an `expectedRevision` for every mutation. Only
|
|
92
|
+
the assigned owner or a host-authorized manager may answer or decide;
|
|
93
|
+
assignment, deferral, reopening, and supersession require manager authority.
|
|
94
|
+
|
|
95
|
+
Records default to `visibility: 'internal'`; explicitly choose `client` for
|
|
96
|
+
client-facing records and pass `{ visibility: 'client' }` to `listForProject`.
|
|
97
|
+
Hosts authorize project access and strip private context references before
|
|
98
|
+
projecting client views. Lifecycle history rejects updates and deletion. Assignment events retain the
|
|
99
|
+
previous and next owner identities, including explicit owner clearing.
|
|
100
|
+
|
|
101
|
+
Questions and decisions retain typed references to the spec, cookbook,
|
|
102
|
+
conversation, asset, or URL that raised them. They do not replace facts: an
|
|
103
|
+
extracted `open_question` fact may seed a `ProjectQuestion`, but fact provenance
|
|
104
|
+
and question answer state remain separate lifecycles.
|
|
105
|
+
|
|
106
|
+
`ProjectQuestionsAndDecisions` from `@happyvertical/smrt-projects/svelte`
|
|
107
|
+
renders authorized projections and emits typed answer/decision callbacks. It
|
|
108
|
+
does not fetch records or decide application permissions.
|
|
109
|
+
|
|
110
|
+
### Canonical project specification
|
|
111
|
+
|
|
112
|
+
`ProjectSpecificationService` persists one canonical specification per tenant
|
|
113
|
+
and qualified project target. Its `cookbook` is validated and canonicalized by
|
|
114
|
+
`@happyvertical/smrt-core/cookbook`; `getCookbook()` returns the portable
|
|
115
|
+
`Cookbook` from `@happyvertical/smrt-types`, including its `specs` requirements.
|
|
116
|
+
`saveForProject({ ...scope, title, summary, cookbook, expectedRevision, actor })`
|
|
117
|
+
requires a trusted manager actor. `expectedRevision: null` means create-only;
|
|
118
|
+
updates require the currently observed revision. Validation rejects with
|
|
119
|
+
`ProjectSpecificationValidationError` (`status: 400`); stale revisions reject
|
|
120
|
+
with `ProjectGovernanceConflictError`.
|
|
121
|
+
|
|
122
|
+
When project creation already owns a transaction, use
|
|
123
|
+
`ProjectSpecificationService.create({ db: tx, transaction: 'caller' })` so the
|
|
124
|
+
specification rolls back with the project. The default mode owns its transaction.
|
|
125
|
+
An active caller tenant must match the target; hosts creating a child project
|
|
126
|
+
enter that authorized child tenant context before saving.
|
|
127
|
+
|
|
128
|
+
### Participant development requests
|
|
129
|
+
|
|
130
|
+
`ParticipantDevelopmentRequestService.create({ db }).submit()` accepts a trusted
|
|
131
|
+
server-authorized participant identity, tenant/project, `requestKey`, type and
|
|
132
|
+
description. It records participant provenance with a nullable `integrationId`;
|
|
133
|
+
managed integration intake still requires a nonempty integration ID. Repeating
|
|
134
|
+
the same actor/project/key returns the accepted request; changed payloads reject
|
|
135
|
+
with `ParticipantDevelopmentRequestConflictError`. Request and initial history
|
|
136
|
+
share one transaction. Hosts enforce project participation before calling this
|
|
137
|
+
service and expose their own safe DTOs, never the collection mutation API.
|
|
138
|
+
|
|
139
|
+
Existing databases must apply the generated migration that relaxes
|
|
140
|
+
`development_requests.integration_id` to nullable and adds the specification,
|
|
141
|
+
question, decision and history tables before enabling these surfaces. Run the
|
|
142
|
+
normal manifest-based `db:migrate` and verify schema parity; existing managed
|
|
143
|
+
request provenance is unchanged. `pnpm --filter @happyvertical/smrt-projects
|
|
144
|
+
test:postgres` exercises all three workflows with the repository disposable
|
|
145
|
+
PostgreSQL database wrapper.
|
|
78
146
|
|
|
79
147
|
### STI Hierarchy
|
|
80
148
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevelopmentRequests.d.ts","sourceRoot":"","sources":["../../src/collections/DevelopmentRequests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAA8B,CAAC;AAClE,OAAO,KAAK,EACV,wBAAwB,EACxB,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,aAAU,CAAC;AAGlB,qBAAa,4BAA6B,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IAClF,MAAM,CAAC,QAAQ,CAAC,UAAU,4BAAsB;IAE1C,aAAa,CACjB,KAAK,EAAE;QACL,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;KACvB,GAAG,oCAAoC,GACvC,OAAO,CAAC,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"DevelopmentRequests.d.ts","sourceRoot":"","sources":["../../src/collections/DevelopmentRequests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAA8B,CAAC;AAClE,OAAO,KAAK,EACV,wBAAwB,EACxB,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,aAAU,CAAC;AAGlB,qBAAa,4BAA6B,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IAClF,MAAM,CAAC,QAAQ,CAAC,UAAU,4BAAsB;IAE1C,aAAa,CACjB,KAAK,EAAE;QACL,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;KACvB,GAAG,oCAAoC,GACvC,OAAO,CAAC,kBAAkB,CAAC;IA6BxB,0BAA0B,CAAC,KAAK,EAAE;QACtC,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,MAAM,CAAC;KACrB,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAa3B,gBAAgB,CACpB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,iCAAiC,GAC5C,OAAO,CAAC,kBAAkB,CAAC;IAcxB,cAAc,CAClB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,MAAM,CAAC,EAAE,wBAAwB,GAChC,OAAO,CAAC,kBAAkB,EAAE,CAAC;YAWlB,aAAa;CAqB5B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SmrtCollection } from '@happyvertical/smrt-core';
|
|
2
|
+
import { ProjectDecision } from '../models/ProjectDecision.js';
|
|
3
|
+
import type { ProjectDecisionStatus, ProjectGovernanceScope, ProjectGovernanceVisibility } from '../project-governance-types.js';
|
|
4
|
+
export declare class ProjectDecisionCollection extends SmrtCollection<ProjectDecision> {
|
|
5
|
+
static readonly _itemClass: typeof ProjectDecision;
|
|
6
|
+
listForProject(scope: ProjectGovernanceScope, status?: ProjectDecisionStatus, visibility?: ProjectGovernanceVisibility): Promise<ProjectDecision[]>;
|
|
7
|
+
getForProject(scope: ProjectGovernanceScope, id: string): Promise<ProjectDecision | null>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ProjectDecisions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectDecisions.d.ts","sourceRoot":"","sources":["../../src/collections/ProjectDecisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK1D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACtB,2BAA2B,EAC5B,MAAM,gCAAgC,CAAC;AAExC,qBAAa,yBAA0B,SAAQ,cAAc,CAAC,eAAe,CAAC;IAC5E,MAAM,CAAC,QAAQ,CAAC,UAAU,yBAAmB;IAEvC,cAAc,CAClB,KAAK,EAAE,sBAAsB,EAC7B,MAAM,CAAC,EAAE,qBAAqB,EAC9B,UAAU,CAAC,EAAE,2BAA2B,GACvC,OAAO,CAAC,eAAe,EAAE,CAAC;IAgBvB,aAAa,CACjB,KAAK,EAAE,sBAAsB,EAC7B,EAAE,EAAE,MAAM,GACT,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC;CAanC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SmrtCollection } from '@happyvertical/smrt-core';
|
|
2
|
+
import { ProjectGovernanceEvent } from '../models/ProjectGovernanceEvent.js';
|
|
3
|
+
export declare class ProjectGovernanceEventCollection extends SmrtCollection<ProjectGovernanceEvent> {
|
|
4
|
+
static readonly _itemClass: typeof ProjectGovernanceEvent;
|
|
5
|
+
listForRecord(input: {
|
|
6
|
+
tenantId: string;
|
|
7
|
+
recordType: string;
|
|
8
|
+
recordId: string;
|
|
9
|
+
}): Promise<ProjectGovernanceEvent[]>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=ProjectGovernanceEvents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectGovernanceEvents.d.ts","sourceRoot":"","sources":["../../src/collections/ProjectGovernanceEvents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,qBAAa,gCAAiC,SAAQ,cAAc,CAAC,sBAAsB,CAAC;IAC1F,MAAM,CAAC,QAAQ,CAAC,UAAU,gCAA0B;IAE9C,aAAa,CAAC,KAAK,EAAE;QACzB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;KAClB,GAAG,OAAO,CAAC,sBAAsB,EAAE,CAAC;CAatC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SmrtCollection } from '@happyvertical/smrt-core';
|
|
2
|
+
import { ProjectQuestion } from '../models/ProjectQuestion.js';
|
|
3
|
+
import type { ProjectGovernanceScope, ProjectGovernanceVisibility, ProjectQuestionStatus } from '../project-governance-types.js';
|
|
4
|
+
export declare class ProjectQuestionCollection extends SmrtCollection<ProjectQuestion> {
|
|
5
|
+
static readonly _itemClass: typeof ProjectQuestion;
|
|
6
|
+
listForProject(scope: ProjectGovernanceScope, status?: ProjectQuestionStatus, visibility?: ProjectGovernanceVisibility): Promise<ProjectQuestion[]>;
|
|
7
|
+
getForProject(scope: ProjectGovernanceScope, id: string): Promise<ProjectQuestion | null>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=ProjectQuestions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectQuestions.d.ts","sourceRoot":"","sources":["../../src/collections/ProjectQuestions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK1D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EACV,sBAAsB,EACtB,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,gCAAgC,CAAC;AAExC,qBAAa,yBAA0B,SAAQ,cAAc,CAAC,eAAe,CAAC;IAC5E,MAAM,CAAC,QAAQ,CAAC,UAAU,yBAAmB;IAEvC,cAAc,CAClB,KAAK,EAAE,sBAAsB,EAC7B,MAAM,CAAC,EAAE,qBAAqB,EAC9B,UAAU,CAAC,EAAE,2BAA2B,GACvC,OAAO,CAAC,eAAe,EAAE,CAAC;IAgBvB,aAAa,CACjB,KAAK,EAAE,sBAAsB,EAC7B,EAAE,EAAE,MAAM,GACT,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC;CAanC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SmrtCollection } from '@happyvertical/smrt-core';
|
|
2
|
+
import { ProjectSpecification } from '../models/ProjectSpecification.js';
|
|
3
|
+
import type { ProjectGovernanceScope } from '../project-governance-types.js';
|
|
4
|
+
export declare class ProjectSpecificationCollection extends SmrtCollection<ProjectSpecification> {
|
|
5
|
+
static readonly _itemClass: typeof ProjectSpecification;
|
|
6
|
+
getForProject(scope: ProjectGovernanceScope): Promise<ProjectSpecification | null>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=ProjectSpecifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectSpecifications.d.ts","sourceRoot":"","sources":["../../src/collections/ProjectSpecifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7E,qBAAa,8BAA+B,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IACtF,MAAM,CAAC,QAAQ,CAAC,UAAU,8BAAwB;IAE5C,aAAa,CACjB,KAAK,EAAE,sBAAsB,GAC5B,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;CAYxC"}
|
|
@@ -5,8 +5,12 @@ export { CommentCollection } from "./Comments.js";
|
|
|
5
5
|
export { DevelopmentRequestHistoryCollection } from "./DevelopmentRequestHistories.js";
|
|
6
6
|
export { DevelopmentRequestCollection } from "./DevelopmentRequests.js";
|
|
7
7
|
export { IssueCollection } from "./Issues.js";
|
|
8
|
+
export { ProjectDecisionCollection } from "./ProjectDecisions.js";
|
|
9
|
+
export { ProjectGovernanceEventCollection } from "./ProjectGovernanceEvents.js";
|
|
8
10
|
export { ProjectIntegrationAuditCollection } from "./ProjectIntegrationAudits.js";
|
|
9
11
|
export { ProjectIntegrationCollection } from "./ProjectIntegrations.js";
|
|
12
|
+
export { ProjectQuestionCollection } from "./ProjectQuestions.js";
|
|
13
|
+
export { ProjectSpecificationCollection } from './ProjectSpecifications.js';
|
|
10
14
|
export { ProjectCollection } from "./Projects.js";
|
|
11
15
|
export { PullRequestCollection } from "./PullRequests.js";
|
|
12
16
|
export { RepositoryCollection } from "./Repositories.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collections/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAY,CAAC;AAC/C,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAA+B,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAAuB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAU,CAAC;AAC3C,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA4B,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAAuB,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAY,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAgB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/collections/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAY,CAAC;AAC/C,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAA+B,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAAuB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAU,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAoB,CAAC;AAC/D,OAAO,EAAE,gCAAgC,EAAE,MAAM,8BAA2B,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA4B,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAAuB,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAoB,CAAC;AAC/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAY,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAgB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAgB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -47,8 +47,12 @@ export { CommentCollection } from "./collections/Comments.js";
|
|
|
47
47
|
export { DevelopmentRequestHistoryCollection } from "./collections/DevelopmentRequestHistories.js";
|
|
48
48
|
export { DevelopmentRequestCollection } from "./collections/DevelopmentRequests.js";
|
|
49
49
|
export { IssueCollection } from "./collections/Issues.js";
|
|
50
|
+
export { ProjectDecisionCollection } from "./collections/ProjectDecisions.js";
|
|
51
|
+
export { ProjectGovernanceEventCollection } from "./collections/ProjectGovernanceEvents.js";
|
|
50
52
|
export { ProjectIntegrationAuditCollection } from "./collections/ProjectIntegrationAudits.js";
|
|
51
53
|
export { ProjectIntegrationCollection } from "./collections/ProjectIntegrations.js";
|
|
54
|
+
export { ProjectQuestionCollection } from "./collections/ProjectQuestions.js";
|
|
55
|
+
export { ProjectSpecificationCollection } from './collections/ProjectSpecifications.js';
|
|
52
56
|
export { ProjectCollection } from "./collections/Projects.js";
|
|
53
57
|
export { PullRequestCollection } from "./collections/PullRequests.js";
|
|
54
58
|
export { RepositoryCollection } from "./collections/Repositories.js";
|
|
@@ -61,16 +65,23 @@ export * from './models/delivery-control-plane.js';
|
|
|
61
65
|
export { Issue, type IssueLabelVocabulary, type IssueLabelVocabularyEntry, type IssueLabelVocabularyResolver, type IssueOptions, } from "./models/Issue.js";
|
|
62
66
|
export { Label, type LabelOptions } from "./models/Label.js";
|
|
63
67
|
export { Project, type ProjectOptions } from "./models/Project.js";
|
|
68
|
+
export { ProjectDecision, type ProjectDecisionOptions, } from "./models/ProjectDecision.js";
|
|
69
|
+
export { ProjectGovernanceEvent, type ProjectGovernanceEventOptions, } from "./models/ProjectGovernanceEvent.js";
|
|
64
70
|
export { ProjectIntegration, type ProjectIntegrationOptions, } from "./models/ProjectIntegration.js";
|
|
65
71
|
export { ProjectIntegrationAudit, type ProjectIntegrationAuditOptions, } from "./models/ProjectIntegrationAudit.js";
|
|
72
|
+
export { ProjectQuestion, type ProjectQuestionOptions, } from "./models/ProjectQuestion.js";
|
|
73
|
+
export { ProjectSpecification, type ProjectSpecificationOptions, } from './models/ProjectSpecification.js';
|
|
66
74
|
export { PullRequest, type PullRequestOptions } from "./models/PullRequest.js";
|
|
67
75
|
export { Repository, type RepositoryOptions } from "./models/Repository.js";
|
|
68
76
|
export * from './models/service-evidence.js';
|
|
69
77
|
export type { ProjectBoardMoveIntent } from './project-board-types.js';
|
|
78
|
+
export type { ProjectContextReference, ProjectContextReferenceKind, ProjectDecisionCreateInput, ProjectDecisionOption, ProjectDecisionStatus, ProjectGovernanceAction, ProjectGovernanceActor, ProjectGovernanceActorType, ProjectGovernanceOwner, ProjectGovernanceRecordKind, ProjectGovernanceScope, ProjectGovernanceVisibility, ProjectQuestionCreateInput, ProjectQuestionStatus, } from './project-governance-types.js';
|
|
70
79
|
export { issueIncorporateFeedbackPrompt } from "./prompts.js";
|
|
71
80
|
export { ProjectTrackerRecipe } from "./recipes.js";
|
|
72
81
|
export { type RepositoryClientScope, withRepositoryClient, } from "./repository-client-scope.js";
|
|
73
82
|
export * from './services/index.js';
|
|
83
|
+
export { ParticipantDevelopmentRequestConflictError, type ParticipantDevelopmentRequestInput, ParticipantDevelopmentRequestService, } from './services/participant-development-request-service.js';
|
|
84
|
+
export * from './services/project-specification-service.js';
|
|
74
85
|
export type { AssistanceClassification, Branch, CreateIssueInput, CreatePRInput, DeliveryEventType, DevelopmentRequestEvidence, DevelopmentRequestOrigin, DevelopmentRequestStatus, DevelopmentRequestTransitionInput, DevelopmentRequestType, DevelopmentRequestVisibility, DevelopmentTriageDecision, IncorporateFeedbackOptions, IncorporateFeedbackResult, IProject, IRepository, ItemFilters, ManagedAssistanceRequestInput, ManagedDevelopmentRequestCreateInput, MergeMethod, ProjectConfig, ProjectField, ProjectFieldOption, ProjectIntegrationAuditAction, ProjectIntegrationCapability, ProjectIntegrationStatus, ProjectItem, ProjectProviderType, ProjectStatus, RepositoryConfig, RepositoryProviderType, SDKComment, SDKIssue, SDKLabel, SDKProject, SDKPullRequest, SDKRepository, SearchFilters, ServiceEvidence, ServiceParticipantKind, ServiceTimeEntrySource, ServiceTimeEntryStatus, SyncOptions, SyncStatus, UpdateIssueInput, User, } from "./types.js";
|
|
75
86
|
export { PROJECTS_MODULE_META, PROJECTS_UI_SLOTS } from "./ui.js";
|
|
76
87
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAKH,OAAO,wBAAwB,CAAC;AAGhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAAwB,CAAC;AAC3D,OAAO,EAAE,mCAAmC,EAAE,MAAM,8CAA2C,CAAC;AAChG,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAmC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAsB,CAAC;AACvD,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAAwC,CAAC;AAC3F,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAmC,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAAwB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA4B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA4B,CAAC;AAClE,OAAO,EAAE,o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