@contractspec/example.team-hub 1.62.0 → 2.1.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 +1 -2
- package/dist/announcement/announcement.operations.js +1 -1
- package/dist/announcement/announcement.schema.d.ts +0 -1
- package/dist/announcement/index.d.ts +0 -1
- package/dist/announcement/index.js +1 -1
- package/dist/browser/announcement/announcement.operations.js +1 -1
- package/dist/browser/announcement/index.js +1 -1
- package/dist/browser/docs/index.js +1 -1
- package/dist/browser/docs/team-hub.docblock.js +1 -1
- package/dist/browser/events.js +1 -1
- package/dist/browser/example.js +1 -1
- package/dist/browser/index.js +6 -6
- package/dist/browser/presentations/index.js +4 -1
- package/dist/browser/presentations/team-hub.presentation.js +4 -1
- package/dist/browser/presentations.js +1 -1
- package/dist/browser/ritual/index.js +1 -1
- package/dist/browser/ritual/ritual.operations.js +1 -1
- package/dist/browser/space/index.js +1 -1
- package/dist/browser/space/space.operations.js +1 -1
- package/dist/browser/task/index.js +1 -1
- package/dist/browser/task/task.operations.js +1 -1
- package/dist/browser/team-hub.capability.js +4 -1
- package/dist/browser/team-hub.feature.js +1 -1
- package/dist/docs/index.d.ts +0 -1
- package/dist/docs/index.js +1 -1
- package/dist/docs/team-hub.docblock.d.ts +0 -1
- package/dist/docs/team-hub.docblock.js +1 -1
- package/dist/entities/index.d.ts +0 -1
- package/dist/events.d.ts +12 -13
- package/dist/events.js +1 -1
- package/dist/example.d.ts +1 -2
- package/dist/example.js +1 -1
- package/dist/handlers/index.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +6 -6
- package/dist/node/announcement/announcement.operations.js +1 -1
- package/dist/node/announcement/index.js +1 -1
- package/dist/node/docs/index.js +1 -1
- package/dist/node/docs/team-hub.docblock.js +1 -1
- package/dist/node/events.js +1 -1
- package/dist/node/example.js +1 -1
- package/dist/node/index.js +6 -6
- package/dist/node/presentations/index.js +4 -1
- package/dist/node/presentations/team-hub.presentation.js +4 -1
- package/dist/node/presentations.js +1 -1
- package/dist/node/ritual/index.js +1 -1
- package/dist/node/ritual/ritual.operations.js +1 -1
- package/dist/node/space/index.js +1 -1
- package/dist/node/space/space.operations.js +1 -1
- package/dist/node/task/index.js +1 -1
- package/dist/node/task/task.operations.js +1 -1
- package/dist/node/team-hub.capability.js +4 -1
- package/dist/node/team-hub.feature.js +1 -1
- package/dist/presentations/index.d.ts +0 -1
- package/dist/presentations/index.js +4 -1
- package/dist/presentations/team-hub.presentation.d.ts +6 -7
- package/dist/presentations/team-hub.presentation.js +4 -1
- package/dist/presentations.d.ts +1 -2
- package/dist/presentations.js +1 -1
- package/dist/ritual/index.d.ts +0 -1
- package/dist/ritual/index.js +1 -1
- package/dist/ritual/ritual.operations.d.ts +2 -3
- package/dist/ritual/ritual.operations.js +1 -1
- package/dist/ritual/ritual.schema.d.ts +0 -1
- package/dist/space/index.d.ts +0 -1
- package/dist/space/index.js +1 -1
- package/dist/space/space.operations.d.ts +1 -2
- package/dist/space/space.operations.js +1 -1
- package/dist/space/space.schema.d.ts +0 -1
- package/dist/task/index.d.ts +0 -1
- package/dist/task/index.js +1 -1
- package/dist/task/task.operations.d.ts +3 -4
- package/dist/task/task.operations.js +1 -1
- package/dist/task/task.schema.d.ts +0 -1
- package/dist/team-hub.capability.d.ts +3 -4
- package/dist/team-hub.capability.js +4 -1
- package/dist/team-hub.feature.d.ts +1 -2
- package/dist/team-hub.feature.js +1 -1
- package/package.json +5 -5
- package/dist/announcement/announcement.operations.d.ts.map +0 -1
- package/dist/announcement/announcement.schema.d.ts.map +0 -1
- package/dist/announcement/index.d.ts.map +0 -1
- package/dist/docs/index.d.ts.map +0 -1
- package/dist/docs/team-hub.docblock.d.ts.map +0 -1
- package/dist/entities/index.d.ts.map +0 -1
- package/dist/events.d.ts.map +0 -1
- package/dist/example.d.ts.map +0 -1
- package/dist/handlers/index.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/presentations/index.d.ts.map +0 -1
- package/dist/presentations/team-hub.presentation.d.ts.map +0 -1
- package/dist/presentations.d.ts.map +0 -1
- package/dist/ritual/index.d.ts.map +0 -1
- package/dist/ritual/ritual.operations.d.ts.map +0 -1
- package/dist/ritual/ritual.schema.d.ts.map +0 -1
- package/dist/space/index.d.ts.map +0 -1
- package/dist/space/space.operations.d.ts.map +0 -1
- package/dist/space/space.schema.d.ts.map +0 -1
- package/dist/task/index.d.ts.map +0 -1
- package/dist/task/task.operations.d.ts.map +0 -1
- package/dist/task/task.schema.d.ts.map +0 -1
- package/dist/team-hub.capability.d.ts.map +0 -1
- package/dist/team-hub.feature.d.ts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Post an announcement.
|
|
3
3
|
*/
|
|
4
|
-
export declare const PostAnnouncementContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
4
|
+
export declare const PostAnnouncementContract: import("@contractspec/lib.contracts-spec").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
5
|
title: {
|
|
6
6
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
7
|
isOptional: false;
|
|
@@ -52,4 +52,3 @@ export declare const PostAnnouncementContract: import("@contractspec/lib.contrac
|
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
}>, undefined>;
|
|
55
|
-
//# sourceMappingURL=announcement.operations.d.ts.map
|
|
@@ -27,7 +27,7 @@ var PostAnnouncementInputModel = defineSchemaModel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// src/announcement/announcement.operations.ts
|
|
30
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
30
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
31
31
|
var OWNERS = ["@examples.team-hub"];
|
|
32
32
|
var PostAnnouncementContract = defineCommand({
|
|
33
33
|
meta: {
|
|
@@ -27,7 +27,7 @@ var PostAnnouncementInputModel = defineSchemaModel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// src/announcement/announcement.operations.ts
|
|
30
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
30
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
31
31
|
var OWNERS = ["@examples.team-hub"];
|
|
32
32
|
var PostAnnouncementContract = defineCommand({
|
|
33
33
|
meta: {
|
|
@@ -26,7 +26,7 @@ var PostAnnouncementInputModel = defineSchemaModel({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/announcement/announcement.operations.ts
|
|
29
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
29
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
30
30
|
var OWNERS = ["@examples.team-hub"];
|
|
31
31
|
var PostAnnouncementContract = defineCommand({
|
|
32
32
|
meta: {
|
|
@@ -26,7 +26,7 @@ var PostAnnouncementInputModel = defineSchemaModel({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/announcement/announcement.operations.ts
|
|
29
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
29
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
30
30
|
var OWNERS = ["@examples.team-hub"];
|
|
31
31
|
var PostAnnouncementContract = defineCommand({
|
|
32
32
|
meta: {
|
package/dist/browser/events.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/events.ts
|
|
2
2
|
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var SpaceEventPayload = defineSchemaModel({
|
|
5
5
|
name: "SpaceEventPayload",
|
|
6
6
|
description: "Payload for space events",
|
package/dist/browser/example.js
CHANGED
package/dist/browser/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var PostAnnouncementInputModel = defineSchemaModel({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/announcement/announcement.operations.ts
|
|
29
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
29
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
30
30
|
var OWNERS = ["@examples.team-hub"];
|
|
31
31
|
var PostAnnouncementContract = defineCommand({
|
|
32
32
|
meta: {
|
|
@@ -91,7 +91,7 @@ var CreateSpaceInputModel = defineSchemaModel2({
|
|
|
91
91
|
});
|
|
92
92
|
|
|
93
93
|
// src/space/space.operations.ts
|
|
94
|
-
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts";
|
|
94
|
+
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts-spec";
|
|
95
95
|
var OWNERS2 = ["@examples.team-hub"];
|
|
96
96
|
var CreateSpaceContract = defineCommand2({
|
|
97
97
|
meta: {
|
|
@@ -164,7 +164,7 @@ var UpdateTaskStatusInputModel = defineSchemaModel3({
|
|
|
164
164
|
});
|
|
165
165
|
|
|
166
166
|
// src/task/task.operations.ts
|
|
167
|
-
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts";
|
|
167
|
+
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
168
168
|
import { defineSchemaModel as defineSchemaModel4, ScalarTypeEnum as ScalarTypeEnum4 } from "@contractspec/lib.schema";
|
|
169
169
|
var OWNERS3 = ["@examples.team-hub"];
|
|
170
170
|
var ListTasksInputModel = defineSchemaModel4({
|
|
@@ -326,7 +326,7 @@ var LogRitualOccurrenceInputModel = defineSchemaModel5({
|
|
|
326
326
|
});
|
|
327
327
|
|
|
328
328
|
// src/ritual/ritual.operations.ts
|
|
329
|
-
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts";
|
|
329
|
+
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts-spec";
|
|
330
330
|
var OWNERS4 = ["@examples.team-hub"];
|
|
331
331
|
var ScheduleRitualContract = defineCommand4({
|
|
332
332
|
meta: {
|
|
@@ -406,7 +406,7 @@ var LogRitualOccurrenceContract = defineCommand4({
|
|
|
406
406
|
}
|
|
407
407
|
});
|
|
408
408
|
// src/presentations.ts
|
|
409
|
-
import { StabilityEnum } from "@contractspec/lib.contracts";
|
|
409
|
+
import { StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
410
410
|
var TeamDashboardPresentation = {
|
|
411
411
|
meta: {
|
|
412
412
|
key: "team-hub.dashboard",
|
|
@@ -547,7 +547,7 @@ var AnnouncementFeedPresentation = {
|
|
|
547
547
|
};
|
|
548
548
|
|
|
549
549
|
// src/team-hub.feature.ts
|
|
550
|
-
import { defineFeature } from "@contractspec/lib.contracts";
|
|
550
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
551
551
|
var TeamHubFeature = defineFeature({
|
|
552
552
|
meta: {
|
|
553
553
|
key: "team-hub",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/presentations/team-hub.presentation.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
definePresentation,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var OWNERS = ["@team-hub"];
|
|
4
7
|
var TeamDashboardPresentation = definePresentation({
|
|
5
8
|
meta: {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/presentations/team-hub.presentation.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
definePresentation,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var OWNERS = ["@team-hub"];
|
|
4
7
|
var TeamDashboardPresentation = definePresentation({
|
|
5
8
|
meta: {
|
|
@@ -36,7 +36,7 @@ var LogRitualOccurrenceInputModel = defineSchemaModel({
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
// src/ritual/ritual.operations.ts
|
|
39
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
39
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
40
40
|
var OWNERS = ["@examples.team-hub"];
|
|
41
41
|
var ScheduleRitualContract = defineCommand({
|
|
42
42
|
meta: {
|
|
@@ -36,7 +36,7 @@ var LogRitualOccurrenceInputModel = defineSchemaModel({
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
// src/ritual/ritual.operations.ts
|
|
39
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
39
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
40
40
|
var OWNERS = ["@examples.team-hub"];
|
|
41
41
|
var ScheduleRitualContract = defineCommand({
|
|
42
42
|
meta: {
|
|
@@ -23,7 +23,7 @@ var CreateSpaceInputModel = defineSchemaModel({
|
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// src/space/space.operations.ts
|
|
26
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
26
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
27
27
|
var OWNERS = ["@examples.team-hub"];
|
|
28
28
|
var CreateSpaceContract = defineCommand({
|
|
29
29
|
meta: {
|
|
@@ -23,7 +23,7 @@ var CreateSpaceInputModel = defineSchemaModel({
|
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// src/space/space.operations.ts
|
|
26
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
26
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
27
27
|
var OWNERS = ["@examples.team-hub"];
|
|
28
28
|
var CreateSpaceContract = defineCommand({
|
|
29
29
|
meta: {
|
|
@@ -35,7 +35,7 @@ var UpdateTaskStatusInputModel = defineSchemaModel({
|
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
// src/task/task.operations.ts
|
|
38
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
38
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
39
39
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
40
40
|
var OWNERS = ["@examples.team-hub"];
|
|
41
41
|
var ListTasksInputModel = defineSchemaModel2({
|
|
@@ -35,7 +35,7 @@ var UpdateTaskStatusInputModel = defineSchemaModel({
|
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
// src/task/task.operations.ts
|
|
38
|
-
import { defineCommand, defineQuery } from "@contractspec/lib.contracts";
|
|
38
|
+
import { defineCommand, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
39
39
|
import { defineSchemaModel as defineSchemaModel2, ScalarTypeEnum as ScalarTypeEnum2 } from "@contractspec/lib.schema";
|
|
40
40
|
var OWNERS = ["@examples.team-hub"];
|
|
41
41
|
var ListTasksInputModel = defineSchemaModel2({
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/team-hub.capability.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
defineCapability,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var TasksCapability = defineCapability({
|
|
4
7
|
meta: {
|
|
5
8
|
key: "tasks",
|
package/dist/docs/index.d.ts
CHANGED
package/dist/docs/index.js
CHANGED
package/dist/entities/index.d.ts
CHANGED
|
@@ -142,4 +142,3 @@ export declare const teamHubEntities: (import("@contractspec/lib.schema").Entity
|
|
|
142
142
|
expiresAt: import("@contractspec/lib.schema").EntityScalarField;
|
|
143
143
|
}>)[];
|
|
144
144
|
export declare const teamHubSchemaContribution: ModuleSchemaContribution;
|
|
145
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SpaceCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
1
|
+
export declare const SpaceCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
2
2
|
spaceId: {
|
|
3
3
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
4
4
|
isOptional: false;
|
|
@@ -16,7 +16,7 @@ export declare const SpaceCreatedEvent: import("@contractspec/lib.contracts").Ev
|
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
}>>;
|
|
19
|
-
export declare const TaskCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
19
|
+
export declare const TaskCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
20
20
|
taskId: {
|
|
21
21
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
@@ -42,7 +42,7 @@ export declare const TaskCreatedEvent: import("@contractspec/lib.contracts").Eve
|
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
}>>;
|
|
45
|
-
export declare const TaskStatusChangedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
45
|
+
export declare const TaskStatusChangedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
46
46
|
taskId: {
|
|
47
47
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
@@ -68,7 +68,7 @@ export declare const TaskStatusChangedEvent: import("@contractspec/lib.contracts
|
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
}>>;
|
|
71
|
-
export declare const RitualScheduledEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
71
|
+
export declare const RitualScheduledEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
72
72
|
ritualId: {
|
|
73
73
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
74
74
|
isOptional: false;
|
|
@@ -90,7 +90,7 @@ export declare const RitualScheduledEvent: import("@contractspec/lib.contracts")
|
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
}>>;
|
|
93
|
-
export declare const RitualOccurredEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
93
|
+
export declare const RitualOccurredEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
94
94
|
ritualId: {
|
|
95
95
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
96
96
|
isOptional: false;
|
|
@@ -112,7 +112,7 @@ export declare const RitualOccurredEvent: import("@contractspec/lib.contracts").
|
|
|
112
112
|
isOptional: false;
|
|
113
113
|
};
|
|
114
114
|
}>>;
|
|
115
|
-
export declare const AnnouncementPostedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
115
|
+
export declare const AnnouncementPostedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
116
116
|
announcementId: {
|
|
117
117
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
@@ -139,7 +139,7 @@ export declare const AnnouncementPostedEvent: import("@contractspec/lib.contract
|
|
|
139
139
|
};
|
|
140
140
|
}>>;
|
|
141
141
|
export declare const TeamHubEvents: {
|
|
142
|
-
SpaceCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
142
|
+
SpaceCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
143
143
|
spaceId: {
|
|
144
144
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
145
145
|
isOptional: false;
|
|
@@ -157,7 +157,7 @@ export declare const TeamHubEvents: {
|
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
}>>;
|
|
160
|
-
TaskCreatedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
160
|
+
TaskCreatedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
161
161
|
taskId: {
|
|
162
162
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
@@ -183,7 +183,7 @@ export declare const TeamHubEvents: {
|
|
|
183
183
|
isOptional: false;
|
|
184
184
|
};
|
|
185
185
|
}>>;
|
|
186
|
-
TaskStatusChangedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
186
|
+
TaskStatusChangedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
187
187
|
taskId: {
|
|
188
188
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
189
189
|
isOptional: false;
|
|
@@ -209,7 +209,7 @@ export declare const TeamHubEvents: {
|
|
|
209
209
|
isOptional: false;
|
|
210
210
|
};
|
|
211
211
|
}>>;
|
|
212
|
-
RitualScheduledEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
212
|
+
RitualScheduledEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
213
213
|
ritualId: {
|
|
214
214
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
215
215
|
isOptional: false;
|
|
@@ -231,7 +231,7 @@ export declare const TeamHubEvents: {
|
|
|
231
231
|
isOptional: false;
|
|
232
232
|
};
|
|
233
233
|
}>>;
|
|
234
|
-
RitualOccurredEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
234
|
+
RitualOccurredEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
235
235
|
ritualId: {
|
|
236
236
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
237
237
|
isOptional: false;
|
|
@@ -253,7 +253,7 @@ export declare const TeamHubEvents: {
|
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
}>>;
|
|
256
|
-
AnnouncementPostedEvent: import("@contractspec/lib.contracts").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
256
|
+
AnnouncementPostedEvent: import("@contractspec/lib.contracts-spec").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
257
257
|
announcementId: {
|
|
258
258
|
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
259
259
|
isOptional: false;
|
|
@@ -280,4 +280,3 @@ export declare const TeamHubEvents: {
|
|
|
280
280
|
};
|
|
281
281
|
}>>;
|
|
282
282
|
};
|
|
283
|
-
//# sourceMappingURL=events.d.ts.map
|
package/dist/events.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/events.ts
|
|
3
3
|
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
4
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
4
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
5
5
|
var SpaceEventPayload = defineSchemaModel({
|
|
6
6
|
name: "SpaceEventPayload",
|
|
7
7
|
description: "Payload for space events",
|
package/dist/example.d.ts
CHANGED
package/dist/example.js
CHANGED
package/dist/handlers/index.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ var PostAnnouncementInputModel = defineSchemaModel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// src/announcement/announcement.operations.ts
|
|
30
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
30
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
31
31
|
var OWNERS = ["@examples.team-hub"];
|
|
32
32
|
var PostAnnouncementContract = defineCommand({
|
|
33
33
|
meta: {
|
|
@@ -92,7 +92,7 @@ var CreateSpaceInputModel = defineSchemaModel2({
|
|
|
92
92
|
});
|
|
93
93
|
|
|
94
94
|
// src/space/space.operations.ts
|
|
95
|
-
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts";
|
|
95
|
+
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts-spec";
|
|
96
96
|
var OWNERS2 = ["@examples.team-hub"];
|
|
97
97
|
var CreateSpaceContract = defineCommand2({
|
|
98
98
|
meta: {
|
|
@@ -165,7 +165,7 @@ var UpdateTaskStatusInputModel = defineSchemaModel3({
|
|
|
165
165
|
});
|
|
166
166
|
|
|
167
167
|
// src/task/task.operations.ts
|
|
168
|
-
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts";
|
|
168
|
+
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
169
169
|
import { defineSchemaModel as defineSchemaModel4, ScalarTypeEnum as ScalarTypeEnum4 } from "@contractspec/lib.schema";
|
|
170
170
|
var OWNERS3 = ["@examples.team-hub"];
|
|
171
171
|
var ListTasksInputModel = defineSchemaModel4({
|
|
@@ -327,7 +327,7 @@ var LogRitualOccurrenceInputModel = defineSchemaModel5({
|
|
|
327
327
|
});
|
|
328
328
|
|
|
329
329
|
// src/ritual/ritual.operations.ts
|
|
330
|
-
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts";
|
|
330
|
+
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts-spec";
|
|
331
331
|
var OWNERS4 = ["@examples.team-hub"];
|
|
332
332
|
var ScheduleRitualContract = defineCommand4({
|
|
333
333
|
meta: {
|
|
@@ -407,7 +407,7 @@ var LogRitualOccurrenceContract = defineCommand4({
|
|
|
407
407
|
}
|
|
408
408
|
});
|
|
409
409
|
// src/presentations.ts
|
|
410
|
-
import { StabilityEnum } from "@contractspec/lib.contracts";
|
|
410
|
+
import { StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
411
411
|
var TeamDashboardPresentation = {
|
|
412
412
|
meta: {
|
|
413
413
|
key: "team-hub.dashboard",
|
|
@@ -548,7 +548,7 @@ var AnnouncementFeedPresentation = {
|
|
|
548
548
|
};
|
|
549
549
|
|
|
550
550
|
// src/team-hub.feature.ts
|
|
551
|
-
import { defineFeature } from "@contractspec/lib.contracts";
|
|
551
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
552
552
|
var TeamHubFeature = defineFeature({
|
|
553
553
|
meta: {
|
|
554
554
|
key: "team-hub",
|
|
@@ -26,7 +26,7 @@ var PostAnnouncementInputModel = defineSchemaModel({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/announcement/announcement.operations.ts
|
|
29
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
29
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
30
30
|
var OWNERS = ["@examples.team-hub"];
|
|
31
31
|
var PostAnnouncementContract = defineCommand({
|
|
32
32
|
meta: {
|
|
@@ -26,7 +26,7 @@ var PostAnnouncementInputModel = defineSchemaModel({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/announcement/announcement.operations.ts
|
|
29
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
29
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
30
30
|
var OWNERS = ["@examples.team-hub"];
|
|
31
31
|
var PostAnnouncementContract = defineCommand({
|
|
32
32
|
meta: {
|
package/dist/node/docs/index.js
CHANGED
package/dist/node/events.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/events.ts
|
|
2
2
|
import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
|
|
3
|
-
import { defineEvent } from "@contractspec/lib.contracts";
|
|
3
|
+
import { defineEvent } from "@contractspec/lib.contracts-spec";
|
|
4
4
|
var SpaceEventPayload = defineSchemaModel({
|
|
5
5
|
name: "SpaceEventPayload",
|
|
6
6
|
description: "Payload for space events",
|
package/dist/node/example.js
CHANGED
package/dist/node/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var PostAnnouncementInputModel = defineSchemaModel({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/announcement/announcement.operations.ts
|
|
29
|
-
import { defineCommand } from "@contractspec/lib.contracts";
|
|
29
|
+
import { defineCommand } from "@contractspec/lib.contracts-spec";
|
|
30
30
|
var OWNERS = ["@examples.team-hub"];
|
|
31
31
|
var PostAnnouncementContract = defineCommand({
|
|
32
32
|
meta: {
|
|
@@ -91,7 +91,7 @@ var CreateSpaceInputModel = defineSchemaModel2({
|
|
|
91
91
|
});
|
|
92
92
|
|
|
93
93
|
// src/space/space.operations.ts
|
|
94
|
-
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts";
|
|
94
|
+
import { defineCommand as defineCommand2 } from "@contractspec/lib.contracts-spec";
|
|
95
95
|
var OWNERS2 = ["@examples.team-hub"];
|
|
96
96
|
var CreateSpaceContract = defineCommand2({
|
|
97
97
|
meta: {
|
|
@@ -164,7 +164,7 @@ var UpdateTaskStatusInputModel = defineSchemaModel3({
|
|
|
164
164
|
});
|
|
165
165
|
|
|
166
166
|
// src/task/task.operations.ts
|
|
167
|
-
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts";
|
|
167
|
+
import { defineCommand as defineCommand3, defineQuery } from "@contractspec/lib.contracts-spec";
|
|
168
168
|
import { defineSchemaModel as defineSchemaModel4, ScalarTypeEnum as ScalarTypeEnum4 } from "@contractspec/lib.schema";
|
|
169
169
|
var OWNERS3 = ["@examples.team-hub"];
|
|
170
170
|
var ListTasksInputModel = defineSchemaModel4({
|
|
@@ -326,7 +326,7 @@ var LogRitualOccurrenceInputModel = defineSchemaModel5({
|
|
|
326
326
|
});
|
|
327
327
|
|
|
328
328
|
// src/ritual/ritual.operations.ts
|
|
329
|
-
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts";
|
|
329
|
+
import { defineCommand as defineCommand4 } from "@contractspec/lib.contracts-spec";
|
|
330
330
|
var OWNERS4 = ["@examples.team-hub"];
|
|
331
331
|
var ScheduleRitualContract = defineCommand4({
|
|
332
332
|
meta: {
|
|
@@ -406,7 +406,7 @@ var LogRitualOccurrenceContract = defineCommand4({
|
|
|
406
406
|
}
|
|
407
407
|
});
|
|
408
408
|
// src/presentations.ts
|
|
409
|
-
import { StabilityEnum } from "@contractspec/lib.contracts";
|
|
409
|
+
import { StabilityEnum } from "@contractspec/lib.contracts-spec";
|
|
410
410
|
var TeamDashboardPresentation = {
|
|
411
411
|
meta: {
|
|
412
412
|
key: "team-hub.dashboard",
|
|
@@ -547,7 +547,7 @@ var AnnouncementFeedPresentation = {
|
|
|
547
547
|
};
|
|
548
548
|
|
|
549
549
|
// src/team-hub.feature.ts
|
|
550
|
-
import { defineFeature } from "@contractspec/lib.contracts";
|
|
550
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
551
551
|
var TeamHubFeature = defineFeature({
|
|
552
552
|
meta: {
|
|
553
553
|
key: "team-hub",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/presentations/team-hub.presentation.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
definePresentation,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var OWNERS = ["@team-hub"];
|
|
4
7
|
var TeamDashboardPresentation = definePresentation({
|
|
5
8
|
meta: {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// src/presentations/team-hub.presentation.ts
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
definePresentation,
|
|
4
|
+
StabilityEnum
|
|
5
|
+
} from "@contractspec/lib.contracts-spec";
|
|
3
6
|
var OWNERS = ["@team-hub"];
|
|
4
7
|
var TeamDashboardPresentation = definePresentation({
|
|
5
8
|
meta: {
|