@happyvertical/smrt-projects 0.51.32 → 0.51.34
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/collections/DevelopmentRequests.d.ts +1 -1
- package/dist/collections/Issues.d.ts +7 -2
- package/dist/collections/ProjectIntegrations.d.ts +1 -1
- package/dist/collections/Projects.d.ts +6 -1
- package/dist/collections/PullRequests.d.ts +7 -2
- package/dist/collections/Repositories.d.ts +6 -1
- package/dist/collections/index.d.ts +12 -0
- package/dist/collections/index.d.ts.map +1 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +1 -1
- package/dist/managed-client.d.ts +6 -6
- package/dist/manifest.json +1 -1
- package/dist/migrations/moneyMinorUnits.d.ts +27 -1
- package/dist/models/Comment.d.ts +6 -1
- package/dist/models/DevelopmentRequest.d.ts +2 -2
- package/dist/models/DevelopmentRequestHistory.d.ts +2 -2
- package/dist/models/Issue.d.ts +10 -4
- package/dist/models/Label.d.ts +6 -1
- package/dist/models/Project.d.ts +10 -4
- package/dist/models/ProjectIntegration.d.ts +2 -2
- package/dist/models/ProjectIntegrationAudit.d.ts +2 -2
- package/dist/models/PullRequest.d.ts +8 -2
- package/dist/models/Repository.d.ts +10 -4
- package/dist/models/delivery-control-plane.d.ts +1 -1
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/service-evidence.d.ts +1 -1
- package/dist/prompts.d.ts +1 -1
- package/dist/services/assistance-request-service.d.ts +4 -4
- package/dist/services/delivery-service.d.ts +5 -5
- package/dist/services/development-request-service.d.ts +4 -4
- package/dist/services/project-board-service.d.ts +2 -2
- package/dist/services/service-evidence-service.d.ts +3 -3
- package/dist/services/subscription-commercial-resolver.d.ts +3 -3
- package/dist/smrt-knowledge.json +4 -4
- package/dist/ui.d.ts +7 -1
- package/package.json +12 -12
package/dist/managed-client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DatabaseInterface } from '@happyvertical/sql';
|
|
2
|
-
import { ProjectBoardMoveIntent } from './services/project-board-service';
|
|
3
|
-
import { ManagedDevelopmentRequestCreateInput } from './types';
|
|
1
|
+
import type { DatabaseInterface } from '@happyvertical/sql';
|
|
2
|
+
import { type ProjectBoardMoveIntent } from './services/project-board-service';
|
|
3
|
+
import type { ManagedDevelopmentRequestCreateInput } from './types';
|
|
4
4
|
export declare class ManagedProjectClient {
|
|
5
5
|
#private;
|
|
6
6
|
private constructor();
|
|
@@ -8,8 +8,8 @@ export declare class ManagedProjectClient {
|
|
|
8
8
|
db: DatabaseInterface;
|
|
9
9
|
requesterId: string;
|
|
10
10
|
}): Promise<ManagedProjectClient>;
|
|
11
|
-
createRequest(input: Omit<ManagedDevelopmentRequestCreateInput, 'requesterId'>): Promise<import(
|
|
12
|
-
listRequests(): Promise<import(
|
|
11
|
+
createRequest(input: Omit<ManagedDevelopmentRequestCreateInput, 'requesterId'>): Promise<import(".").DevelopmentRequest>;
|
|
12
|
+
listRequests(): Promise<import(".").DevelopmentRequest[]>;
|
|
13
13
|
/**
|
|
14
14
|
* Move a project-board item through this authenticated integration.
|
|
15
15
|
*
|
|
@@ -17,6 +17,6 @@ export declare class ManagedProjectClient {
|
|
|
17
17
|
* authentication boundary server-side and ProjectBoardService reloads active
|
|
18
18
|
* capability state again immediately before the provider mutation.
|
|
19
19
|
*/
|
|
20
|
-
moveProjectBoardItem(input: ProjectBoardMoveIntent): Promise<import(
|
|
20
|
+
moveProjectBoardItem(input: ProjectBoardMoveIntent): Promise<import("./services").ProjectBoardMoveResult>;
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=managed-client.d.ts.map
|
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-projects",
|
|
5
|
-
"packageVersion": "0.51.
|
|
5
|
+
"packageVersion": "0.51.34",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-projects:DevelopmentRequestHistoryCollection": {
|
|
8
8
|
"name": "developmentrequesthistorycollection",
|
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Projects money columns: floating-point major units → integer minor units.
|
|
3
|
+
*
|
|
4
|
+
* Ships as an explicit, opt-in migration rather than a schema-differ upgrade
|
|
5
|
+
* because REAL→INTEGER is not information-preserving: an automatic
|
|
6
|
+
* `ALTER … TYPE integer` would truncate `19.99` to `19`. The values have to be
|
|
7
|
+
* rescaled by the currency's minor-unit factor during the type change (#2401).
|
|
8
|
+
*
|
|
9
|
+
* ```ts
|
|
10
|
+
* console.log((await preflightProjectsMoneyMinorUnits(db)).summary);
|
|
11
|
+
* await migrateProjectsMoneyToMinorUnits(db);
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* The two snapshot tables convert together: the delivery margin is
|
|
15
|
+
* `charge - compensation`, so a half-converted pair produces a nonsense number
|
|
16
|
+
* rather than an error.
|
|
17
|
+
*
|
|
18
|
+
* Both tables are immutable-on-save, and the immutability check compares a
|
|
19
|
+
* stringified field snapshot. Rescaling changes those strings, which is
|
|
20
|
+
* harmless — the snapshot is recomputed from the row on load — but it does mean
|
|
21
|
+
* a row must not be mid-flight while the migration runs.
|
|
22
|
+
*
|
|
23
|
+
* On SQLite the values are rescaled but the declared type cannot change in
|
|
24
|
+
* place; those columns come back in `declaredTypeChangePending` and need the
|
|
25
|
+
* table-rebuild path (#2370).
|
|
26
|
+
*/
|
|
27
|
+
import { type DatabaseInterface, type MinorUnitsPreflightResult, type MinorUnitsRescaleResult, type MoneyColumnTarget } from '@happyvertical/smrt-core/migrations';
|
|
2
28
|
/** Marker recorded in `_smrt_backfills` once the rescale has run. */
|
|
3
29
|
export declare const PROJECTS_MONEY_MINOR_UNITS_BACKFILL = "@happyvertical/smrt-projects:money-minor-units:v1";
|
|
4
30
|
/** Every projects money column that held major units before #2401. */
|
package/dist/models/Comment.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Comment model - SMRT wrapper for issue/PR comments
|
|
3
|
+
*
|
|
4
|
+
* Represents a comment on an issue or pull request.
|
|
5
|
+
*/
|
|
6
|
+
import { SmrtObject, type SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
7
|
declare const SENTIMENT_CHOICES: {
|
|
3
8
|
readonly positive: null;
|
|
4
9
|
readonly negative: null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SmrtObject, SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
|
-
import { DevelopmentRequestEvidence, DevelopmentRequestOrigin, DevelopmentRequestStatus, DevelopmentRequestType, DevelopmentRequestVisibility } from '../types';
|
|
1
|
+
import { SmrtObject, type SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
|
+
import type { DevelopmentRequestEvidence, DevelopmentRequestOrigin, DevelopmentRequestStatus, DevelopmentRequestType, DevelopmentRequestVisibility } from '../types';
|
|
3
3
|
export interface DevelopmentRequestOptions extends SmrtObjectOptions {
|
|
4
4
|
tenantId?: string;
|
|
5
5
|
projectId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SmrtObject, SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
|
-
import { DevelopmentRequestStatus } from '../types';
|
|
1
|
+
import { SmrtObject, type SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
|
+
import type { DevelopmentRequestStatus } from '../types';
|
|
3
3
|
export interface DevelopmentRequestHistoryOptions extends SmrtObjectOptions {
|
|
4
4
|
tenantId?: string;
|
|
5
5
|
requestId?: string;
|
package/dist/models/Issue.d.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Issue model - SMRT wrapper for issue tracking
|
|
3
|
+
*
|
|
4
|
+
* Provides persistent issue tracking with AI-powered feedback incorporation.
|
|
5
|
+
* Uses @happyvertical/repos SDK for actual API calls.
|
|
6
|
+
*/
|
|
7
|
+
import { SmrtObject, type SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
8
|
+
import type { IncorporateFeedbackOptions, IncorporateFeedbackResult, IRepository, SyncOptions } from '../types';
|
|
9
|
+
import type { Comment } from './Comment';
|
|
10
|
+
import type { Repository } from './Repository';
|
|
5
11
|
export interface IssueOptions extends SmrtObjectOptions {
|
|
6
12
|
repositoryId?: string;
|
|
7
13
|
number?: number;
|
package/dist/models/Label.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Label model - SMRT wrapper for repository labels
|
|
3
|
+
*
|
|
4
|
+
* Represents a label that can be applied to issues and PRs.
|
|
5
|
+
*/
|
|
6
|
+
import { SmrtObject, type SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
7
|
export interface LabelOptions extends SmrtObjectOptions {
|
|
3
8
|
repositoryId?: string;
|
|
4
9
|
name?: string;
|
package/dist/models/Project.d.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Project model - SMRT wrapper for project board operations
|
|
3
|
+
*
|
|
4
|
+
* Provides persistent project tracking with provider-agnostic operations.
|
|
5
|
+
* Uses @happyvertical/projects SDK for actual API calls.
|
|
6
|
+
*/
|
|
7
|
+
import { SmrtObject, type SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
8
|
+
import type { IProject, ItemFilters, ProjectField, ProjectItem, ProjectProviderType, ProjectStatus, SyncOptions } from '../types';
|
|
9
|
+
import type { Issue } from './Issue';
|
|
10
|
+
import type { PullRequest } from './PullRequest';
|
|
5
11
|
export interface ProjectOptions extends SmrtObjectOptions {
|
|
6
12
|
projectId?: string;
|
|
7
13
|
projectNumber?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SmrtObject, SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
|
-
import { ProjectIntegrationCapability, ProjectIntegrationStatus } from '../types';
|
|
1
|
+
import { SmrtObject, type SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
|
+
import type { ProjectIntegrationCapability, ProjectIntegrationStatus } from '../types';
|
|
3
3
|
export interface ProjectIntegrationOptions extends SmrtObjectOptions {
|
|
4
4
|
tenantId?: string;
|
|
5
5
|
projectId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SmrtObject, SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
|
-
import { ProjectIntegrationAuditAction } from '../types';
|
|
1
|
+
import { SmrtObject, type SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
2
|
+
import type { ProjectIntegrationAuditAction } from '../types';
|
|
3
3
|
export interface ProjectIntegrationAuditOptions extends SmrtObjectOptions {
|
|
4
4
|
tenantId?: string;
|
|
5
5
|
integrationId?: string;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* PullRequest model - SMRT wrapper for pull request operations
|
|
3
|
+
*
|
|
4
|
+
* Extends Issue with PR-specific fields and methods.
|
|
5
|
+
* Uses @happyvertical/repos SDK for actual API calls.
|
|
6
|
+
*/
|
|
7
|
+
import type { MergeMethod, SyncOptions } from '../types';
|
|
8
|
+
import { Issue, type IssueOptions } from './Issue';
|
|
3
9
|
export interface PullRequestOptions extends IssueOptions {
|
|
4
10
|
headRef?: string;
|
|
5
11
|
baseRef?: string;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Repository model - SMRT wrapper for repository operations
|
|
3
|
+
*
|
|
4
|
+
* Provides persistent repository tracking with provider-agnostic operations.
|
|
5
|
+
* Uses @happyvertical/repos SDK for actual API calls.
|
|
6
|
+
*/
|
|
7
|
+
import { SmrtObject, type SmrtObjectOptions } from '@happyvertical/smrt-core';
|
|
8
|
+
import type { CreateIssueInput, CreatePRInput, IRepository, RepositoryProviderType, SearchFilters, SyncOptions } from '../types';
|
|
9
|
+
import type { Issue } from './Issue';
|
|
10
|
+
import type { PullRequest } from './PullRequest';
|
|
5
11
|
export interface RepositoryOptions extends SmrtObjectOptions {
|
|
6
12
|
owner?: string;
|
|
7
13
|
name?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SmrtCollection, SmrtObject } from '@happyvertical/smrt-core';
|
|
2
|
-
import { AssistanceClassification, DeliveryEventType } from '../types.js';
|
|
2
|
+
import type { AssistanceClassification, DeliveryEventType } from '../types.js';
|
|
3
3
|
export declare function parseProjectJson<T>(value: string, fallback: T): T;
|
|
4
4
|
/** Provider-neutral connection from a Development Request to canonical work. */
|
|
5
5
|
export declare class DevelopmentRequestWorkLink extends SmrtObject {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @happyvertical/smrt-projects - Model exports
|
|
3
|
+
*/
|
|
4
|
+
export { Comment, type CommentOptions } from './Comment';
|
|
5
|
+
export { DevelopmentRequest, type DevelopmentRequestOptions, } from './DevelopmentRequest';
|
|
6
|
+
export { DevelopmentRequestHistory, type DevelopmentRequestHistoryOptions, } from './DevelopmentRequestHistory';
|
|
7
|
+
export * from './delivery-control-plane.js';
|
|
8
|
+
export { Issue, type IssueOptions } from './Issue';
|
|
9
|
+
export { Label, type LabelOptions } from './Label';
|
|
10
|
+
export { Project, type ProjectOptions } from './Project';
|
|
11
|
+
export { ProjectIntegration, type ProjectIntegrationOptions, } from './ProjectIntegration';
|
|
12
|
+
export { ProjectIntegrationAudit, type ProjectIntegrationAuditOptions, } from './ProjectIntegrationAudit';
|
|
13
|
+
export { PullRequest, type PullRequestOptions } from './PullRequest';
|
|
14
|
+
export { Repository, type RepositoryOptions } from './Repository';
|
|
15
|
+
export * from './service-evidence.js';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,KAAK,gCAAgC,GACtC,MAAM,6BAA6B,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,KAAK,8BAA8B,GACpC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAClE,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SmrtCollection, SmrtObject } from '@happyvertical/smrt-core';
|
|
2
|
-
import { ServiceEvidence, ServiceParticipantKind, ServiceTimeEntrySource, ServiceTimeEntryStatus } from '../types.js';
|
|
2
|
+
import type { ServiceEvidence, ServiceParticipantKind, ServiceTimeEntrySource, ServiceTimeEntryStatus } from '../types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Canonical Professional Service evidence shared by planning, development,
|
|
5
5
|
* and support. Commercial snapshots are deliberately separate models.
|
package/dist/prompts.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const issueIncorporateFeedbackPrompt: import(
|
|
1
|
+
export declare const issueIncorporateFeedbackPrompt: import("@happyvertical/smrt-prompts").PromptDefinition;
|
|
2
2
|
//# sourceMappingURL=prompts.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
1
|
+
import type { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
2
2
|
import { DevelopmentRequestCollection } from '../collections/DevelopmentRequests.js';
|
|
3
3
|
import { ProjectIntegrationCollection } from '../collections/ProjectIntegrations.js';
|
|
4
|
-
import { AssistanceRequest, AssistanceRequestCollection, AssistanceRequestEventCollection } from '../models/delivery-control-plane.js';
|
|
5
|
-
import { ProjectIntegration } from '../models/ProjectIntegration.js';
|
|
6
|
-
import { AssistanceClassification, DevelopmentRequestEvidence, ManagedAssistanceRequestInput } from '../types.js';
|
|
4
|
+
import { type AssistanceRequest, AssistanceRequestCollection, AssistanceRequestEventCollection } from '../models/delivery-control-plane.js';
|
|
5
|
+
import type { ProjectIntegration } from '../models/ProjectIntegration.js';
|
|
6
|
+
import type { AssistanceClassification, DevelopmentRequestEvidence, ManagedAssistanceRequestInput } from '../types.js';
|
|
7
7
|
export interface AssistanceSupportPort {
|
|
8
8
|
openOrJoin(input: {
|
|
9
9
|
assistanceRequestId: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
1
|
+
import type { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
2
2
|
import { DevelopmentRequestCollection } from '../collections/DevelopmentRequests.js';
|
|
3
3
|
import { ProjectIntegrationCollection } from '../collections/ProjectIntegrations.js';
|
|
4
|
-
import { PreviewApproval, PreviewApprovalCollection, ProjectDeliveryEvent, ProjectDeliveryEventCollection } from '../models/delivery-control-plane.js';
|
|
5
|
-
import { ProjectIntegration } from '../models/ProjectIntegration.js';
|
|
6
|
-
import { DeliveryEventType } from '../types.js';
|
|
7
|
-
import { DevelopmentWorkAdapter } from './development-request-service.js';
|
|
4
|
+
import { type PreviewApproval, PreviewApprovalCollection, type ProjectDeliveryEvent, ProjectDeliveryEventCollection } from '../models/delivery-control-plane.js';
|
|
5
|
+
import type { ProjectIntegration } from '../models/ProjectIntegration.js';
|
|
6
|
+
import type { DeliveryEventType } from '../types.js';
|
|
7
|
+
import type { DevelopmentWorkAdapter } from './development-request-service.js';
|
|
8
8
|
export interface DeliveryEventSender {
|
|
9
9
|
send(event: ProjectDeliveryEvent): Promise<void>;
|
|
10
10
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
1
|
+
import type { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
2
2
|
import { DevelopmentRequestCollection } from '../collections/DevelopmentRequests.js';
|
|
3
|
-
import { DevelopmentRequest } from '../models/DevelopmentRequest.js';
|
|
4
|
-
import { DevelopmentRequestWorkLink, DevelopmentRequestWorkLinkCollection } from '../models/delivery-control-plane.js';
|
|
5
|
-
import { DevelopmentTriageDecision } from '../types.js';
|
|
3
|
+
import type { DevelopmentRequest } from '../models/DevelopmentRequest.js';
|
|
4
|
+
import { type DevelopmentRequestWorkLink, DevelopmentRequestWorkLinkCollection } from '../models/delivery-control-plane.js';
|
|
5
|
+
import type { DevelopmentTriageDecision } from '../types.js';
|
|
6
6
|
export interface DevelopmentWorkItem {
|
|
7
7
|
type: string;
|
|
8
8
|
id: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
1
|
+
import type { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
2
2
|
import { ProjectIntegrationCollection } from '../collections/ProjectIntegrations.js';
|
|
3
3
|
import { ProjectCollection } from '../collections/Projects.js';
|
|
4
4
|
import { ProjectIntegration } from '../models/ProjectIntegration.js';
|
|
5
|
-
import { ProjectBoardMoveIntent } from '../project-board-types.js';
|
|
5
|
+
import type { ProjectBoardMoveIntent } from '../project-board-types.js';
|
|
6
6
|
export type { ProjectBoardMoveIntent } from '../project-board-types.js';
|
|
7
7
|
/** Pure data returned after a provider-backed project board move. */
|
|
8
8
|
export interface ProjectBoardMoveResult {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
2
|
-
import { ServiceChargeSnapshotCollection, ServiceCompensationSnapshotCollection, ServiceTimeEntry, ServiceTimeEntryCollection } from '../models/service-evidence.js';
|
|
3
|
-
import { ServiceEvidence, ServiceParticipantKind, ServiceTimeEntrySource } from '../types.js';
|
|
1
|
+
import type { SmrtClassOptions } from '@happyvertical/smrt-core';
|
|
2
|
+
import { ServiceChargeSnapshotCollection, ServiceCompensationSnapshotCollection, type ServiceTimeEntry, ServiceTimeEntryCollection } from '../models/service-evidence.js';
|
|
3
|
+
import type { ServiceEvidence, ServiceParticipantKind, ServiceTimeEntrySource } from '../types.js';
|
|
4
4
|
export interface RecordServiceTimeInput {
|
|
5
5
|
tenantId?: string | null;
|
|
6
6
|
caseId?: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CommercialUsageService, CommercialUsageServiceOptions } from '@happyvertical/smrt-subscriptions';
|
|
2
|
-
import { ServiceTimeEntry } from '../models/service-evidence.js';
|
|
3
|
-
import { CommercialSnapshot, ServiceCommercialResolver } from './service-evidence-service.js';
|
|
1
|
+
import { CommercialUsageService, type CommercialUsageServiceOptions } from '@happyvertical/smrt-subscriptions';
|
|
2
|
+
import type { ServiceTimeEntry } from '../models/service-evidence.js';
|
|
3
|
+
import type { CommercialSnapshot, ServiceCommercialResolver } from './service-evidence-service.js';
|
|
4
4
|
export interface ProviderCompensationResolver {
|
|
5
5
|
compensate(entry: ServiceTimeEntry): Promise<CommercialSnapshot>;
|
|
6
6
|
}
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-projects",
|
|
6
|
-
"packageVersion": "0.51.
|
|
6
|
+
"packageVersion": "0.51.34",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "a902c6dce23e741f317cb67ae98338d2e4f73fecdf0e36d886744b11813f4c4e",
|
|
11
|
+
"packageJson": "84aec4d0fd667eda989acd2b46872553a5244edd7d2852d5df9325f6751e24f4",
|
|
12
12
|
"agents": "1642532c0c1bf16fb07b0184326f76f9fb3b142cb111e39f8e763c2d08be40d3"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"fast-glob": "3.3.3",
|
|
43
43
|
"svelte": "^5.57.1",
|
|
44
44
|
"svelte-check": "^4.7.6",
|
|
45
|
-
"typescript": "
|
|
45
|
+
"typescript": "6.0.3",
|
|
46
46
|
"vite": "8.1.4",
|
|
47
47
|
"vitest": "4.1.10"
|
|
48
48
|
},
|
package/dist/ui.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Projects Module UI Slot Declarations
|
|
3
|
+
*
|
|
4
|
+
* This file defines the UI extension points for the projects module.
|
|
5
|
+
* UI components are implemented in the ./svelte subpath.
|
|
6
|
+
*/
|
|
7
|
+
import type { ModuleUISlot, SmrtModuleMeta } from '@happyvertical/smrt-types';
|
|
2
8
|
/**
|
|
3
9
|
* Projects module UI slots
|
|
4
10
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-projects",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.34",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"description": "Provider-agnostic project management models (Issues, PRs, Repositories, Projects) for SMRT framework",
|
|
6
6
|
"type": "module",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@happyvertical/logger": "^0.94.1",
|
|
40
40
|
"@happyvertical/projects": "^0.94.1",
|
|
41
41
|
"@happyvertical/repos": "^0.94.1",
|
|
42
|
-
"@happyvertical/smrt-config": "0.51.
|
|
43
|
-
"@happyvertical/smrt-core": "0.51.
|
|
44
|
-
"@happyvertical/smrt-prompts": "0.51.
|
|
45
|
-
"@happyvertical/smrt-svelte": "0.51.
|
|
46
|
-
"@happyvertical/smrt-subscriptions": "0.51.
|
|
47
|
-
"@happyvertical/smrt-tenancy": "0.51.
|
|
48
|
-
"@happyvertical/smrt-types": "0.51.
|
|
49
|
-
"@happyvertical/smrt-ui": "0.51.
|
|
42
|
+
"@happyvertical/smrt-config": "0.51.34",
|
|
43
|
+
"@happyvertical/smrt-core": "0.51.34",
|
|
44
|
+
"@happyvertical/smrt-prompts": "0.51.34",
|
|
45
|
+
"@happyvertical/smrt-svelte": "0.51.34",
|
|
46
|
+
"@happyvertical/smrt-subscriptions": "0.51.34",
|
|
47
|
+
"@happyvertical/smrt-tenancy": "0.51.34",
|
|
48
|
+
"@happyvertical/smrt-types": "0.51.34",
|
|
49
|
+
"@happyvertical/smrt-ui": "0.51.34",
|
|
50
50
|
"@happyvertical/sql": "^0.94.1",
|
|
51
51
|
"@happyvertical/utils": "^0.94.1"
|
|
52
52
|
},
|
|
@@ -59,15 +59,15 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@happyvertical/smrt-cli": "0.51.
|
|
63
|
-
"@happyvertical/smrt-vitest": "0.51.
|
|
62
|
+
"@happyvertical/smrt-cli": "0.51.34",
|
|
63
|
+
"@happyvertical/smrt-vitest": "0.51.34",
|
|
64
64
|
"@sveltejs/package": "^2.5.8",
|
|
65
65
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
66
66
|
"@types/node": "24.13.6",
|
|
67
67
|
"fast-glob": "3.3.3",
|
|
68
68
|
"svelte": "^5.57.1",
|
|
69
69
|
"svelte-check": "^4.7.6",
|
|
70
|
-
"typescript": "
|
|
70
|
+
"typescript": "6.0.3",
|
|
71
71
|
"vite": "8.1.4",
|
|
72
72
|
"vitest": "4.1.10"
|
|
73
73
|
},
|