@contractspec/example.team-hub 1.46.0 → 1.46.2
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/announcement/announcement.operations.d.ts.map +1 -1
- package/dist/announcement/announcement.schema.d.ts +15 -15
- package/dist/entities/index.d.ts +137 -137
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/ritual/ritual.operations.d.ts +27 -27
- package/dist/ritual/ritual.schema.d.ts +20 -20
- package/dist/task/task.schema.d.ts +19 -19
- package/package.json +5 -5
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema75 from "@contractspec/lib.schema";
|
|
2
2
|
import * as _contractspec_lib_contracts11 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/announcement/announcement.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Post an announcement.
|
|
7
7
|
*/
|
|
8
|
-
declare const PostAnnouncementContract: _contractspec_lib_contracts11.OperationSpec<
|
|
8
|
+
declare const PostAnnouncementContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema75.SchemaModel<{
|
|
9
9
|
title: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
body: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
audience: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
audienceRole: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
spaceId: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
expiresAt: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema75.FieldType<Date, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _contractspec_lib_schema75.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
title: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
body: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
audience: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
audienceRole: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
spaceId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema75.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"announcement.operations.d.ts","names":[],"sources":["../../src/announcement/announcement.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAWa,wDAAwB,
|
|
1
|
+
{"version":3,"file":"announcement.operations.d.ts","names":[],"sources":["../../src/announcement/announcement.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAWa,wDAAwB,yCAAA;EAAxB,KAAA,EAAA;IAqCX,IAAA,EAAA,0BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;IArCmC,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;IAAA,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;UAAA,0BAAA,CAAA"}
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema107 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/announcement/announcement.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Announcement to spaces/org.
|
|
6
6
|
*/
|
|
7
|
-
declare const AnnouncementModel:
|
|
7
|
+
declare const AnnouncementModel: _contractspec_lib_schema107.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
title: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
body: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
audience: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
audienceRole: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
spaceId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
34
34
|
* Input for posting an announcement.
|
|
35
35
|
*/
|
|
36
|
-
declare const PostAnnouncementInputModel:
|
|
36
|
+
declare const PostAnnouncementInputModel: _contractspec_lib_schema107.SchemaModel<{
|
|
37
37
|
title: {
|
|
38
|
-
type:
|
|
38
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
body: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
audience: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
audienceRole: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
spaceId: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema107.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
expiresAt: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema107.FieldType<Date, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
}>;
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,148 +1,148 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema121 from "@contractspec/lib.schema";
|
|
2
2
|
import { ModuleSchemaContribution } from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/index.d.ts
|
|
5
|
-
declare const TaskStatusEnum:
|
|
6
|
-
declare const TaskPriorityEnum:
|
|
7
|
-
declare const RitualCadenceEnum:
|
|
8
|
-
declare const AnnouncementAudienceEnum:
|
|
9
|
-
declare const SpaceEntity:
|
|
10
|
-
id:
|
|
11
|
-
name:
|
|
12
|
-
description:
|
|
13
|
-
orgId:
|
|
14
|
-
ownerId:
|
|
15
|
-
members:
|
|
16
|
-
createdAt:
|
|
17
|
-
updatedAt:
|
|
18
|
-
tasks:
|
|
19
|
-
rituals:
|
|
20
|
-
announcements:
|
|
5
|
+
declare const TaskStatusEnum: _contractspec_lib_schema121.EntityEnumDef;
|
|
6
|
+
declare const TaskPriorityEnum: _contractspec_lib_schema121.EntityEnumDef;
|
|
7
|
+
declare const RitualCadenceEnum: _contractspec_lib_schema121.EntityEnumDef;
|
|
8
|
+
declare const AnnouncementAudienceEnum: _contractspec_lib_schema121.EntityEnumDef;
|
|
9
|
+
declare const SpaceEntity: _contractspec_lib_schema121.EntitySpec<{
|
|
10
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
11
|
+
name: _contractspec_lib_schema121.EntityScalarField;
|
|
12
|
+
description: _contractspec_lib_schema121.EntityScalarField;
|
|
13
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
14
|
+
ownerId: _contractspec_lib_schema121.EntityScalarField;
|
|
15
|
+
members: _contractspec_lib_schema121.EntityScalarField;
|
|
16
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
17
|
+
updatedAt: _contractspec_lib_schema121.EntityScalarField;
|
|
18
|
+
tasks: _contractspec_lib_schema121.EntityRelationField;
|
|
19
|
+
rituals: _contractspec_lib_schema121.EntityRelationField;
|
|
20
|
+
announcements: _contractspec_lib_schema121.EntityRelationField;
|
|
21
21
|
}>;
|
|
22
|
-
declare const TaskEntity:
|
|
23
|
-
id:
|
|
24
|
-
spaceId:
|
|
25
|
-
title:
|
|
26
|
-
description:
|
|
27
|
-
status:
|
|
28
|
-
priority:
|
|
29
|
-
assigneeId:
|
|
30
|
-
dueDate:
|
|
31
|
-
tags:
|
|
32
|
-
orgId:
|
|
33
|
-
createdAt:
|
|
34
|
-
updatedAt:
|
|
35
|
-
space:
|
|
22
|
+
declare const TaskEntity: _contractspec_lib_schema121.EntitySpec<{
|
|
23
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
24
|
+
spaceId: _contractspec_lib_schema121.EntityScalarField;
|
|
25
|
+
title: _contractspec_lib_schema121.EntityScalarField;
|
|
26
|
+
description: _contractspec_lib_schema121.EntityScalarField;
|
|
27
|
+
status: _contractspec_lib_schema121.EntityEnumField;
|
|
28
|
+
priority: _contractspec_lib_schema121.EntityEnumField;
|
|
29
|
+
assigneeId: _contractspec_lib_schema121.EntityScalarField;
|
|
30
|
+
dueDate: _contractspec_lib_schema121.EntityScalarField;
|
|
31
|
+
tags: _contractspec_lib_schema121.EntityScalarField;
|
|
32
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
33
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
34
|
+
updatedAt: _contractspec_lib_schema121.EntityScalarField;
|
|
35
|
+
space: _contractspec_lib_schema121.EntityRelationField;
|
|
36
36
|
}>;
|
|
37
|
-
declare const RitualEntity:
|
|
38
|
-
id:
|
|
39
|
-
spaceId:
|
|
40
|
-
title:
|
|
41
|
-
cadence:
|
|
42
|
-
dayOfWeek:
|
|
43
|
-
time:
|
|
44
|
-
facilitatorId:
|
|
45
|
-
participants:
|
|
46
|
-
location:
|
|
47
|
-
agendaTemplate:
|
|
48
|
-
orgId:
|
|
49
|
-
createdAt:
|
|
50
|
-
updatedAt:
|
|
51
|
-
occurrences:
|
|
52
|
-
space:
|
|
37
|
+
declare const RitualEntity: _contractspec_lib_schema121.EntitySpec<{
|
|
38
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
39
|
+
spaceId: _contractspec_lib_schema121.EntityScalarField;
|
|
40
|
+
title: _contractspec_lib_schema121.EntityScalarField;
|
|
41
|
+
cadence: _contractspec_lib_schema121.EntityEnumField;
|
|
42
|
+
dayOfWeek: _contractspec_lib_schema121.EntityScalarField;
|
|
43
|
+
time: _contractspec_lib_schema121.EntityScalarField;
|
|
44
|
+
facilitatorId: _contractspec_lib_schema121.EntityScalarField;
|
|
45
|
+
participants: _contractspec_lib_schema121.EntityScalarField;
|
|
46
|
+
location: _contractspec_lib_schema121.EntityScalarField;
|
|
47
|
+
agendaTemplate: _contractspec_lib_schema121.EntityScalarField;
|
|
48
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
49
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
50
|
+
updatedAt: _contractspec_lib_schema121.EntityScalarField;
|
|
51
|
+
occurrences: _contractspec_lib_schema121.EntityRelationField;
|
|
52
|
+
space: _contractspec_lib_schema121.EntityRelationField;
|
|
53
53
|
}>;
|
|
54
|
-
declare const RitualOccurrenceEntity:
|
|
55
|
-
id:
|
|
56
|
-
ritualId:
|
|
57
|
-
scheduledFor:
|
|
58
|
-
status:
|
|
59
|
-
summary:
|
|
60
|
-
attendance:
|
|
61
|
-
recordingUrl:
|
|
62
|
-
orgId:
|
|
63
|
-
createdAt:
|
|
64
|
-
updatedAt:
|
|
65
|
-
ritual:
|
|
54
|
+
declare const RitualOccurrenceEntity: _contractspec_lib_schema121.EntitySpec<{
|
|
55
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
56
|
+
ritualId: _contractspec_lib_schema121.EntityScalarField;
|
|
57
|
+
scheduledFor: _contractspec_lib_schema121.EntityScalarField;
|
|
58
|
+
status: _contractspec_lib_schema121.EntityScalarField;
|
|
59
|
+
summary: _contractspec_lib_schema121.EntityScalarField;
|
|
60
|
+
attendance: _contractspec_lib_schema121.EntityScalarField;
|
|
61
|
+
recordingUrl: _contractspec_lib_schema121.EntityScalarField;
|
|
62
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
63
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
64
|
+
updatedAt: _contractspec_lib_schema121.EntityScalarField;
|
|
65
|
+
ritual: _contractspec_lib_schema121.EntityRelationField;
|
|
66
66
|
}>;
|
|
67
|
-
declare const AnnouncementEntity:
|
|
68
|
-
id:
|
|
69
|
-
spaceId:
|
|
70
|
-
title:
|
|
71
|
-
body:
|
|
72
|
-
audience:
|
|
73
|
-
audienceRole:
|
|
74
|
-
pinnedUntil:
|
|
75
|
-
orgId:
|
|
76
|
-
createdBy:
|
|
77
|
-
createdAt:
|
|
78
|
-
expiresAt:
|
|
67
|
+
declare const AnnouncementEntity: _contractspec_lib_schema121.EntitySpec<{
|
|
68
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
69
|
+
spaceId: _contractspec_lib_schema121.EntityScalarField;
|
|
70
|
+
title: _contractspec_lib_schema121.EntityScalarField;
|
|
71
|
+
body: _contractspec_lib_schema121.EntityScalarField;
|
|
72
|
+
audience: _contractspec_lib_schema121.EntityEnumField;
|
|
73
|
+
audienceRole: _contractspec_lib_schema121.EntityScalarField;
|
|
74
|
+
pinnedUntil: _contractspec_lib_schema121.EntityScalarField;
|
|
75
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
76
|
+
createdBy: _contractspec_lib_schema121.EntityScalarField;
|
|
77
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
78
|
+
expiresAt: _contractspec_lib_schema121.EntityScalarField;
|
|
79
79
|
}>;
|
|
80
|
-
declare const teamHubEntities: (
|
|
81
|
-
id:
|
|
82
|
-
name:
|
|
83
|
-
description:
|
|
84
|
-
orgId:
|
|
85
|
-
ownerId:
|
|
86
|
-
members:
|
|
87
|
-
createdAt:
|
|
88
|
-
updatedAt:
|
|
89
|
-
tasks:
|
|
90
|
-
rituals:
|
|
91
|
-
announcements:
|
|
92
|
-
}> |
|
|
93
|
-
id:
|
|
94
|
-
spaceId:
|
|
95
|
-
title:
|
|
96
|
-
description:
|
|
97
|
-
status:
|
|
98
|
-
priority:
|
|
99
|
-
assigneeId:
|
|
100
|
-
dueDate:
|
|
101
|
-
tags:
|
|
102
|
-
orgId:
|
|
103
|
-
createdAt:
|
|
104
|
-
updatedAt:
|
|
105
|
-
space:
|
|
106
|
-
}> |
|
|
107
|
-
id:
|
|
108
|
-
spaceId:
|
|
109
|
-
title:
|
|
110
|
-
cadence:
|
|
111
|
-
dayOfWeek:
|
|
112
|
-
time:
|
|
113
|
-
facilitatorId:
|
|
114
|
-
participants:
|
|
115
|
-
location:
|
|
116
|
-
agendaTemplate:
|
|
117
|
-
orgId:
|
|
118
|
-
createdAt:
|
|
119
|
-
updatedAt:
|
|
120
|
-
occurrences:
|
|
121
|
-
space:
|
|
122
|
-
}> |
|
|
123
|
-
id:
|
|
124
|
-
ritualId:
|
|
125
|
-
scheduledFor:
|
|
126
|
-
status:
|
|
127
|
-
summary:
|
|
128
|
-
attendance:
|
|
129
|
-
recordingUrl:
|
|
130
|
-
orgId:
|
|
131
|
-
createdAt:
|
|
132
|
-
updatedAt:
|
|
133
|
-
ritual:
|
|
134
|
-
}> |
|
|
135
|
-
id:
|
|
136
|
-
spaceId:
|
|
137
|
-
title:
|
|
138
|
-
body:
|
|
139
|
-
audience:
|
|
140
|
-
audienceRole:
|
|
141
|
-
pinnedUntil:
|
|
142
|
-
orgId:
|
|
143
|
-
createdBy:
|
|
144
|
-
createdAt:
|
|
145
|
-
expiresAt:
|
|
80
|
+
declare const teamHubEntities: (_contractspec_lib_schema121.EntitySpec<{
|
|
81
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
82
|
+
name: _contractspec_lib_schema121.EntityScalarField;
|
|
83
|
+
description: _contractspec_lib_schema121.EntityScalarField;
|
|
84
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
85
|
+
ownerId: _contractspec_lib_schema121.EntityScalarField;
|
|
86
|
+
members: _contractspec_lib_schema121.EntityScalarField;
|
|
87
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
88
|
+
updatedAt: _contractspec_lib_schema121.EntityScalarField;
|
|
89
|
+
tasks: _contractspec_lib_schema121.EntityRelationField;
|
|
90
|
+
rituals: _contractspec_lib_schema121.EntityRelationField;
|
|
91
|
+
announcements: _contractspec_lib_schema121.EntityRelationField;
|
|
92
|
+
}> | _contractspec_lib_schema121.EntitySpec<{
|
|
93
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
94
|
+
spaceId: _contractspec_lib_schema121.EntityScalarField;
|
|
95
|
+
title: _contractspec_lib_schema121.EntityScalarField;
|
|
96
|
+
description: _contractspec_lib_schema121.EntityScalarField;
|
|
97
|
+
status: _contractspec_lib_schema121.EntityEnumField;
|
|
98
|
+
priority: _contractspec_lib_schema121.EntityEnumField;
|
|
99
|
+
assigneeId: _contractspec_lib_schema121.EntityScalarField;
|
|
100
|
+
dueDate: _contractspec_lib_schema121.EntityScalarField;
|
|
101
|
+
tags: _contractspec_lib_schema121.EntityScalarField;
|
|
102
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
103
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
104
|
+
updatedAt: _contractspec_lib_schema121.EntityScalarField;
|
|
105
|
+
space: _contractspec_lib_schema121.EntityRelationField;
|
|
106
|
+
}> | _contractspec_lib_schema121.EntitySpec<{
|
|
107
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
108
|
+
spaceId: _contractspec_lib_schema121.EntityScalarField;
|
|
109
|
+
title: _contractspec_lib_schema121.EntityScalarField;
|
|
110
|
+
cadence: _contractspec_lib_schema121.EntityEnumField;
|
|
111
|
+
dayOfWeek: _contractspec_lib_schema121.EntityScalarField;
|
|
112
|
+
time: _contractspec_lib_schema121.EntityScalarField;
|
|
113
|
+
facilitatorId: _contractspec_lib_schema121.EntityScalarField;
|
|
114
|
+
participants: _contractspec_lib_schema121.EntityScalarField;
|
|
115
|
+
location: _contractspec_lib_schema121.EntityScalarField;
|
|
116
|
+
agendaTemplate: _contractspec_lib_schema121.EntityScalarField;
|
|
117
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
118
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
119
|
+
updatedAt: _contractspec_lib_schema121.EntityScalarField;
|
|
120
|
+
occurrences: _contractspec_lib_schema121.EntityRelationField;
|
|
121
|
+
space: _contractspec_lib_schema121.EntityRelationField;
|
|
122
|
+
}> | _contractspec_lib_schema121.EntitySpec<{
|
|
123
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
124
|
+
ritualId: _contractspec_lib_schema121.EntityScalarField;
|
|
125
|
+
scheduledFor: _contractspec_lib_schema121.EntityScalarField;
|
|
126
|
+
status: _contractspec_lib_schema121.EntityScalarField;
|
|
127
|
+
summary: _contractspec_lib_schema121.EntityScalarField;
|
|
128
|
+
attendance: _contractspec_lib_schema121.EntityScalarField;
|
|
129
|
+
recordingUrl: _contractspec_lib_schema121.EntityScalarField;
|
|
130
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
131
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
132
|
+
updatedAt: _contractspec_lib_schema121.EntityScalarField;
|
|
133
|
+
ritual: _contractspec_lib_schema121.EntityRelationField;
|
|
134
|
+
}> | _contractspec_lib_schema121.EntitySpec<{
|
|
135
|
+
id: _contractspec_lib_schema121.EntityScalarField;
|
|
136
|
+
spaceId: _contractspec_lib_schema121.EntityScalarField;
|
|
137
|
+
title: _contractspec_lib_schema121.EntityScalarField;
|
|
138
|
+
body: _contractspec_lib_schema121.EntityScalarField;
|
|
139
|
+
audience: _contractspec_lib_schema121.EntityEnumField;
|
|
140
|
+
audienceRole: _contractspec_lib_schema121.EntityScalarField;
|
|
141
|
+
pinnedUntil: _contractspec_lib_schema121.EntityScalarField;
|
|
142
|
+
orgId: _contractspec_lib_schema121.EntityScalarField;
|
|
143
|
+
createdBy: _contractspec_lib_schema121.EntityScalarField;
|
|
144
|
+
createdAt: _contractspec_lib_schema121.EntityScalarField;
|
|
145
|
+
expiresAt: _contractspec_lib_schema121.EntityScalarField;
|
|
146
146
|
}>)[];
|
|
147
147
|
declare const teamHubSchemaContribution: ModuleSchemaContribution;
|
|
148
148
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/entities/index.ts"],"sourcesContent":[],"mappings":";;;;cAUa,gBAKX,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/entities/index.ts"],"sourcesContent":[],"mappings":";;;;cAUa,gBAKX,2BAAA,CALyB;cAOd,kBAKX,2BAAA,CAL2B;cAOhB,mBAKX,2BAAA,CAL4B;AAdjB,cAqBA,wBAhBX,EAqBA,2BAAA,CALmC,aAhBnC;AAEW,cAqBA,WAhBX,8BAgBsB,UAhBtB,CAAA;EAEW,EAAA,EAoCX,2BAAA,CAAA,iBA/BA;EAEW,IAAA,+CAKX;EAEW,WAAA,+CAsBX;EAAA,KAAA,+CAAA;;;;;;;;;cAEW,wCAAU;MAyCrB,2BAAA,CAAA;wDAjEsB;EAAA,KAAA,+CAAA;EAwBX,WAAA,+CAyCX;EAAA,MAAA,6CAAA;;;;;;;;;;cAEW,0CAAY;MAmCvB,2BAAA,CAAA;;sDA9EqB;EAAA,OAAA,6CAAA;EA2CV,SAAA,+CAmCX;EAAA,IAAA,+CAAA;;;;;;;;;;;cAEW,oDAAsB;MAkCjC,2BAAA,CAAA;;;uDAvEuB;EAAA,OAAA,+CAAA;EAqCZ,UAAA,+CAkCX;EAAA,YAAA,+CAAA;;;;;;cAEW,gDAAkB;MAgC7B,2BAAA,CAAA;;;;uDApEiC;EAAA,YAAA,+CAAA;EAoCtB,WAAA,+CAgCX;EAAA,KAAA,+CAAA;;;;;cAEW,8CAAe;MAM3B,2BAAA,CAAA;;;;;wDAxC8B;EAAA,SAAA,+CAAA;EAkClB,SAAA,+CAMZ;EAAA,KAAA,iDAAA;;;;MAN2B,2BAAA,CAAA;;;;;;;wDAAA;EAAA,IAAA,+CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQf,2BAA2B"}
|
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema257 from "@contractspec/lib.schema";
|
|
2
2
|
import * as _contractspec_lib_contracts12 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: _contractspec_lib_contracts12.OperationSpec<
|
|
8
|
+
declare const ScheduleRitualContract: _contractspec_lib_contracts12.OperationSpec<_contractspec_lib_schema257.SchemaModel<{
|
|
9
9
|
spaceId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
title: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
cadence: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
dayOfWeek: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
time: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
facilitatorId: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _contractspec_lib_schema257.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
spaceId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
title: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
cadence: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
dayOfWeek: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
time: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
}>, undefined>;
|
|
59
59
|
/**
|
|
60
60
|
* Log ritual occurrence.
|
|
61
61
|
*/
|
|
62
|
-
declare const LogRitualOccurrenceContract: _contractspec_lib_contracts12.OperationSpec<
|
|
62
|
+
declare const LogRitualOccurrenceContract: _contractspec_lib_contracts12.OperationSpec<_contractspec_lib_schema257.SchemaModel<{
|
|
63
63
|
ritualId: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
scheduledFor: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema257.FieldType<Date, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
status: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
summary: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
77
77
|
isOptional: true;
|
|
78
78
|
};
|
|
79
|
-
}>,
|
|
79
|
+
}>, _contractspec_lib_schema257.SchemaModel<{
|
|
80
80
|
id: {
|
|
81
|
-
type:
|
|
81
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
spaceId: {
|
|
85
|
-
type:
|
|
85
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
title: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
cadence: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
dayOfWeek: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
time: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema257.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
}>, undefined>;
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema283 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/ritual/ritual.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Recurring ritual.
|
|
6
6
|
*/
|
|
7
|
-
declare const RitualModel:
|
|
7
|
+
declare const RitualModel: _contractspec_lib_schema283.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
spaceId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
title: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
cadence: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
dayOfWeek: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
time: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
34
34
|
* Input for scheduling a ritual.
|
|
35
35
|
*/
|
|
36
|
-
declare const ScheduleRitualInputModel:
|
|
36
|
+
declare const ScheduleRitualInputModel: _contractspec_lib_schema283.SchemaModel<{
|
|
37
37
|
spaceId: {
|
|
38
|
-
type:
|
|
38
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
title: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
cadence: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
dayOfWeek: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
time: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
facilitatorId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
62
62
|
/**
|
|
63
63
|
* Input for logging ritual occurrence.
|
|
64
64
|
*/
|
|
65
|
-
declare const LogRitualOccurrenceInputModel:
|
|
65
|
+
declare const LogRitualOccurrenceInputModel: _contractspec_lib_schema283.SchemaModel<{
|
|
66
66
|
ritualId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
scheduledFor: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema283.FieldType<Date, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
status: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
summary: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema283.FieldType<string, string>;
|
|
80
80
|
isOptional: true;
|
|
81
81
|
};
|
|
82
82
|
}>;
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema89 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_schema89.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
spaceId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
title: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
status: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
priority: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
assigneeId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
dueDate: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema89.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_schema89.SchemaModel<{
|
|
41
41
|
spaceId: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
title: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
description: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
priority: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
assigneeId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
dueDate: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema89.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_schema89.SchemaModel<{
|
|
70
70
|
taskId: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
status: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema89.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.team-hub",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.2",
|
|
4
4
|
"description": "Team Hub example with spaces, tasks, rituals, and announcements",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"lint:check": "eslint src"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@contractspec/lib.schema": "1.46.
|
|
22
|
-
"@contractspec/lib.contracts": "1.46.
|
|
21
|
+
"@contractspec/lib.schema": "1.46.2",
|
|
22
|
+
"@contractspec/lib.contracts": "1.46.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@contractspec/tool.typescript": "1.46.
|
|
26
|
-
"@contractspec/tool.tsdown": "1.46.
|
|
25
|
+
"@contractspec/tool.typescript": "1.46.2",
|
|
26
|
+
"@contractspec/tool.tsdown": "1.46.2",
|
|
27
27
|
"typescript": "^5.9.3"
|
|
28
28
|
},
|
|
29
29
|
"exports": {
|