@contractspec/example.team-hub 1.46.2 → 1.48.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/announcement/announcement.operations.d.ts +15 -15
- package/dist/entities/index.js.map +1 -1
- package/dist/events.d.ts +77 -77
- package/dist/events.d.ts.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +4 -2
- package/dist/example.js.map +1 -1
- package/dist/presentations/index.d.ts +2 -5
- package/dist/presentations/index.js +2 -12
- package/dist/presentations/team-hub.presentation.d.ts +12 -0
- package/dist/presentations/team-hub.presentation.d.ts.map +1 -0
- package/dist/presentations/team-hub.presentation.js +131 -0
- package/dist/presentations/team-hub.presentation.js.map +1 -0
- package/dist/presentations.js.map +1 -1
- package/dist/ritual/ritual.operations.d.ts +3 -3
- package/dist/space/space.operations.d.ts +13 -13
- package/dist/space/space.schema.d.ts +12 -12
- package/dist/task/task.operations.d.ts +4 -4
- package/dist/task/task.schema.d.ts +19 -19
- package/dist/task/task.schema.d.ts.map +1 -1
- package/dist/team-hub.capability.d.ts +9 -0
- package/dist/team-hub.capability.d.ts.map +1 -0
- package/dist/team-hub.capability.js +38 -0
- package/dist/team-hub.capability.js.map +1 -0
- package/dist/team-hub.feature.d.ts +2 -2
- package/dist/team-hub.feature.d.ts.map +1 -1
- package/dist/team-hub.feature.js +4 -2
- package/dist/team-hub.feature.js.map +1 -1
- package/package.json +7 -7
- package/dist/presentations/index.d.ts.map +0 -1
- package/dist/presentations/index.js.map +0 -1
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { StabilityEnum, definePresentation } from "@contractspec/lib.contracts";
|
|
2
|
+
|
|
3
|
+
//#region src/presentations/team-hub.presentation.ts
|
|
4
|
+
/**
|
|
5
|
+
* Team Hub Presentations
|
|
6
|
+
*/
|
|
7
|
+
const OWNERS = ["@team-hub"];
|
|
8
|
+
const TeamDashboardPresentation = definePresentation({
|
|
9
|
+
meta: {
|
|
10
|
+
key: "team-hub.dashboard",
|
|
11
|
+
version: "1.0.0",
|
|
12
|
+
title: "Team Dashboard",
|
|
13
|
+
description: "Main team hub dashboard.",
|
|
14
|
+
domain: "team-hub",
|
|
15
|
+
owners: [...OWNERS],
|
|
16
|
+
stability: StabilityEnum.Experimental,
|
|
17
|
+
goal: "Central hub for team activity.",
|
|
18
|
+
context: "Landing page for team members.",
|
|
19
|
+
tags: ["dashboard", "team"]
|
|
20
|
+
},
|
|
21
|
+
source: {
|
|
22
|
+
type: "component",
|
|
23
|
+
framework: "react",
|
|
24
|
+
componentKey: "TeamDashboard"
|
|
25
|
+
},
|
|
26
|
+
targets: ["react"]
|
|
27
|
+
});
|
|
28
|
+
const SpaceListPresentation = definePresentation({
|
|
29
|
+
meta: {
|
|
30
|
+
key: "team-hub.space.list",
|
|
31
|
+
version: "1.0.0",
|
|
32
|
+
title: "Space List",
|
|
33
|
+
description: "List of team spaces.",
|
|
34
|
+
domain: "team-hub",
|
|
35
|
+
owners: [...OWNERS],
|
|
36
|
+
stability: StabilityEnum.Experimental,
|
|
37
|
+
goal: "Navigate between team spaces.",
|
|
38
|
+
context: "Sidebar or spaces hub.",
|
|
39
|
+
tags: ["space", "list"]
|
|
40
|
+
},
|
|
41
|
+
source: {
|
|
42
|
+
type: "component",
|
|
43
|
+
framework: "react",
|
|
44
|
+
componentKey: "SpaceList"
|
|
45
|
+
},
|
|
46
|
+
targets: ["react"]
|
|
47
|
+
});
|
|
48
|
+
const TaskBoardPresentation = definePresentation({
|
|
49
|
+
meta: {
|
|
50
|
+
key: "team-hub.task.board",
|
|
51
|
+
version: "1.0.0",
|
|
52
|
+
title: "Task Board",
|
|
53
|
+
description: "Kanban board for team tasks.",
|
|
54
|
+
domain: "team-hub",
|
|
55
|
+
owners: [...OWNERS],
|
|
56
|
+
stability: StabilityEnum.Experimental,
|
|
57
|
+
goal: "Visualize task progress.",
|
|
58
|
+
context: "Project management view.",
|
|
59
|
+
tags: ["task", "board"]
|
|
60
|
+
},
|
|
61
|
+
source: {
|
|
62
|
+
type: "component",
|
|
63
|
+
framework: "react",
|
|
64
|
+
componentKey: "TaskBoard"
|
|
65
|
+
},
|
|
66
|
+
targets: ["react"]
|
|
67
|
+
});
|
|
68
|
+
const TaskDetailPresentation = definePresentation({
|
|
69
|
+
meta: {
|
|
70
|
+
key: "team-hub.task.detail",
|
|
71
|
+
version: "1.0.0",
|
|
72
|
+
title: "Task Detail",
|
|
73
|
+
description: "Detailed view of a task.",
|
|
74
|
+
domain: "team-hub",
|
|
75
|
+
owners: [...OWNERS],
|
|
76
|
+
stability: StabilityEnum.Experimental,
|
|
77
|
+
goal: "View and edit task details.",
|
|
78
|
+
context: "Task modal or page.",
|
|
79
|
+
tags: ["task", "detail"]
|
|
80
|
+
},
|
|
81
|
+
source: {
|
|
82
|
+
type: "component",
|
|
83
|
+
framework: "react",
|
|
84
|
+
componentKey: "TaskDetail"
|
|
85
|
+
},
|
|
86
|
+
targets: ["react"]
|
|
87
|
+
});
|
|
88
|
+
const RitualCalendarPresentation = definePresentation({
|
|
89
|
+
meta: {
|
|
90
|
+
key: "team-hub.ritual.calendar",
|
|
91
|
+
version: "1.0.0",
|
|
92
|
+
title: "Ritual Calendar",
|
|
93
|
+
description: "Calendar of team rituals and events.",
|
|
94
|
+
domain: "team-hub",
|
|
95
|
+
owners: [...OWNERS],
|
|
96
|
+
stability: StabilityEnum.Experimental,
|
|
97
|
+
goal: "Schedule and view team events.",
|
|
98
|
+
context: "Calendar view.",
|
|
99
|
+
tags: ["ritual", "calendar"]
|
|
100
|
+
},
|
|
101
|
+
source: {
|
|
102
|
+
type: "component",
|
|
103
|
+
framework: "react",
|
|
104
|
+
componentKey: "RitualCalendar"
|
|
105
|
+
},
|
|
106
|
+
targets: ["react"]
|
|
107
|
+
});
|
|
108
|
+
const AnnouncementFeedPresentation = definePresentation({
|
|
109
|
+
meta: {
|
|
110
|
+
key: "team-hub.announcement.feed",
|
|
111
|
+
version: "1.0.0",
|
|
112
|
+
title: "Announcement Feed",
|
|
113
|
+
description: "Feed of team announcements.",
|
|
114
|
+
domain: "team-hub",
|
|
115
|
+
owners: [...OWNERS],
|
|
116
|
+
stability: StabilityEnum.Experimental,
|
|
117
|
+
goal: "Broadcast important team news.",
|
|
118
|
+
context: "Dashboard widget or dedicated page.",
|
|
119
|
+
tags: ["announcement", "feed"]
|
|
120
|
+
},
|
|
121
|
+
source: {
|
|
122
|
+
type: "component",
|
|
123
|
+
framework: "react",
|
|
124
|
+
componentKey: "AnnouncementFeed"
|
|
125
|
+
},
|
|
126
|
+
targets: ["react"]
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
//#endregion
|
|
130
|
+
export { AnnouncementFeedPresentation, RitualCalendarPresentation, SpaceListPresentation, TaskBoardPresentation, TaskDetailPresentation, TeamDashboardPresentation };
|
|
131
|
+
//# sourceMappingURL=team-hub.presentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team-hub.presentation.js","names":[],"sources":["../../src/presentations/team-hub.presentation.ts"],"sourcesContent":["/**\n * Team Hub Presentations\n */\nimport { definePresentation, StabilityEnum } from '@contractspec/lib.contracts';\n\nconst OWNERS = ['@team-hub'] as const;\n\nexport const TeamDashboardPresentation = definePresentation({\n meta: {\n key: 'team-hub.dashboard',\n version: '1.0.0',\n title: 'Team Dashboard',\n description: 'Main team hub dashboard.',\n domain: 'team-hub',\n owners: [...OWNERS],\n stability: StabilityEnum.Experimental,\n goal: 'Central hub for team activity.',\n context: 'Landing page for team members.',\n tags: ['dashboard', 'team'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'TeamDashboard',\n },\n targets: ['react'],\n});\n\nexport const SpaceListPresentation = definePresentation({\n meta: {\n key: 'team-hub.space.list',\n version: '1.0.0',\n title: 'Space List',\n description: 'List of team spaces.',\n domain: 'team-hub',\n owners: [...OWNERS],\n stability: StabilityEnum.Experimental,\n goal: 'Navigate between team spaces.',\n context: 'Sidebar or spaces hub.',\n tags: ['space', 'list'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'SpaceList',\n },\n targets: ['react'],\n});\n\nexport const TaskBoardPresentation = definePresentation({\n meta: {\n key: 'team-hub.task.board',\n version: '1.0.0',\n title: 'Task Board',\n description: 'Kanban board for team tasks.',\n domain: 'team-hub',\n owners: [...OWNERS],\n stability: StabilityEnum.Experimental,\n goal: 'Visualize task progress.',\n context: 'Project management view.',\n tags: ['task', 'board'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'TaskBoard',\n },\n targets: ['react'],\n});\n\nexport const TaskDetailPresentation = definePresentation({\n meta: {\n key: 'team-hub.task.detail',\n version: '1.0.0',\n title: 'Task Detail',\n description: 'Detailed view of a task.',\n domain: 'team-hub',\n owners: [...OWNERS],\n stability: StabilityEnum.Experimental,\n goal: 'View and edit task details.',\n context: 'Task modal or page.',\n tags: ['task', 'detail'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'TaskDetail',\n },\n targets: ['react'],\n});\n\nexport const RitualCalendarPresentation = definePresentation({\n meta: {\n key: 'team-hub.ritual.calendar',\n version: '1.0.0',\n title: 'Ritual Calendar',\n description: 'Calendar of team rituals and events.',\n domain: 'team-hub',\n owners: [...OWNERS],\n stability: StabilityEnum.Experimental,\n goal: 'Schedule and view team events.',\n context: 'Calendar view.',\n tags: ['ritual', 'calendar'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'RitualCalendar',\n },\n targets: ['react'],\n});\n\nexport const AnnouncementFeedPresentation = definePresentation({\n meta: {\n key: 'team-hub.announcement.feed',\n version: '1.0.0',\n title: 'Announcement Feed',\n description: 'Feed of team announcements.',\n domain: 'team-hub',\n owners: [...OWNERS],\n stability: StabilityEnum.Experimental,\n goal: 'Broadcast important team news.',\n context: 'Dashboard widget or dedicated page.',\n tags: ['announcement', 'feed'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'AnnouncementFeed',\n },\n targets: ['react'],\n});\n"],"mappings":";;;;;;AAKA,MAAM,SAAS,CAAC,YAAY;AAE5B,MAAa,4BAA4B,mBAAmB;CAC1D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,GAAG,OAAO;EACnB,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACT,MAAM,CAAC,aAAa,OAAO;EAC5B;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC;AAEF,MAAa,wBAAwB,mBAAmB;CACtD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,GAAG,OAAO;EACnB,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACT,MAAM,CAAC,SAAS,OAAO;EACxB;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC;AAEF,MAAa,wBAAwB,mBAAmB;CACtD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,GAAG,OAAO;EACnB,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACT,MAAM,CAAC,QAAQ,QAAQ;EACxB;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC;AAEF,MAAa,yBAAyB,mBAAmB;CACvD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,GAAG,OAAO;EACnB,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACT,MAAM,CAAC,QAAQ,SAAS;EACzB;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC;AAEF,MAAa,6BAA6B,mBAAmB;CAC3D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,GAAG,OAAO;EACnB,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACT,MAAM,CAAC,UAAU,WAAW;EAC7B;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC;AAEF,MAAa,+BAA+B,mBAAmB;CAC7D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,GAAG,OAAO;EACnB,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACT,MAAM,CAAC,gBAAgB,OAAO;EAC/B;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentations.js","names":[
|
|
1
|
+
{"version":3,"file":"presentations.js","names":[],"sources":["../src/presentations.ts"],"sourcesContent":["import type { PresentationSpec } from '@contractspec/lib.contracts';\nimport { StabilityEnum } from '@contractspec/lib.contracts';\n\nexport const TeamDashboardPresentation: PresentationSpec = {\n meta: {\n key: 'team-hub.dashboard',\n version: '1.0.0',\n title: 'Team Dashboard',\n description: 'Team hub dashboard with activity overview',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'dashboard'],\n stability: StabilityEnum.Experimental,\n goal: 'High-level overview of team activity',\n context: 'Team home page',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'TeamDashboard',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['team.dashboard.enabled'],\n },\n};\n\nexport const SpaceListPresentation: PresentationSpec = {\n meta: {\n key: 'team-hub.space.list',\n version: '1.0.0',\n title: 'Space List',\n description: 'List of team spaces',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'spaces', 'list'],\n stability: StabilityEnum.Experimental,\n goal: 'Browse and manage team spaces',\n context: 'Team navigation',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'SpaceList',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['team.spaces.enabled'],\n },\n};\n\nexport const TaskBoardPresentation: PresentationSpec = {\n meta: {\n key: 'team-hub.task.board',\n version: '1.0.0',\n title: 'Task Board',\n description: 'Task board with kanban view',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'tasks', 'board', 'kanban'],\n stability: StabilityEnum.Experimental,\n goal: 'Visual task management',\n context: 'Team task workflows',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'TaskBoard',\n },\n targets: ['react'],\n policy: {\n flags: ['team.tasks.enabled'],\n },\n};\n\nexport const TaskDetailPresentation: PresentationSpec = {\n meta: {\n key: 'team-hub.task.detail',\n version: '1.0.0',\n title: 'Task Details',\n description: 'Task detail with comments and history',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'task', 'detail'],\n stability: StabilityEnum.Experimental,\n goal: 'Detailed task view with collaboration',\n context: 'Task inspection and updates',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'TaskDetail',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['team.tasks.enabled'],\n },\n};\n\nexport const RitualCalendarPresentation: PresentationSpec = {\n meta: {\n key: 'team-hub.ritual.calendar',\n version: '1.0.0',\n title: 'Ritual Calendar',\n description: 'Calendar view of team rituals',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'rituals', 'calendar'],\n stability: StabilityEnum.Experimental,\n goal: 'Plan and view recurring team rituals',\n context: 'Team scheduling',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'RitualCalendar',\n },\n targets: ['react'],\n policy: {\n flags: ['team.rituals.enabled'],\n },\n};\n\nexport const AnnouncementFeedPresentation: PresentationSpec = {\n meta: {\n key: 'team-hub.announcement.feed',\n version: '1.0.0',\n title: 'Announcement Feed',\n description: 'Feed of team announcements',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'announcements', 'feed'],\n stability: StabilityEnum.Experimental,\n goal: 'Communicate updates to the team',\n context: 'Team communication',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'AnnouncementFeed',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['team.announcements.enabled'],\n },\n};\n"],"mappings":";;;AAGA,MAAa,4BAA8C;CACzD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM,CAAC,QAAQ,YAAY;EAC3B,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,yBAAyB,EAClC;CACF;AAED,MAAa,wBAA0C;CACrD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAU;GAAO;EAChC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,sBAAsB,EAC/B;CACF;AAED,MAAa,wBAA0C;CACrD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAS;GAAS;GAAS;EAC1C,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CAClB,QAAQ,EACN,OAAO,CAAC,qBAAqB,EAC9B;CACF;AAED,MAAa,yBAA2C;CACtD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAQ;GAAS;EAChC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,qBAAqB,EAC9B;CACF;AAED,MAAa,6BAA+C;CAC1D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAW;GAAW;EACrC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CAClB,QAAQ,EACN,OAAO,CAAC,uBAAuB,EAChC;CACF;AAED,MAAa,+BAAiD;CAC5D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAiB;GAAO;EACvC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,6BAA6B,EACtC;CACF"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as _contractspec_lib_schema257 from "@contractspec/lib.schema";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_contracts23 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/ritual/ritual.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Schedule a ritual.
|
|
7
7
|
*/
|
|
8
|
-
declare const ScheduleRitualContract:
|
|
8
|
+
declare const ScheduleRitualContract: _contractspec_lib_contracts23.OperationSpec<_contractspec_lib_schema257.SchemaModel<{
|
|
9
9
|
spaceId: {
|
|
10
10
|
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
@@ -59,7 +59,7 @@ declare const ScheduleRitualContract: _contractspec_lib_contracts12.OperationSpe
|
|
|
59
59
|
/**
|
|
60
60
|
* Log ritual occurrence.
|
|
61
61
|
*/
|
|
62
|
-
declare const LogRitualOccurrenceContract:
|
|
62
|
+
declare const LogRitualOccurrenceContract: _contractspec_lib_contracts23.OperationSpec<_contractspec_lib_schema257.SchemaModel<{
|
|
63
63
|
ritualId: {
|
|
64
64
|
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema302 from "@contractspec/lib.schema";
|
|
2
|
+
import * as _contractspec_lib_contracts25 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/space/space.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new team space.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateSpaceContract:
|
|
8
|
+
declare const CreateSpaceContract: _contractspec_lib_contracts25.OperationSpec<_contractspec_lib_schema302.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema302.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
description: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema302.FieldType<string, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
orgId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema302.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
ownerId: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema302.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
|
-
}>,
|
|
25
|
+
}>, _contractspec_lib_schema302.SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema302.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
name: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema302.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
description: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema302.FieldType<string, string>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
orgId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema302.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
ownerId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema302.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
}>, undefined>;
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema313 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/space/space.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Team space/project.
|
|
6
6
|
*/
|
|
7
|
-
declare const SpaceModel:
|
|
7
|
+
declare const SpaceModel: _contractspec_lib_schema313.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema313.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema313.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
description: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema313.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
orgId: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema313.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
ownerId: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema313.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
}>;
|
|
29
29
|
/**
|
|
30
30
|
* Input for creating a space.
|
|
31
31
|
*/
|
|
32
|
-
declare const CreateSpaceInputModel:
|
|
32
|
+
declare const CreateSpaceInputModel: _contractspec_lib_schema313.SchemaModel<{
|
|
33
33
|
name: {
|
|
34
|
-
type:
|
|
34
|
+
type: _contractspec_lib_schema313.FieldType<string, string>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
description: {
|
|
38
|
-
type:
|
|
38
|
+
type: _contractspec_lib_schema313.FieldType<string, string>;
|
|
39
39
|
isOptional: true;
|
|
40
40
|
};
|
|
41
41
|
orgId: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema313.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
ownerId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema313.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _contractspec_lib_schema324 from "@contractspec/lib.schema";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_contracts26 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/task/task.operations.d.ts
|
|
5
5
|
declare const ListTasksInputModel: _contractspec_lib_schema324.SchemaModel<{
|
|
@@ -64,7 +64,7 @@ declare const ListTasksOutputModel: _contractspec_lib_schema324.SchemaModel<{
|
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
}>;
|
|
67
|
-
declare const ListTasksOperation:
|
|
67
|
+
declare const ListTasksOperation: _contractspec_lib_contracts26.OperationSpec<_contractspec_lib_schema324.SchemaModel<{
|
|
68
68
|
spaceId: {
|
|
69
69
|
type: _contractspec_lib_schema324.FieldType<string, string>;
|
|
70
70
|
isOptional: true;
|
|
@@ -128,7 +128,7 @@ declare const ListTasksOperation: _contractspec_lib_contracts15.OperationSpec<_c
|
|
|
128
128
|
/**
|
|
129
129
|
* Create a task.
|
|
130
130
|
*/
|
|
131
|
-
declare const CreateTaskContract:
|
|
131
|
+
declare const CreateTaskContract: _contractspec_lib_contracts26.OperationSpec<_contractspec_lib_schema324.SchemaModel<{
|
|
132
132
|
spaceId: {
|
|
133
133
|
type: _contractspec_lib_schema324.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
@@ -186,7 +186,7 @@ declare const CreateTaskContract: _contractspec_lib_contracts15.OperationSpec<_c
|
|
|
186
186
|
/**
|
|
187
187
|
* Update task status.
|
|
188
188
|
*/
|
|
189
|
-
declare const UpdateTaskStatusContract:
|
|
189
|
+
declare const UpdateTaskStatusContract: _contractspec_lib_contracts26.OperationSpec<_contractspec_lib_schema324.SchemaModel<{
|
|
190
190
|
taskId: {
|
|
191
191
|
type: _contractspec_lib_schema324.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/task/task.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Task in a space.
|
|
6
6
|
*/
|
|
7
|
-
declare const TaskModel:
|
|
7
|
+
declare const TaskModel: _contractspec_lib_schema0.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
spaceId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
title: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
status: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
priority: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
assigneeId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
dueDate: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
37
37
|
/**
|
|
38
38
|
* Input for creating a task.
|
|
39
39
|
*/
|
|
40
|
-
declare const CreateTaskInputModel:
|
|
40
|
+
declare const CreateTaskInputModel: _contractspec_lib_schema0.SchemaModel<{
|
|
41
41
|
spaceId: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
title: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
description: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
priority: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
assigneeId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
dueDate: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
66
66
|
/**
|
|
67
67
|
* Input for updating task status.
|
|
68
68
|
*/
|
|
69
|
-
declare const UpdateTaskStatusInputModel:
|
|
69
|
+
declare const UpdateTaskStatusInputModel: _contractspec_lib_schema0.SchemaModel<{
|
|
70
70
|
taskId: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
status: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.schema.d.ts","names":[],"sources":["../../src/task/task.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,SAYX,
|
|
1
|
+
{"version":3,"file":"task.schema.d.ts","names":[],"sources":["../../src/task/task.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,SAYX,4BAZoB,WAYpB,CAAA;EAAA,EAAA,EAAA;UAAA,yBAAA,CAAA;;;;;;;;IAZoB,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAiBT,UAAA,EAAA,KAAA;EAWX,CAAA;;;;;;;;EAX+B,CAAA;EAgBpB,UAAA,EAAA;IAOX,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;EAPqC,OAAA,EAAA;;;;;;;;cAhB1B,gDAAoB;;UAW/B,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,sDAA0B;;UAOrC,yBAAA,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as _contractspec_lib_contracts13 from "@contractspec/lib.contracts";
|
|
2
|
+
|
|
3
|
+
//#region src/team-hub.capability.d.ts
|
|
4
|
+
declare const TasksCapability: _contractspec_lib_contracts13.CapabilitySpec;
|
|
5
|
+
declare const RitualsCapability: _contractspec_lib_contracts13.CapabilitySpec;
|
|
6
|
+
declare const AnnouncementsCapability: _contractspec_lib_contracts13.CapabilitySpec;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { AnnouncementsCapability, RitualsCapability, TasksCapability };
|
|
9
|
+
//# sourceMappingURL=team-hub.capability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team-hub.capability.d.ts","names":[],"sources":["../src/team-hub.capability.ts"],"sourcesContent":[],"mappings":";;;cAEa,iBAUX,6BAAA,CAV0B;cAYf,mBAUX,6BAAA,CAV4B;cAYjB,yBAUX,6BAAA,CAVkC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { StabilityEnum, defineCapability } from "@contractspec/lib.contracts";
|
|
2
|
+
|
|
3
|
+
//#region src/team-hub.capability.ts
|
|
4
|
+
const TasksCapability = defineCapability({ meta: {
|
|
5
|
+
key: "tasks",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
kind: "ui",
|
|
8
|
+
stability: StabilityEnum.Experimental,
|
|
9
|
+
description: "Task management for teams",
|
|
10
|
+
owners: ["platform.core"],
|
|
11
|
+
tags: ["tasks", "collaboration"]
|
|
12
|
+
} });
|
|
13
|
+
const RitualsCapability = defineCapability({ meta: {
|
|
14
|
+
key: "rituals",
|
|
15
|
+
version: "1.0.0",
|
|
16
|
+
kind: "ui",
|
|
17
|
+
stability: StabilityEnum.Experimental,
|
|
18
|
+
description: "Team rituals like standups and retrospectives",
|
|
19
|
+
owners: ["platform.core"],
|
|
20
|
+
tags: [
|
|
21
|
+
"rituals",
|
|
22
|
+
"team",
|
|
23
|
+
"meetings"
|
|
24
|
+
]
|
|
25
|
+
} });
|
|
26
|
+
const AnnouncementsCapability = defineCapability({ meta: {
|
|
27
|
+
key: "announcements",
|
|
28
|
+
version: "1.0.0",
|
|
29
|
+
kind: "ui",
|
|
30
|
+
stability: StabilityEnum.Experimental,
|
|
31
|
+
description: "Team announcements and communications",
|
|
32
|
+
owners: ["platform.messaging"],
|
|
33
|
+
tags: ["announcements", "messaging"]
|
|
34
|
+
} });
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
export { AnnouncementsCapability, RitualsCapability, TasksCapability };
|
|
38
|
+
//# sourceMappingURL=team-hub.capability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team-hub.capability.js","names":[],"sources":["../src/team-hub.capability.ts"],"sourcesContent":["import { defineCapability, StabilityEnum } from '@contractspec/lib.contracts';\n\nexport const TasksCapability = defineCapability({\n meta: {\n key: 'tasks',\n version: '1.0.0',\n kind: 'ui',\n stability: StabilityEnum.Experimental,\n description: 'Task management for teams',\n owners: ['platform.core'],\n tags: ['tasks', 'collaboration'],\n },\n});\n\nexport const RitualsCapability = defineCapability({\n meta: {\n key: 'rituals',\n version: '1.0.0',\n kind: 'ui',\n stability: StabilityEnum.Experimental,\n description: 'Team rituals like standups and retrospectives',\n owners: ['platform.core'],\n tags: ['rituals', 'team', 'meetings'],\n },\n});\n\nexport const AnnouncementsCapability = defineCapability({\n meta: {\n key: 'announcements',\n version: '1.0.0',\n kind: 'ui',\n stability: StabilityEnum.Experimental,\n description: 'Team announcements and communications',\n owners: ['platform.messaging'],\n tags: ['announcements', 'messaging'],\n },\n});\n"],"mappings":";;;AAEA,MAAa,kBAAkB,iBAAiB,EAC9C,MAAM;CACJ,KAAK;CACL,SAAS;CACT,MAAM;CACN,WAAW,cAAc;CACzB,aAAa;CACb,QAAQ,CAAC,gBAAgB;CACzB,MAAM,CAAC,SAAS,gBAAgB;CACjC,EACF,CAAC;AAEF,MAAa,oBAAoB,iBAAiB,EAChD,MAAM;CACJ,KAAK;CACL,SAAS;CACT,MAAM;CACN,WAAW,cAAc;CACzB,aAAa;CACb,QAAQ,CAAC,gBAAgB;CACzB,MAAM;EAAC;EAAW;EAAQ;EAAW;CACtC,EACF,CAAC;AAEF,MAAa,0BAA0B,iBAAiB,EACtD,MAAM;CACJ,KAAK;CACL,SAAS;CACT,MAAM;CACN,WAAW,cAAc;CACzB,aAAa;CACb,QAAQ,CAAC,qBAAqB;CAC9B,MAAM,CAAC,iBAAiB,YAAY;CACrC,EACF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _contractspec_lib_contracts16 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/team-hub.feature.d.ts
|
|
4
|
-
declare const TeamHubFeature: FeatureModuleSpec;
|
|
4
|
+
declare const TeamHubFeature: _contractspec_lib_contracts16.FeatureModuleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { TeamHubFeature };
|
|
7
7
|
//# sourceMappingURL=team-hub.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-hub.feature.d.ts","names":[],"sources":["../src/team-hub.feature.ts"],"sourcesContent":[],"mappings":";;;cAEa,
|
|
1
|
+
{"version":3,"file":"team-hub.feature.d.ts","names":[],"sources":["../src/team-hub.feature.ts"],"sourcesContent":[],"mappings":";;;cAEa,gBAgEX,6BAAA,CAhEyB"}
|
package/dist/team-hub.feature.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { defineFeature } from "@contractspec/lib.contracts";
|
|
2
|
+
|
|
1
3
|
//#region src/team-hub.feature.ts
|
|
2
|
-
const TeamHubFeature = {
|
|
4
|
+
const TeamHubFeature = defineFeature({
|
|
3
5
|
meta: {
|
|
4
6
|
key: "team-hub",
|
|
5
7
|
title: "Team Hub",
|
|
@@ -152,7 +154,7 @@ const TeamHubFeature = {
|
|
|
152
154
|
}
|
|
153
155
|
]
|
|
154
156
|
}
|
|
155
|
-
};
|
|
157
|
+
});
|
|
156
158
|
|
|
157
159
|
//#endregion
|
|
158
160
|
export { TeamHubFeature };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-hub.feature.js","names":[
|
|
1
|
+
{"version":3,"file":"team-hub.feature.js","names":[],"sources":["../src/team-hub.feature.ts"],"sourcesContent":["import { defineFeature } from '@contractspec/lib.contracts';\n\nexport const TeamHubFeature = defineFeature({\n meta: {\n key: 'team-hub',\n title: 'Team Hub',\n description:\n 'Tasks, rituals, and announcements for internal teams with ceremonies.',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['tasks', 'rituals', 'announcements'],\n stability: 'experimental',\n version: '1.0.0',\n },\n operations: [\n { key: 'team.space.create', version: '1.0.0' },\n { key: 'team.task.create', version: '1.0.0' },\n { key: 'team.task.updateStatus', version: '1.0.0' },\n { key: 'team.task.list', version: '1.0.0' },\n { key: 'team.ritual.schedule', version: '1.0.0' },\n { key: 'team.ritual.logOccurrence', version: '1.0.0' },\n { key: 'team.announcement.post', version: '1.0.0' },\n ],\n events: [\n { key: 'team.space.created', version: '1.0.0' },\n { key: 'team.task.created', version: '1.0.0' },\n { key: 'team.task.status_changed', version: '1.0.0' },\n { key: 'team.ritual.scheduled', version: '1.0.0' },\n { key: 'team.ritual.occurred', version: '1.0.0' },\n { key: 'team.announcement.posted', version: '1.0.0' },\n ],\n presentations: [\n { key: 'team-hub.dashboard', version: '1.0.0' },\n { key: 'team-hub.space.list', version: '1.0.0' },\n { key: 'team-hub.task.board', version: '1.0.0' },\n { key: 'team-hub.task.detail', version: '1.0.0' },\n { key: 'team-hub.ritual.calendar', version: '1.0.0' },\n { key: 'team-hub.announcement.feed', version: '1.0.0' },\n ],\n presentationsTargets: [\n {\n key: 'team-hub.dashboard',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n { key: 'team-hub.task.board', version: '1.0.0', targets: ['react'] },\n { key: 'team-hub.ritual.calendar', version: '1.0.0', targets: ['react'] },\n {\n key: 'team-hub.announcement.feed',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n ],\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n { key: 'notifications', version: '1.0.0' },\n { key: 'feature-flags', version: '1.0.0' },\n ],\n provides: [\n { key: 'tasks', version: '1.0.0' },\n { key: 'rituals', version: '1.0.0' },\n { key: 'announcements', version: '1.0.0' },\n ],\n },\n});\n"],"mappings":";;;AAEA,MAAa,iBAAiB,cAAc;CAC1C,MAAM;EACJ,KAAK;EACL,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAS;GAAW;GAAgB;EAC3C,WAAW;EACX,SAAS;EACV;CACD,YAAY;EACV;GAAE,KAAK;GAAqB,SAAS;GAAS;EAC9C;GAAE,KAAK;GAAoB,SAAS;GAAS;EAC7C;GAAE,KAAK;GAA0B,SAAS;GAAS;EACnD;GAAE,KAAK;GAAkB,SAAS;GAAS;EAC3C;GAAE,KAAK;GAAwB,SAAS;GAAS;EACjD;GAAE,KAAK;GAA6B,SAAS;GAAS;EACtD;GAAE,KAAK;GAA0B,SAAS;GAAS;EACpD;CACD,QAAQ;EACN;GAAE,KAAK;GAAsB,SAAS;GAAS;EAC/C;GAAE,KAAK;GAAqB,SAAS;GAAS;EAC9C;GAAE,KAAK;GAA4B,SAAS;GAAS;EACrD;GAAE,KAAK;GAAyB,SAAS;GAAS;EAClD;GAAE,KAAK;GAAwB,SAAS;GAAS;EACjD;GAAE,KAAK;GAA4B,SAAS;GAAS;EACtD;CACD,eAAe;EACb;GAAE,KAAK;GAAsB,SAAS;GAAS;EAC/C;GAAE,KAAK;GAAuB,SAAS;GAAS;EAChD;GAAE,KAAK;GAAuB,SAAS;GAAS;EAChD;GAAE,KAAK;GAAwB,SAAS;GAAS;EACjD;GAAE,KAAK;GAA4B,SAAS;GAAS;EACrD;GAAE,KAAK;GAA8B,SAAS;GAAS;EACxD;CACD,sBAAsB;EACpB;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACD;GAAE,KAAK;GAAuB,SAAS;GAAS,SAAS,CAAC,QAAQ;GAAE;EACpE;GAAE,KAAK;GAA4B,SAAS;GAAS,SAAS,CAAC,QAAQ;GAAE;EACzE;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACF;CACD,cAAc;EACZ,UAAU;GACR;IAAE,KAAK;IAAY,SAAS;IAAS;GACrC;IAAE,KAAK;IAAe,SAAS;IAAS;GACxC;IAAE,KAAK;IAAiB,SAAS;IAAS;GAC1C;IAAE,KAAK;IAAiB,SAAS;IAAS;GAC3C;EACD,UAAU;GACR;IAAE,KAAK;IAAS,SAAS;IAAS;GAClC;IAAE,KAAK;IAAW,SAAS;IAAS;GACpC;IAAE,KAAK;IAAiB,SAAS;IAAS;GAC3C;EACF;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.team-hub",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.0",
|
|
4
4
|
"description": "Team Hub example with spaces, tasks, rituals, and announcements",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
5
|
"types": "./dist/index.d.ts",
|
|
7
6
|
"type": "module",
|
|
8
7
|
"scripts": {
|
|
@@ -18,12 +17,12 @@
|
|
|
18
17
|
"lint:check": "eslint src"
|
|
19
18
|
},
|
|
20
19
|
"dependencies": {
|
|
21
|
-
"@contractspec/lib.schema": "1.
|
|
22
|
-
"@contractspec/lib.contracts": "1.
|
|
20
|
+
"@contractspec/lib.schema": "1.48.0",
|
|
21
|
+
"@contractspec/lib.contracts": "1.48.0"
|
|
23
22
|
},
|
|
24
23
|
"devDependencies": {
|
|
25
|
-
"@contractspec/tool.typescript": "1.
|
|
26
|
-
"@contractspec/tool.tsdown": "1.
|
|
24
|
+
"@contractspec/tool.typescript": "1.48.0",
|
|
25
|
+
"@contractspec/tool.tsdown": "1.48.0",
|
|
27
26
|
"typescript": "^5.9.3"
|
|
28
27
|
},
|
|
29
28
|
"exports": {
|
|
@@ -38,6 +37,7 @@
|
|
|
38
37
|
"./example": "./dist/example.js",
|
|
39
38
|
"./handlers": "./dist/handlers/index.js",
|
|
40
39
|
"./presentations": "./dist/presentations/index.js",
|
|
40
|
+
"./presentations/team-hub.presentation": "./dist/presentations/team-hub.presentation.js",
|
|
41
41
|
"./ritual": "./dist/ritual/index.js",
|
|
42
42
|
"./ritual/ritual.operations": "./dist/ritual/ritual.operations.js",
|
|
43
43
|
"./ritual/ritual.schema": "./dist/ritual/ritual.schema.js",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"./task": "./dist/task/index.js",
|
|
48
48
|
"./task/task.operations": "./dist/task/task.operations.js",
|
|
49
49
|
"./task/task.schema": "./dist/task/task.schema.js",
|
|
50
|
+
"./team-hub.capability": "./dist/team-hub.capability.js",
|
|
50
51
|
"./team-hub.feature": "./dist/team-hub.feature.js",
|
|
51
52
|
"./*": "./*"
|
|
52
53
|
},
|
|
53
|
-
"module": "./dist/index.js",
|
|
54
54
|
"files": [
|
|
55
55
|
"dist",
|
|
56
56
|
"README.md"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":[],"mappings":";cAAa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":["export const TeamHubPresentations = [\n 'team-hub.dashboard',\n 'team-hub.space.list',\n 'team-hub.task.board',\n 'team-hub.task.detail',\n 'team-hub.ritual.calendar',\n 'team-hub.announcement.feed',\n];\n"],"mappings":";AAAA,MAAa,uBAAuB;CAClC;CACA;CACA;CACA;CACA;CACA;CACD"}
|