@lssm/example.team-hub 0.0.0-canary-20251220041653 → 0.0.0-canary-20251221132705
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 +15 -15
- package/dist/announcement/announcement.contracts.d.ts.map +1 -1
- package/dist/announcement/announcement.contracts.js +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/libs/contracts/dist/_virtual/rolldown_runtime.js +6 -0
- package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js.map +1 -0
- package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
- package/dist/libs/contracts/dist/data-views.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +6 -6
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/features.js +1 -0
- package/dist/libs/contracts/dist/forms.js +1 -0
- package/dist/libs/contracts/dist/index.js +14 -1
- package/dist/libs/contracts/dist/index.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/contracts.js +1 -1
- package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +1 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -1
- package/dist/libs/contracts/dist/llm/exporters.js.map +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/libs/contracts/dist/{spec.js → operation.js} +2 -2
- package/dist/libs/contracts/dist/operation.js.map +1 -0
- package/dist/libs/contracts/dist/presentations.js +1 -0
- package/dist/libs/contracts/dist/registry-utils.js +24 -0
- package/dist/libs/contracts/dist/registry-utils.js.map +1 -0
- package/dist/libs/contracts/dist/registry.js +1 -0
- package/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/contracts/dist/workflow/spec.js +1 -0
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +122 -0
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -0
- package/dist/libs/contracts/dist/workspace-config/index.js +1 -0
- package/dist/ritual/ritual.contracts.d.ts +27 -27
- package/dist/ritual/ritual.contracts.d.ts.map +1 -1
- package/dist/ritual/ritual.contracts.js +1 -1
- package/dist/ritual/ritual.schema.d.ts +20 -20
- package/dist/space/space.contracts.d.ts +12 -12
- package/dist/space/space.contracts.d.ts.map +1 -1
- package/dist/space/space.contracts.js +1 -1
- package/dist/space/space.schema.d.ts +12 -12
- package/dist/task/task.contracts.d.ts +3 -3
- package/dist/task/task.contracts.d.ts.map +1 -1
- package/dist/task/task.contracts.js +1 -1
- package/package.json +14 -14
- package/dist/libs/contracts/dist/spec.js.map +0 -1
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as z$1 from "zod";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/workspace-config/contractsrc-schema.js
|
|
4
|
+
/**
|
|
5
|
+
* ContractSpec configuration schema definitions.
|
|
6
|
+
*
|
|
7
|
+
* These schemas define the structure of .contractsrc.json files
|
|
8
|
+
* and are shared across CLI tools and libraries.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* OpenAPI source configuration for import/sync/validate operations.
|
|
12
|
+
*/
|
|
13
|
+
const OpenApiSourceConfigSchema = z$1.object({
|
|
14
|
+
name: z$1.string(),
|
|
15
|
+
url: z$1.url().optional(),
|
|
16
|
+
file: z$1.string().optional(),
|
|
17
|
+
syncMode: z$1.enum([
|
|
18
|
+
"import",
|
|
19
|
+
"sync",
|
|
20
|
+
"validate"
|
|
21
|
+
]).default("validate"),
|
|
22
|
+
tags: z$1.array(z$1.string()).optional(),
|
|
23
|
+
exclude: z$1.array(z$1.string()).optional(),
|
|
24
|
+
include: z$1.array(z$1.string()).optional(),
|
|
25
|
+
prefix: z$1.string().optional(),
|
|
26
|
+
defaultStability: z$1.enum([
|
|
27
|
+
"experimental",
|
|
28
|
+
"beta",
|
|
29
|
+
"stable",
|
|
30
|
+
"deprecated"
|
|
31
|
+
]).optional(),
|
|
32
|
+
defaultAuth: z$1.enum([
|
|
33
|
+
"anonymous",
|
|
34
|
+
"user",
|
|
35
|
+
"admin"
|
|
36
|
+
]).optional(),
|
|
37
|
+
defaultOwners: z$1.array(z$1.string()).optional()
|
|
38
|
+
});
|
|
39
|
+
const OpenApiExportConfigSchema = z$1.object({
|
|
40
|
+
outputPath: z$1.string().default("./openapi.json"),
|
|
41
|
+
format: z$1.enum(["json", "yaml"]).default("json"),
|
|
42
|
+
title: z$1.string().optional(),
|
|
43
|
+
version: z$1.string().optional(),
|
|
44
|
+
description: z$1.string().optional(),
|
|
45
|
+
servers: z$1.array(z$1.object({
|
|
46
|
+
url: z$1.string(),
|
|
47
|
+
description: z$1.string().optional()
|
|
48
|
+
})).optional()
|
|
49
|
+
});
|
|
50
|
+
/**
|
|
51
|
+
* OpenAPI configuration section.
|
|
52
|
+
*/
|
|
53
|
+
const OpenApiConfigSchema = z$1.object({
|
|
54
|
+
sources: z$1.array(OpenApiSourceConfigSchema).optional(),
|
|
55
|
+
export: OpenApiExportConfigSchema.optional()
|
|
56
|
+
});
|
|
57
|
+
/**
|
|
58
|
+
* Grouping strategy for organizing specs.
|
|
59
|
+
*/
|
|
60
|
+
const GroupingStrategySchema = z$1.enum([
|
|
61
|
+
"by-tag",
|
|
62
|
+
"by-owner",
|
|
63
|
+
"by-domain",
|
|
64
|
+
"by-url-path-single",
|
|
65
|
+
"by-url-path-multi",
|
|
66
|
+
"by-feature",
|
|
67
|
+
"none"
|
|
68
|
+
]);
|
|
69
|
+
/**
|
|
70
|
+
* Grouping rule configuration.
|
|
71
|
+
*/
|
|
72
|
+
const GroupingRuleSchema = z$1.object({
|
|
73
|
+
strategy: GroupingStrategySchema,
|
|
74
|
+
urlPathLevel: z$1.number().optional(),
|
|
75
|
+
pattern: z$1.string().optional()
|
|
76
|
+
});
|
|
77
|
+
/**
|
|
78
|
+
* Output directory conventions for generated specs.
|
|
79
|
+
*/
|
|
80
|
+
const FolderConventionsSchema = z$1.object({
|
|
81
|
+
models: z$1.string().default("models"),
|
|
82
|
+
operations: z$1.string().default("operations/commands|queries"),
|
|
83
|
+
events: z$1.string().default("events"),
|
|
84
|
+
presentations: z$1.string().default("presentations"),
|
|
85
|
+
forms: z$1.string().default("forms"),
|
|
86
|
+
groupByFeature: z$1.boolean().default(true),
|
|
87
|
+
operationsGrouping: GroupingRuleSchema.optional(),
|
|
88
|
+
modelsGrouping: GroupingRuleSchema.optional(),
|
|
89
|
+
eventsGrouping: GroupingRuleSchema.optional()
|
|
90
|
+
});
|
|
91
|
+
/**
|
|
92
|
+
* Full ContractSpec configuration schema (.contractsrc.json).
|
|
93
|
+
*/
|
|
94
|
+
const ContractsrcSchema = z$1.object({
|
|
95
|
+
aiProvider: z$1.enum([
|
|
96
|
+
"claude",
|
|
97
|
+
"openai",
|
|
98
|
+
"ollama",
|
|
99
|
+
"custom"
|
|
100
|
+
]).default("claude"),
|
|
101
|
+
aiModel: z$1.string().optional(),
|
|
102
|
+
agentMode: z$1.enum([
|
|
103
|
+
"simple",
|
|
104
|
+
"cursor",
|
|
105
|
+
"claude-code",
|
|
106
|
+
"openai-codex"
|
|
107
|
+
]).default("simple"),
|
|
108
|
+
customEndpoint: z$1.url().nullable().optional(),
|
|
109
|
+
customApiKey: z$1.string().nullable().optional(),
|
|
110
|
+
outputDir: z$1.string().default("./src"),
|
|
111
|
+
conventions: FolderConventionsSchema,
|
|
112
|
+
defaultOwners: z$1.array(z$1.string()).default([]),
|
|
113
|
+
defaultTags: z$1.array(z$1.string()).default([]),
|
|
114
|
+
packages: z$1.array(z$1.string()).optional(),
|
|
115
|
+
excludePackages: z$1.array(z$1.string()).optional(),
|
|
116
|
+
recursive: z$1.boolean().optional(),
|
|
117
|
+
openapi: OpenApiConfigSchema.optional()
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
//#endregion
|
|
121
|
+
export { FolderConventionsSchema, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema };
|
|
122
|
+
//# sourceMappingURL=contractsrc-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contractsrc-schema.js","names":[],"sources":["../../../../../../../libs/contracts/dist/workspace-config/contractsrc-schema.js"],"sourcesContent":["import * as z$1 from \"zod\";\n\n//#region src/workspace-config/contractsrc-schema.ts\n/**\n* ContractSpec configuration schema definitions.\n*\n* These schemas define the structure of .contractsrc.json files\n* and are shared across CLI tools and libraries.\n*/\n/**\n* OpenAPI source configuration for import/sync/validate operations.\n*/\nconst OpenApiSourceConfigSchema = z$1.object({\n\tname: z$1.string(),\n\turl: z$1.url().optional(),\n\tfile: z$1.string().optional(),\n\tsyncMode: z$1.enum([\n\t\t\"import\",\n\t\t\"sync\",\n\t\t\"validate\"\n\t]).default(\"validate\"),\n\ttags: z$1.array(z$1.string()).optional(),\n\texclude: z$1.array(z$1.string()).optional(),\n\tinclude: z$1.array(z$1.string()).optional(),\n\tprefix: z$1.string().optional(),\n\tdefaultStability: z$1.enum([\n\t\t\"experimental\",\n\t\t\"beta\",\n\t\t\"stable\",\n\t\t\"deprecated\"\n\t]).optional(),\n\tdefaultAuth: z$1.enum([\n\t\t\"anonymous\",\n\t\t\"user\",\n\t\t\"admin\"\n\t]).optional(),\n\tdefaultOwners: z$1.array(z$1.string()).optional()\n});\nconst OpenApiExportConfigSchema = z$1.object({\n\toutputPath: z$1.string().default(\"./openapi.json\"),\n\tformat: z$1.enum([\"json\", \"yaml\"]).default(\"json\"),\n\ttitle: z$1.string().optional(),\n\tversion: z$1.string().optional(),\n\tdescription: z$1.string().optional(),\n\tservers: z$1.array(z$1.object({\n\t\turl: z$1.string(),\n\t\tdescription: z$1.string().optional()\n\t})).optional()\n});\n/**\n* OpenAPI configuration section.\n*/\nconst OpenApiConfigSchema = z$1.object({\n\tsources: z$1.array(OpenApiSourceConfigSchema).optional(),\n\texport: OpenApiExportConfigSchema.optional()\n});\n/**\n* Grouping strategy for organizing specs.\n*/\nconst GroupingStrategySchema = z$1.enum([\n\t\"by-tag\",\n\t\"by-owner\",\n\t\"by-domain\",\n\t\"by-url-path-single\",\n\t\"by-url-path-multi\",\n\t\"by-feature\",\n\t\"none\"\n]);\n/**\n* Grouping rule configuration.\n*/\nconst GroupingRuleSchema = z$1.object({\n\tstrategy: GroupingStrategySchema,\n\turlPathLevel: z$1.number().optional(),\n\tpattern: z$1.string().optional()\n});\n/**\n* Output directory conventions for generated specs.\n*/\nconst FolderConventionsSchema = z$1.object({\n\tmodels: z$1.string().default(\"models\"),\n\toperations: z$1.string().default(\"operations/commands|queries\"),\n\tevents: z$1.string().default(\"events\"),\n\tpresentations: z$1.string().default(\"presentations\"),\n\tforms: z$1.string().default(\"forms\"),\n\tgroupByFeature: z$1.boolean().default(true),\n\toperationsGrouping: GroupingRuleSchema.optional(),\n\tmodelsGrouping: GroupingRuleSchema.optional(),\n\teventsGrouping: GroupingRuleSchema.optional()\n});\n/**\n* Full ContractSpec configuration schema (.contractsrc.json).\n*/\nconst ContractsrcSchema = z$1.object({\n\taiProvider: z$1.enum([\n\t\t\"claude\",\n\t\t\"openai\",\n\t\t\"ollama\",\n\t\t\"custom\"\n\t]).default(\"claude\"),\n\taiModel: z$1.string().optional(),\n\tagentMode: z$1.enum([\n\t\t\"simple\",\n\t\t\"cursor\",\n\t\t\"claude-code\",\n\t\t\"openai-codex\"\n\t]).default(\"simple\"),\n\tcustomEndpoint: z$1.url().nullable().optional(),\n\tcustomApiKey: z$1.string().nullable().optional(),\n\toutputDir: z$1.string().default(\"./src\"),\n\tconventions: FolderConventionsSchema,\n\tdefaultOwners: z$1.array(z$1.string()).default([]),\n\tdefaultTags: z$1.array(z$1.string()).default([]),\n\tpackages: z$1.array(z$1.string()).optional(),\n\texcludePackages: z$1.array(z$1.string()).optional(),\n\trecursive: z$1.boolean().optional(),\n\topenapi: OpenApiConfigSchema.optional()\n});\n/**\n* Default configuration values.\n*/\nconst DEFAULT_CONTRACTSRC = {\n\taiProvider: \"claude\",\n\tagentMode: \"simple\",\n\toutputDir: \"./src\",\n\tconventions: {\n\t\tmodels: \"models\",\n\t\toperations: \"interactions/commands|queries\",\n\t\tevents: \"events\",\n\t\tpresentations: \"presentations\",\n\t\tforms: \"forms\",\n\t\tgroupByFeature: true\n\t},\n\tdefaultOwners: [],\n\tdefaultTags: []\n};\n\n//#endregion\nexport { ContractsrcSchema, DEFAULT_CONTRACTSRC, FolderConventionsSchema, GroupingRuleSchema, GroupingStrategySchema, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema };"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { FolderConventionsSchema, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema } from "./contractsrc-schema.js";
|
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema257 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts12 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/ritual/ritual.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Schedule a ritual.
|
|
7
7
|
*/
|
|
8
|
-
declare const ScheduleRitualContract: _lssm_lib_contracts12.
|
|
8
|
+
declare const ScheduleRitualContract: _lssm_lib_contracts12.OperationSpec<_lssm_lib_schema257.SchemaModel<{
|
|
9
9
|
spaceId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
title: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
cadence: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
dayOfWeek: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
time: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
facilitatorId: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema257.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
spaceId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
title: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
cadence: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
dayOfWeek: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
time: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_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: _lssm_lib_contracts12.
|
|
62
|
+
declare const LogRitualOccurrenceContract: _lssm_lib_contracts12.OperationSpec<_lssm_lib_schema257.SchemaModel<{
|
|
63
63
|
ritualId: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
scheduledFor: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema257.FieldType<Date, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
status: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
summary: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
77
77
|
isOptional: true;
|
|
78
78
|
};
|
|
79
|
-
}>,
|
|
79
|
+
}>, _lssm_lib_schema257.SchemaModel<{
|
|
80
80
|
id: {
|
|
81
|
-
type:
|
|
81
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
spaceId: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
title: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
cadence: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
dayOfWeek: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
time: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ritual.contracts.d.ts","names":[],"sources":["../../src/ritual/ritual.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAYa,8CAAsB,
|
|
1
|
+
{"version":3,"file":"ritual.contracts.d.ts","names":[],"sources":["../../src/ritual/ritual.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAYa,8CAAsB,kCAAA;EAAtB,OAAA,EAAA;IAgBX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAhBiC,OAAA,EAAA;;;;;;;;EAAA,IAAA,EAAA;IAqBtB,IAAA,+BAgBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;CAhBsC,CAAA,iCAAA,CAAA;;UArBL,mBAAA,CAAA;;;;;qBAqBK;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;cAA3B,mDAA2B,kCAAA;;UAgBtC,mBAAA,CAAA;;;;;;;;;;;;;;;;;UAhBsC,mBAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCommand } from "../libs/contracts/dist/
|
|
1
|
+
import { defineCommand } from "../libs/contracts/dist/operation.js";
|
|
2
2
|
import "../libs/contracts/dist/index.js";
|
|
3
3
|
import { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel } from "./ritual.schema.js";
|
|
4
4
|
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema283 from "@lssm/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: _lssm_lib_schema283.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
spaceId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
title: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
cadence: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
dayOfWeek: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
time: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_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: _lssm_lib_schema283.SchemaModel<{
|
|
37
37
|
spaceId: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
title: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
cadence: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
dayOfWeek: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
time: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
facilitatorId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_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: _lssm_lib_schema283.SchemaModel<{
|
|
66
66
|
ritualId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
scheduledFor: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema283.FieldType<Date, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
status: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
summary: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
80
80
|
isOptional: true;
|
|
81
81
|
};
|
|
82
82
|
}>;
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema313 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts14 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/space/space.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new team space.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateSpaceContract: _lssm_lib_contracts14.
|
|
8
|
+
declare const CreateSpaceContract: _lssm_lib_contracts14.OperationSpec<_lssm_lib_schema313.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
description: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
orgId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
ownerId: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
|
-
}>,
|
|
25
|
+
}>, _lssm_lib_schema313.SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
name: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
description: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
orgId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
ownerId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.contracts.d.ts","names":[],"sources":["../../src/space/space.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAQa,2CAAmB,
|
|
1
|
+
{"version":3,"file":"space.contracts.d.ts","names":[],"sources":["../../src/space/space.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAQa,2CAAmB,kCAAA;EAAnB,IAAA,EAAA;IAgBX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;uCAhB8B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;UAAA,mBAAA,CAAA"}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema302 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/space/space.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Team space/project.
|
|
6
6
|
*/
|
|
7
|
-
declare const SpaceModel:
|
|
7
|
+
declare const SpaceModel: _lssm_lib_schema302.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
description: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
orgId: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
ownerId: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
}>;
|
|
29
29
|
/**
|
|
30
30
|
* Input for creating a space.
|
|
31
31
|
*/
|
|
32
|
-
declare const CreateSpaceInputModel:
|
|
32
|
+
declare const CreateSpaceInputModel: _lssm_lib_schema302.SchemaModel<{
|
|
33
33
|
name: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
description: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
39
39
|
isOptional: true;
|
|
40
40
|
};
|
|
41
41
|
orgId: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
ownerId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
}>;
|
|
@@ -64,7 +64,7 @@ declare const ListTasksOutputModel: _lssm_lib_schema324.SchemaModel<{
|
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
}>;
|
|
67
|
-
declare const ListTasksOperation: _lssm_lib_contracts15.
|
|
67
|
+
declare const ListTasksOperation: _lssm_lib_contracts15.OperationSpec<_lssm_lib_schema324.SchemaModel<{
|
|
68
68
|
spaceId: {
|
|
69
69
|
type: _lssm_lib_schema324.FieldType<string, string>;
|
|
70
70
|
isOptional: true;
|
|
@@ -128,7 +128,7 @@ declare const ListTasksOperation: _lssm_lib_contracts15.ContractSpec<_lssm_lib_s
|
|
|
128
128
|
/**
|
|
129
129
|
* Create a task.
|
|
130
130
|
*/
|
|
131
|
-
declare const CreateTaskContract: _lssm_lib_contracts15.
|
|
131
|
+
declare const CreateTaskContract: _lssm_lib_contracts15.OperationSpec<_lssm_lib_schema324.SchemaModel<{
|
|
132
132
|
spaceId: {
|
|
133
133
|
type: _lssm_lib_schema324.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
@@ -186,7 +186,7 @@ declare const CreateTaskContract: _lssm_lib_contracts15.ContractSpec<_lssm_lib_s
|
|
|
186
186
|
/**
|
|
187
187
|
* Update task status.
|
|
188
188
|
*/
|
|
189
|
-
declare const UpdateTaskStatusContract: _lssm_lib_contracts15.
|
|
189
|
+
declare const UpdateTaskStatusContract: _lssm_lib_contracts15.OperationSpec<_lssm_lib_schema324.SchemaModel<{
|
|
190
190
|
taskId: {
|
|
191
191
|
type: _lssm_lib_schema324.FieldType<string, string>;
|
|
192
192
|
isOptional: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.contracts.d.ts","names":[],"sources":["../../src/task/task.contracts.ts"],"sourcesContent":[],"mappings":";;;;cAYa,yCAAmB;;UAU9B,mBAAA,CAAA;;EAVW,CAAA;EAUX,MAAA,EAAA;;;;;uCAV8B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;EAYnB,CAAA;EAOX,KAAA,EAAA;;;;;;;;;cAPW,0CAAoB;;IAAA,IAAA,iCAAA,CAAA;MASpB,EAAA,EAAA;QAgBX,IAAA,EAlBA,mBAAA,CAAA,SAkBA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;kBAhB6B,EAAA,KAAA;MAAA,CAAA;;;;;;;;;;;kBAAA,EAAA,KAAA;MAAA,CAAA;MAuBlB,UAAA,EAAA;QAgBX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;IAhB6B,UAAA,EAAA,KAAA;;;;;;;;cAvBlB,0CAAkB,
|
|
1
|
+
{"version":3,"file":"task.contracts.d.ts","names":[],"sources":["../../src/task/task.contracts.ts"],"sourcesContent":[],"mappings":";;;;cAYa,yCAAmB;;UAU9B,mBAAA,CAAA;;EAVW,CAAA;EAUX,MAAA,EAAA;;;;;uCAV8B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;EAYnB,CAAA;EAOX,KAAA,EAAA;;;;;;;;;cAPW,0CAAoB;;IAAA,IAAA,iCAAA,CAAA;MASpB,EAAA,EAAA;QAgBX,IAAA,EAlBA,mBAAA,CAAA,SAkBA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;kBAhB6B,EAAA,KAAA;MAAA,CAAA;;;;;;;;;;;kBAAA,EAAA,KAAA;MAAA,CAAA;MAuBlB,UAAA,EAAA;QAgBX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;IAhB6B,UAAA,EAAA,KAAA;;;;;;;;cAvBlB,0CAAkB,kCAAA;;IAuBA,IAAA,EAP7B,mBAAA,CAAA,SAO6B,CAAA,MAAA,EAAA,MAAA,CAAA;IAqBlB,UAAA,EAAA,IAAA;EAgBX,CAAA;;uCAhBmC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;;EAAA,MAAA,EAAA;;;;;;;;cA5CN,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBlB,0CAAkB,kCAAA;;UAgB7B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;UAhB6B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqBlB,gDAAwB,kCAAA;;UAgBnC,mBAAA,CAAA;;;;;;;;;UAhBmC,mBAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E5, K5 } from "../libs/schema/dist/index.js";
|
|
2
|
-
import { defineCommand, defineQuery } from "../libs/contracts/dist/
|
|
2
|
+
import { defineCommand, defineQuery } from "../libs/contracts/dist/operation.js";
|
|
3
3
|
import "../libs/contracts/dist/index.js";
|
|
4
4
|
import { CreateTaskInputModel, TaskModel, UpdateTaskStatusInputModel } from "./task.schema.js";
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.team-hub",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251221132705",
|
|
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
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
22
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
23
|
-
"@lssm/lib.bus": "0.0.0-canary-
|
|
24
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
25
|
-
"@lssm/lib.jobs": "0.0.0-canary-
|
|
26
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
27
|
-
"@lssm/module.notifications": "0.0.0-canary-
|
|
21
|
+
"@lssm/lib.schema": "0.0.0-canary-20251221132705",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251221132705",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251221132705",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251221132705",
|
|
25
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251221132705",
|
|
26
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251221132705",
|
|
27
|
+
"@lssm/module.notifications": "0.0.0-canary-20251221132705",
|
|
28
28
|
"zod": "^4.1.13"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
32
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
31
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251221132705",
|
|
32
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251221132705",
|
|
33
33
|
"typescript": "^5.9.3"
|
|
34
34
|
},
|
|
35
35
|
"exports": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"exports": {
|
|
67
67
|
".": "./dist/index.js",
|
|
68
68
|
"./announcement": "./dist/announcement/index.js",
|
|
69
|
-
"./announcement/announcement.contracts": "./dist/announcement/announcement.
|
|
69
|
+
"./announcement/announcement.contracts": "./dist/announcement/announcement.operations.js",
|
|
70
70
|
"./announcement/announcement.schema": "./dist/announcement/announcement.schema.js",
|
|
71
71
|
"./docs": "./dist/docs/index.js",
|
|
72
72
|
"./docs/team-hub.docblock": "./dist/docs/team-hub.docblock.js",
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
"./handlers": "./dist/handlers/index.js",
|
|
77
77
|
"./presentations": "./dist/presentations/index.js",
|
|
78
78
|
"./ritual": "./dist/ritual/index.js",
|
|
79
|
-
"./ritual/ritual.contracts": "./dist/ritual/ritual.
|
|
79
|
+
"./ritual/ritual.contracts": "./dist/ritual/ritual.operations.js",
|
|
80
80
|
"./ritual/ritual.schema": "./dist/ritual/ritual.schema.js",
|
|
81
81
|
"./space": "./dist/space/index.js",
|
|
82
|
-
"./space/space.contracts": "./dist/space/space.
|
|
82
|
+
"./space/space.contracts": "./dist/space/space.operations.js",
|
|
83
83
|
"./space/space.schema": "./dist/space/space.schema.js",
|
|
84
84
|
"./task": "./dist/task/index.js",
|
|
85
|
-
"./task/task.contracts": "./dist/task/task.
|
|
85
|
+
"./task/task.contracts": "./dist/task/task.operations.js",
|
|
86
86
|
"./task/task.schema": "./dist/task/task.schema.js",
|
|
87
87
|
"./team-hub.feature": "./dist/team-hub.feature.js",
|
|
88
88
|
"./*": "./*"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spec.js","names":[],"sources":["../../../../../../libs/contracts/dist/spec.js"],"sourcesContent":["//#region src/spec.ts\nconst isEmitDeclRef = (e) => \"ref\" in e;\n/**\n* Helper to define a Command (write operation).\n* Sets `kind: 'command'` and defaults `idempotent: false`.\n*/\nconst defineCommand = (spec) => ({\n\t...spec,\n\tmeta: {\n\t\t...spec.meta,\n\t\tkind: \"command\"\n\t},\n\tpolicy: {\n\t\t...spec.policy,\n\t\tidempotent: spec.policy?.[\"policy\"]?.idempotent ?? false\n\t}\n});\n/**\n* Helper to define a Query (read-only operation).\n* Sets `kind: 'query'` and forces `idempotent: true`.\n*/\nconst defineQuery = (spec) => ({\n\t...spec,\n\tmeta: {\n\t\t...spec.meta,\n\t\tkind: \"query\"\n\t},\n\tpolicy: {\n\t\t...spec.policy,\n\t\tidempotent: true\n\t}\n});\n\n//#endregion\nexport { defineCommand, defineQuery, isEmitDeclRef };"],"mappings":";;;;;AAMA,MAAM,iBAAiB,UAAU;CAChC,GAAG;CACH,MAAM;EACL,GAAG,KAAK;EACR,MAAM;EACN;CACD,QAAQ;EACP,GAAG,KAAK;EACR,YAAY,KAAK,SAAS,WAAW,cAAc;EACnD;CACD;;;;;AAKD,MAAM,eAAe,UAAU;CAC9B,GAAG;CACH,MAAM;EACL,GAAG,KAAK;EACR,MAAM;EACN;CACD,QAAQ;EACP,GAAG,KAAK;EACR,YAAY;EACZ;CACD"}
|