@contractspec/example.team-hub 1.44.0 → 1.44.1
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.
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema93 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_schema93.SchemaModel<{
|
|
9
9
|
title: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
body: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
audience: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
audienceRole: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
spaceId: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
expiresAt: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema93.FieldType<Date, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _contractspec_lib_schema93.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
title: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
body: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
audience: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
audienceRole: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema93.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
spaceId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema93.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
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"announcement.schema.d.ts","names":[],"sources":["../../src/announcement/announcement.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,iBAWX,
|
|
1
|
+
{"version":3,"file":"announcement.schema.d.ts","names":[],"sources":["../../src/announcement/announcement.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,iBAWX,8BAX4B,WAW5B,CAAA;EAAA,EAAA,EAAA;UAAA,2BAAA,CAAA;;;;;;EAX4B,CAAA;EAgBjB,IAAA,EAAA;IAWX,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;IAXqC,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;cAA1B,wDAA0B;;UAWrC,2BAAA,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.team-hub",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.1",
|
|
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,18 +18,18 @@
|
|
|
18
18
|
"lint:check": "eslint src"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@contractspec/lib.schema": "1.44.
|
|
22
|
-
"@contractspec/lib.contracts": "1.44.
|
|
23
|
-
"@contractspec/lib.bus": "1.44.
|
|
24
|
-
"@contractspec/lib.identity-rbac": "1.44.
|
|
25
|
-
"@contractspec/lib.jobs": "1.44.
|
|
26
|
-
"@contractspec/module.audit-trail": "1.44.
|
|
27
|
-
"@contractspec/module.notifications": "1.44.
|
|
21
|
+
"@contractspec/lib.schema": "1.44.1",
|
|
22
|
+
"@contractspec/lib.contracts": "1.44.1",
|
|
23
|
+
"@contractspec/lib.bus": "1.44.1",
|
|
24
|
+
"@contractspec/lib.identity-rbac": "1.44.1",
|
|
25
|
+
"@contractspec/lib.jobs": "1.44.1",
|
|
26
|
+
"@contractspec/module.audit-trail": "1.44.1",
|
|
27
|
+
"@contractspec/module.notifications": "1.44.1",
|
|
28
28
|
"zod": "^4.1.13"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@contractspec/tool.typescript": "1.44.
|
|
32
|
-
"@contractspec/tool.tsdown": "1.44.
|
|
31
|
+
"@contractspec/tool.typescript": "1.44.1",
|
|
32
|
+
"@contractspec/tool.tsdown": "1.44.1",
|
|
33
33
|
"typescript": "^5.9.3"
|
|
34
34
|
},
|
|
35
35
|
"exports": {
|