@lssm/example.team-hub 0.0.0-canary-20251217063201 → 0.0.0-canary-20251217073102
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.contracts.d.ts +16 -16
- package/dist/announcement/announcement.contracts.js +33 -1
- package/dist/announcement/announcement.schema.d.ts +15 -15
- package/dist/announcement/announcement.schema.js +74 -1
- package/dist/announcement/index.js +4 -1
- package/dist/docs/index.js +1 -1
- package/dist/docs/team-hub.docblock.js +61 -5
- package/dist/entities/index.d.ts +137 -137
- package/dist/entities/index.js +263 -1
- package/dist/events.d.ts +78 -78
- package/dist/events.js +162 -1
- package/dist/example.js +50 -1
- package/dist/handlers/index.js +8 -1
- package/dist/index.js +14 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +88 -1
- package/dist/libs/contracts/dist/client/index.js +5 -1
- package/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +4 -1
- package/dist/libs/contracts/dist/client/react/index.js +4 -1
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +60 -1
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +16 -76
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +16 -350
- package/dist/libs/contracts/dist/docs/index.js +29 -1
- package/dist/libs/contracts/dist/docs/presentations.js +71 -1
- package/dist/libs/contracts/dist/docs/registry.js +44 -1
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +16 -383
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +16 -68
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +16 -140
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +16 -86
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +16 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +24 -2
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +21 -2
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +16 -213
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +73 -5
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +37 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +16 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +20 -262
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +48 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +24 -2
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +23 -2
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +25 -16
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +67 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +22 -2
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +40 -36
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +47 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +23 -2
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +36 -3
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +20 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +36 -3
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +20 -1
- package/dist/libs/contracts/dist/events.js +10 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -1
- package/dist/libs/contracts/dist/index.js +71 -1
- package/dist/libs/contracts/dist/install.js +2 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +377 -1
- package/dist/libs/contracts/dist/integrations/index.js +18 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +228 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +159 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +3 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +210 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +242 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +13 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +52 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +75 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +87 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +66 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +11 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +68 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +68 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +116 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +73 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +10 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +83 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +61 -1
- package/dist/libs/contracts/dist/jsonschema.js +1 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +306 -1
- package/dist/libs/contracts/dist/knowledge/index.js +7 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +38 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +6 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +34 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +37 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +34 -1
- package/dist/libs/contracts/dist/llm/exporters.js +19 -1
- package/dist/libs/contracts/dist/llm/index.js +2 -1
- package/dist/libs/contracts/dist/llm/prompts.js +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js +196 -1
- package/dist/libs/contracts/dist/openapi.js +1 -1
- package/dist/libs/contracts/dist/ownership.js +21 -1
- package/dist/libs/contracts/dist/presentations.js +1 -1
- package/dist/libs/contracts/dist/presentations.v2.js +11 -1
- package/dist/libs/contracts/dist/prompt.js +1 -1
- package/dist/libs/contracts/dist/promptRegistry.js +1 -1
- package/dist/libs/contracts/dist/regenerator/index.js +1 -1
- package/dist/libs/contracts/dist/regenerator/service.js +6 -1
- package/dist/libs/contracts/dist/registry.js +2 -1
- package/dist/libs/contracts/dist/resources.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +2 -1
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +49 -1
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +236 -1
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +34 -1
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +2 -1
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +6 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +6 -1
- package/dist/libs/contracts/dist/server/index.js +8 -1
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +4 -1
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +2 -1
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +2 -1
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -1
- package/dist/libs/contracts/dist/server/rest-express.js +1 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -1
- package/dist/libs/contracts/dist/spec.js +34 -1
- package/dist/libs/contracts/dist/telemetry/index.js +1 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -1
- package/dist/libs/contracts/dist/tests/index.js +1 -1
- package/dist/libs/contracts/dist/tests/runner.js +2 -1
- package/dist/libs/contracts/dist/workflow/index.js +1 -1
- package/dist/libs/contracts/dist/workflow/runner.js +1 -1
- package/dist/libs/schema/dist/EnumType.js +2 -1
- package/dist/libs/schema/dist/FieldType.js +49 -1
- package/dist/libs/schema/dist/ScalarTypeEnum.js +236 -1
- package/dist/libs/schema/dist/SchemaModel.js +39 -1
- package/dist/libs/schema/dist/entity/defineEntity.js +236 -1
- package/dist/libs/schema/dist/entity/index.js +2 -1
- package/dist/libs/schema/dist/entity/types.js +1 -1
- package/dist/libs/schema/dist/index.js +6 -1
- package/dist/presentations/index.js +12 -1
- package/dist/presentations.js +127 -1
- package/dist/ritual/index.js +4 -1
- package/dist/ritual/ritual.contracts.d.ts +28 -28
- package/dist/ritual/ritual.contracts.js +57 -1
- package/dist/ritual/ritual.schema.d.ts +20 -20
- package/dist/ritual/ritual.schema.js +99 -1
- package/dist/space/index.js +4 -1
- package/dist/space/space.contracts.d.ts +13 -13
- package/dist/space/space.contracts.js +33 -1
- package/dist/space/space.schema.d.ts +12 -12
- package/dist/space/space.schema.js +62 -1
- package/dist/task/index.js +4 -1
- package/dist/task/task.contracts.d.ts +60 -60
- package/dist/task/task.contracts.js +123 -1
- package/dist/task/task.schema.d.ts +19 -19
- package/dist/task/task.schema.js +95 -1
- package/dist/team-hub.feature.js +157 -1
- package/package.json +10 -10
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema123 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts5 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/announcement/announcement.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Post an announcement.
|
|
7
7
|
*/
|
|
8
|
-
declare const PostAnnouncementContract:
|
|
8
|
+
declare const PostAnnouncementContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_schema123.SchemaModel<{
|
|
9
9
|
title: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
body: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
audience: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
audienceRole: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
spaceId: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
expiresAt: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema123.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
title: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
body: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
audience: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
audienceRole: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
spaceId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
}>, undefined>;
|
|
@@ -1 +1,33 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import { defineCommand } from "../libs/contracts/dist/spec.js";
|
|
2
|
+
import "../libs/contracts/dist/index.js";
|
|
3
|
+
import { AnnouncementModel, PostAnnouncementInputModel } from "./announcement.schema.js";
|
|
4
|
+
|
|
5
|
+
//#region src/announcement/announcement.contracts.ts
|
|
6
|
+
const OWNERS = ["@examples.team-hub"];
|
|
7
|
+
/**
|
|
8
|
+
* Post an announcement.
|
|
9
|
+
*/
|
|
10
|
+
const PostAnnouncementContract = defineCommand({
|
|
11
|
+
meta: {
|
|
12
|
+
name: "team.announcement.post",
|
|
13
|
+
version: 1,
|
|
14
|
+
stability: "stable",
|
|
15
|
+
owners: [...OWNERS],
|
|
16
|
+
tags: [
|
|
17
|
+
"team-hub",
|
|
18
|
+
"announcement",
|
|
19
|
+
"post"
|
|
20
|
+
],
|
|
21
|
+
description: "Post an announcement.",
|
|
22
|
+
goal: "Communicate with team.",
|
|
23
|
+
context: "Communication."
|
|
24
|
+
},
|
|
25
|
+
io: {
|
|
26
|
+
input: PostAnnouncementInputModel,
|
|
27
|
+
output: AnnouncementModel
|
|
28
|
+
},
|
|
29
|
+
policy: { auth: "user" }
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { PostAnnouncementContract };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema232 from "@lssm/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: _lssm_lib_schema232.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
title: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
body: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
audience: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
audienceRole: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
spaceId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema232.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: _lssm_lib_schema232.SchemaModel<{
|
|
37
37
|
title: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
body: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
audience: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
audienceRole: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
spaceId: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema232.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
expiresAt: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema232.FieldType<Date, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
@@ -1 +1,74 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import { ScalarTypeEnum } from "../libs/schema/dist/ScalarTypeEnum.js";
|
|
2
|
+
import { defineSchemaModel } from "../libs/schema/dist/SchemaModel.js";
|
|
3
|
+
import "../libs/schema/dist/index.js";
|
|
4
|
+
|
|
5
|
+
//#region src/announcement/announcement.schema.ts
|
|
6
|
+
/**
|
|
7
|
+
* Announcement to spaces/org.
|
|
8
|
+
*/
|
|
9
|
+
const AnnouncementModel = defineSchemaModel({
|
|
10
|
+
name: "Announcement",
|
|
11
|
+
description: "Announcement to spaces/org",
|
|
12
|
+
fields: {
|
|
13
|
+
id: {
|
|
14
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
15
|
+
isOptional: false
|
|
16
|
+
},
|
|
17
|
+
title: {
|
|
18
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
19
|
+
isOptional: false
|
|
20
|
+
},
|
|
21
|
+
body: {
|
|
22
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
23
|
+
isOptional: false
|
|
24
|
+
},
|
|
25
|
+
audience: {
|
|
26
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
27
|
+
isOptional: false
|
|
28
|
+
},
|
|
29
|
+
audienceRole: {
|
|
30
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
31
|
+
isOptional: true
|
|
32
|
+
},
|
|
33
|
+
spaceId: {
|
|
34
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
35
|
+
isOptional: true
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
/**
|
|
40
|
+
* Input for posting an announcement.
|
|
41
|
+
*/
|
|
42
|
+
const PostAnnouncementInputModel = defineSchemaModel({
|
|
43
|
+
name: "PostAnnouncementInput",
|
|
44
|
+
description: "Post an announcement",
|
|
45
|
+
fields: {
|
|
46
|
+
title: {
|
|
47
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
48
|
+
isOptional: false
|
|
49
|
+
},
|
|
50
|
+
body: {
|
|
51
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
52
|
+
isOptional: false
|
|
53
|
+
},
|
|
54
|
+
audience: {
|
|
55
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
56
|
+
isOptional: false
|
|
57
|
+
},
|
|
58
|
+
audienceRole: {
|
|
59
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
60
|
+
isOptional: true
|
|
61
|
+
},
|
|
62
|
+
spaceId: {
|
|
63
|
+
type: ScalarTypeEnum.String_unsecure(),
|
|
64
|
+
isOptional: true
|
|
65
|
+
},
|
|
66
|
+
expiresAt: {
|
|
67
|
+
type: ScalarTypeEnum.DateTime(),
|
|
68
|
+
isOptional: true
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
//#endregion
|
|
74
|
+
export { AnnouncementModel, PostAnnouncementInputModel };
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
import{AnnouncementModel
|
|
1
|
+
import { AnnouncementModel, PostAnnouncementInputModel } from "./announcement.schema.js";
|
|
2
|
+
import { PostAnnouncementContract } from "./announcement.contracts.js";
|
|
3
|
+
|
|
4
|
+
export { AnnouncementModel, PostAnnouncementContract, PostAnnouncementInputModel };
|
package/dist/docs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./team-hub.docblock.js";
|
|
1
|
+
import "./team-hub.docblock.js";
|
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import { registerDocBlocks } from "../libs/contracts/dist/docs/registry.js";
|
|
2
|
+
import "../libs/contracts/dist/docs/index.js";
|
|
3
|
+
|
|
4
|
+
//#region src/docs/team-hub.docblock.ts
|
|
5
|
+
registerDocBlocks([
|
|
6
|
+
{
|
|
7
|
+
id: "docs.examples.team-hub",
|
|
8
|
+
title: "Team Hub",
|
|
9
|
+
summary: "Internal collaboration hub with spaces, tasks, rituals, and announcements.",
|
|
10
|
+
kind: "reference",
|
|
11
|
+
visibility: "public",
|
|
12
|
+
route: "/docs/examples/team-hub",
|
|
13
|
+
tags: [
|
|
14
|
+
"tasks",
|
|
15
|
+
"rituals",
|
|
16
|
+
"announcements",
|
|
17
|
+
"collaboration"
|
|
18
|
+
],
|
|
19
|
+
body: `## Domains
|
|
2
20
|
|
|
3
21
|
- Spaces/projects with members and roles.
|
|
4
22
|
- Tasks with status, priority, assignees, due dates.
|
|
@@ -13,7 +31,17 @@ import{a as e}from"../libs/contracts/dist/docs/registry.js";import"../libs/contr
|
|
|
13
31
|
|
|
14
32
|
## Presentations
|
|
15
33
|
- Dashboard, space list, task board/detail, ritual calendar, announcement feed.
|
|
16
|
-
`
|
|
34
|
+
`
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: "docs.examples.team-hub.goal",
|
|
38
|
+
title: "Team Hub — Goal",
|
|
39
|
+
summary: "Why this collaboration hub exists and outcomes it targets.",
|
|
40
|
+
kind: "goal",
|
|
41
|
+
visibility: "public",
|
|
42
|
+
route: "/docs/examples/team-hub/goal",
|
|
43
|
+
tags: ["collaboration", "goal"],
|
|
44
|
+
body: `## Why it matters
|
|
17
45
|
- Provides a regenerable hub for spaces, tasks, rituals, and announcements.
|
|
18
46
|
- Keeps ceremonies and task flows consistent across UI/API/events.
|
|
19
47
|
|
|
@@ -23,7 +51,17 @@ import{a as e}from"../libs/contracts/dist/docs/registry.js";import"../libs/contr
|
|
|
23
51
|
|
|
24
52
|
## Success criteria
|
|
25
53
|
- Tasks/rituals/announcements regenerate safely from spec updates.
|
|
26
|
-
- Notifications and audit hooks fire for key transitions.`
|
|
54
|
+
- Notifications and audit hooks fire for key transitions.`
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "docs.examples.team-hub.usage",
|
|
58
|
+
title: "Team Hub — Usage",
|
|
59
|
+
summary: "How to set up spaces, tasks, and rituals and regenerate safely.",
|
|
60
|
+
kind: "usage",
|
|
61
|
+
visibility: "public",
|
|
62
|
+
route: "/docs/examples/team-hub/usage",
|
|
63
|
+
tags: ["collaboration", "usage"],
|
|
64
|
+
body: `## Setup
|
|
27
65
|
1) Seed (if available) or create a space; add members and tasks; schedule rituals.
|
|
28
66
|
2) Configure Notifications for rituals/reminders and announcements; use Jobs for scheduling.
|
|
29
67
|
|
|
@@ -35,7 +73,21 @@ import{a as e}from"../libs/contracts/dist/docs/registry.js";import"../libs/contr
|
|
|
35
73
|
## Guardrails
|
|
36
74
|
- Emit events for task/ritual/announcement changes; log in Audit Trail.
|
|
37
75
|
- Keep ritual cadence declarative; avoid hardcoded schedules.
|
|
38
|
-
- Ensure announcements carry title/description for accessibility.`
|
|
76
|
+
- Ensure announcements carry title/description for accessibility.`
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: "docs.examples.team-hub.constraints",
|
|
80
|
+
title: "Team Hub — Constraints & Safety",
|
|
81
|
+
summary: "Internal guardrails for rituals, tasks, and announcements regeneration.",
|
|
82
|
+
kind: "reference",
|
|
83
|
+
visibility: "internal",
|
|
84
|
+
route: "/docs/examples/team-hub/constraints",
|
|
85
|
+
tags: [
|
|
86
|
+
"collaboration",
|
|
87
|
+
"constraints",
|
|
88
|
+
"internal"
|
|
89
|
+
],
|
|
90
|
+
body: `## Constraints
|
|
39
91
|
- Ritual cadence and task states must stay declarative in spec; no hardcoded schedules.
|
|
40
92
|
- Events to emit: task.created/updated/completed, ritual.scheduled/completed, announcement.published.
|
|
41
93
|
- Regeneration should not drop reminders or announcements routing.
|
|
@@ -47,4 +99,8 @@ import{a as e}from"../libs/contracts/dist/docs/registry.js";import"../libs/contr
|
|
|
47
99
|
## Verification
|
|
48
100
|
- Add fixtures for ritual cadence changes and announcement targeting.
|
|
49
101
|
- Ensure Notifications/Jobs wiring persists after regeneration.
|
|
50
|
-
- Use Feature Flags to trial new boards/rituals with safe defaults.`
|
|
102
|
+
- Use Feature Flags to trial new boards/rituals with safe defaults.`
|
|
103
|
+
}
|
|
104
|
+
]);
|
|
105
|
+
|
|
106
|
+
//#endregion
|