@lssm/example.versioned-knowledge-base 1.42.8 → 1.42.10

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.
@@ -31,9 +31,9 @@ $ tsdown
31
31
  ℹ dist/events.d.ts.map 0.68 kB │ gzip: 0.28 kB
32
32
  ℹ dist/versioned-knowledge-base.feature.d.ts.map 0.18 kB │ gzip: 0.14 kB
33
33
  ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
34
- ℹ dist/operations/kb.d.ts 7.13 kB │ gzip: 0.63 kB
34
+ ℹ dist/operations/kb.d.ts 7.06 kB │ gzip: 0.63 kB
35
35
  ℹ dist/entities/models.d.ts 3.58 kB │ gzip: 0.51 kB
36
- ℹ dist/events.d.ts 1.94 kB │ gzip: 0.38 kB
36
+ ℹ dist/events.d.ts 1.96 kB │ gzip: 0.39 kB
37
37
  ℹ dist/handlers/memory.handlers.d.ts 1.94 kB │ gzip: 0.61 kB
38
38
  ℹ dist/index.d.ts 1.18 kB │ gzip: 0.35 kB
39
39
  ℹ dist/example.d.ts 1.13 kB │ gzip: 0.46 kB
@@ -43,5 +43,5 @@ $ tsdown
43
43
  ℹ dist/handlers/index.d.ts 0.20 kB │ gzip: 0.10 kB
44
44
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
45
45
  ℹ dist/docs/versioned-knowledge-base.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
46
- ℹ 37 files, total: 76.79 kB
47
- ✔ Build complete in 24271ms
46
+ ℹ 37 files, total: 76.73 kB
47
+ ✔ Build complete in 18797ms
@@ -29,12 +29,12 @@ $ tsdown
29
29
  ℹ dist/handlers/memory.handlers.d.ts.map 1.17 kB │ gzip: 0.53 kB
30
30
  ℹ dist/operations/kb.d.ts.map 1.13 kB │ gzip: 0.39 kB
31
31
  ℹ dist/entities/models.d.ts.map 0.70 kB │ gzip: 0.32 kB
32
- ℹ dist/events.d.ts.map 0.67 kB │ gzip: 0.28 kB
32
+ ℹ dist/events.d.ts.map 0.68 kB │ gzip: 0.28 kB
33
33
  ℹ dist/versioned-knowledge-base.feature.d.ts.map 0.18 kB │ gzip: 0.14 kB
34
34
  ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
35
35
  ℹ dist/operations/kb.d.ts 7.06 kB │ gzip: 0.63 kB
36
36
  ℹ dist/entities/models.d.ts 3.58 kB │ gzip: 0.51 kB
37
- ℹ dist/events.d.ts 1.98 kB │ gzip: 0.39 kB
37
+ ℹ dist/events.d.ts 1.96 kB │ gzip: 0.39 kB
38
38
  ℹ dist/handlers/memory.handlers.d.ts 1.94 kB │ gzip: 0.61 kB
39
39
  ℹ dist/index.d.ts 1.18 kB │ gzip: 0.35 kB
40
40
  ℹ dist/example.d.ts 1.13 kB │ gzip: 0.46 kB
@@ -44,5 +44,5 @@ $ tsdown
44
44
  ℹ dist/handlers/index.d.ts 0.20 kB │ gzip: 0.10 kB
45
45
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
46
46
  ℹ dist/docs/versioned-knowledge-base.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
47
- ℹ 37 files, total: 76.75 kB
48
- ✔ Build complete in 24707ms
47
+ ℹ 37 files, total: 76.73 kB
48
+ ✔ Build complete in 24738ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @lssm/example.versioned-knowledge-base
2
2
 
3
+ ## 1.42.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 1e6a0f1: fix: mcp server
8
+ - Updated dependencies [1e6a0f1]
9
+ - @lssm/lib.contracts@1.42.10
10
+ - @lssm/lib.schema@1.42.10
11
+
12
+ ## 1.42.9
13
+
14
+ ### Patch Changes
15
+
16
+ - 9281db7: fix ModelRegistry
17
+ - Updated dependencies [9281db7]
18
+ - @lssm/lib.contracts@1.42.9
19
+ - @lssm/lib.schema@1.42.9
20
+
3
21
  ## 1.42.8
4
22
 
5
23
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # `@lssm/example.versioned-knowledge-base`
2
2
 
3
- Website: https://contractspec.lssm.tech/
3
+ Website: https://contractspec.io/
4
4
 
5
5
 
6
6
  Spec-first example demonstrating a **curated, versioned knowledge base**:
@@ -1,93 +1,93 @@
1
- import * as _lssm_lib_schema15 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema84 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/entities/models.d.ts
4
- declare const SourceDocumentModel: _lssm_lib_schema15.SchemaModel<{
4
+ declare const SourceDocumentModel: _lssm_lib_schema84.SchemaModel<{
5
5
  id: {
6
- type: _lssm_lib_schema15.FieldType<string, string>;
6
+ type: _lssm_lib_schema84.FieldType<string, string>;
7
7
  isOptional: false;
8
8
  };
9
9
  jurisdiction: {
10
- type: _lssm_lib_schema15.FieldType<string, string>;
10
+ type: _lssm_lib_schema84.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  authority: {
14
- type: _lssm_lib_schema15.FieldType<string, string>;
14
+ type: _lssm_lib_schema84.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  title: {
18
- type: _lssm_lib_schema15.FieldType<string, string>;
18
+ type: _lssm_lib_schema84.FieldType<string, string>;
19
19
  isOptional: false;
20
20
  };
21
21
  fetchedAt: {
22
- type: _lssm_lib_schema15.FieldType<Date, string>;
22
+ type: _lssm_lib_schema84.FieldType<Date, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  hash: {
26
- type: _lssm_lib_schema15.FieldType<string, string>;
26
+ type: _lssm_lib_schema84.FieldType<string, string>;
27
27
  isOptional: false;
28
28
  };
29
29
  fileId: {
30
- type: _lssm_lib_schema15.FieldType<string, string>;
30
+ type: _lssm_lib_schema84.FieldType<string, string>;
31
31
  isOptional: false;
32
32
  };
33
33
  }>;
34
- declare const SourceRefModel: _lssm_lib_schema15.SchemaModel<{
34
+ declare const SourceRefModel: _lssm_lib_schema84.SchemaModel<{
35
35
  sourceDocumentId: {
36
- type: _lssm_lib_schema15.FieldType<string, string>;
36
+ type: _lssm_lib_schema84.FieldType<string, string>;
37
37
  isOptional: false;
38
38
  };
39
39
  excerpt: {
40
- type: _lssm_lib_schema15.FieldType<string, string>;
40
+ type: _lssm_lib_schema84.FieldType<string, string>;
41
41
  isOptional: true;
42
42
  };
43
43
  }>;
44
- declare const RuleModel: _lssm_lib_schema15.SchemaModel<{
44
+ declare const RuleModel: _lssm_lib_schema84.SchemaModel<{
45
45
  id: {
46
- type: _lssm_lib_schema15.FieldType<string, string>;
46
+ type: _lssm_lib_schema84.FieldType<string, string>;
47
47
  isOptional: false;
48
48
  };
49
49
  jurisdiction: {
50
- type: _lssm_lib_schema15.FieldType<string, string>;
50
+ type: _lssm_lib_schema84.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  topicKey: {
54
- type: _lssm_lib_schema15.FieldType<string, string>;
54
+ type: _lssm_lib_schema84.FieldType<string, string>;
55
55
  isOptional: false;
56
56
  };
57
57
  }>;
58
- declare const RuleVersionModel: _lssm_lib_schema15.SchemaModel<{
58
+ declare const RuleVersionModel: _lssm_lib_schema84.SchemaModel<{
59
59
  id: {
60
- type: _lssm_lib_schema15.FieldType<string, string>;
60
+ type: _lssm_lib_schema84.FieldType<string, string>;
61
61
  isOptional: false;
62
62
  };
63
63
  ruleId: {
64
- type: _lssm_lib_schema15.FieldType<string, string>;
64
+ type: _lssm_lib_schema84.FieldType<string, string>;
65
65
  isOptional: false;
66
66
  };
67
67
  jurisdiction: {
68
- type: _lssm_lib_schema15.FieldType<string, string>;
68
+ type: _lssm_lib_schema84.FieldType<string, string>;
69
69
  isOptional: false;
70
70
  };
71
71
  topicKey: {
72
- type: _lssm_lib_schema15.FieldType<string, string>;
72
+ type: _lssm_lib_schema84.FieldType<string, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  version: {
76
- type: _lssm_lib_schema15.FieldType<number, number>;
76
+ type: _lssm_lib_schema84.FieldType<number, number>;
77
77
  isOptional: false;
78
78
  };
79
79
  content: {
80
- type: _lssm_lib_schema15.FieldType<string, string>;
80
+ type: _lssm_lib_schema84.FieldType<string, string>;
81
81
  isOptional: false;
82
82
  };
83
83
  sourceRefs: {
84
- type: _lssm_lib_schema15.SchemaModel<{
84
+ type: _lssm_lib_schema84.SchemaModel<{
85
85
  sourceDocumentId: {
86
- type: _lssm_lib_schema15.FieldType<string, string>;
86
+ type: _lssm_lib_schema84.FieldType<string, string>;
87
87
  isOptional: false;
88
88
  };
89
89
  excerpt: {
90
- type: _lssm_lib_schema15.FieldType<string, string>;
90
+ type: _lssm_lib_schema84.FieldType<string, string>;
91
91
  isOptional: true;
92
92
  };
93
93
  }>;
@@ -95,42 +95,42 @@ declare const RuleVersionModel: _lssm_lib_schema15.SchemaModel<{
95
95
  isOptional: false;
96
96
  };
97
97
  status: {
98
- type: _lssm_lib_schema15.FieldType<string, string>;
98
+ type: _lssm_lib_schema84.FieldType<string, string>;
99
99
  isOptional: false;
100
100
  };
101
101
  approvedBy: {
102
- type: _lssm_lib_schema15.FieldType<string, string>;
102
+ type: _lssm_lib_schema84.FieldType<string, string>;
103
103
  isOptional: true;
104
104
  };
105
105
  approvedAt: {
106
- type: _lssm_lib_schema15.FieldType<Date, string>;
106
+ type: _lssm_lib_schema84.FieldType<Date, string>;
107
107
  isOptional: true;
108
108
  };
109
109
  createdAt: {
110
- type: _lssm_lib_schema15.FieldType<Date, string>;
110
+ type: _lssm_lib_schema84.FieldType<Date, string>;
111
111
  isOptional: false;
112
112
  };
113
113
  }>;
114
- declare const KBSnapshotModel: _lssm_lib_schema15.SchemaModel<{
114
+ declare const KBSnapshotModel: _lssm_lib_schema84.SchemaModel<{
115
115
  id: {
116
- type: _lssm_lib_schema15.FieldType<string, string>;
116
+ type: _lssm_lib_schema84.FieldType<string, string>;
117
117
  isOptional: false;
118
118
  };
119
119
  jurisdiction: {
120
- type: _lssm_lib_schema15.FieldType<string, string>;
120
+ type: _lssm_lib_schema84.FieldType<string, string>;
121
121
  isOptional: false;
122
122
  };
123
123
  asOfDate: {
124
- type: _lssm_lib_schema15.FieldType<Date, string>;
124
+ type: _lssm_lib_schema84.FieldType<Date, string>;
125
125
  isOptional: false;
126
126
  };
127
127
  includedRuleVersionIds: {
128
- type: _lssm_lib_schema15.FieldType<string, string>;
128
+ type: _lssm_lib_schema84.FieldType<string, string>;
129
129
  isArray: true;
130
130
  isOptional: false;
131
131
  };
132
132
  publishedAt: {
133
- type: _lssm_lib_schema15.FieldType<Date, string>;
133
+ type: _lssm_lib_schema84.FieldType<Date, string>;
134
134
  isOptional: false;
135
135
  };
136
136
  }>;
package/dist/events.d.ts CHANGED
@@ -1,60 +1,60 @@
1
- import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
2
- import * as _lssm_lib_schema0 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_contracts4 from "@lssm/lib.contracts";
2
+ import * as _lssm_lib_schema68 from "@lssm/lib.schema";
3
3
 
4
4
  //#region src/events.d.ts
5
- declare const KbSourceIngestedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
5
+ declare const KbSourceIngestedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema68.SchemaModel<{
6
6
  sourceDocumentId: {
7
- type: _lssm_lib_schema0.FieldType<string, string>;
7
+ type: _lssm_lib_schema68.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  jurisdiction: {
11
- type: _lssm_lib_schema0.FieldType<string, string>;
11
+ type: _lssm_lib_schema68.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  hash: {
15
- type: _lssm_lib_schema0.FieldType<string, string>;
15
+ type: _lssm_lib_schema68.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  }>>;
19
- declare const KbRuleVersionCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
19
+ declare const KbRuleVersionCreatedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema68.SchemaModel<{
20
20
  ruleVersionId: {
21
- type: _lssm_lib_schema0.FieldType<string, string>;
21
+ type: _lssm_lib_schema68.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  ruleId: {
25
- type: _lssm_lib_schema0.FieldType<string, string>;
25
+ type: _lssm_lib_schema68.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  jurisdiction: {
29
- type: _lssm_lib_schema0.FieldType<string, string>;
29
+ type: _lssm_lib_schema68.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  status: {
33
- type: _lssm_lib_schema0.FieldType<string, string>;
33
+ type: _lssm_lib_schema68.FieldType<string, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  }>>;
37
- declare const KbRuleVersionApprovedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
37
+ declare const KbRuleVersionApprovedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema68.SchemaModel<{
38
38
  ruleVersionId: {
39
- type: _lssm_lib_schema0.FieldType<string, string>;
39
+ type: _lssm_lib_schema68.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  approver: {
43
- type: _lssm_lib_schema0.FieldType<string, string>;
43
+ type: _lssm_lib_schema68.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  }>>;
47
- declare const KbSnapshotPublishedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
47
+ declare const KbSnapshotPublishedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema68.SchemaModel<{
48
48
  snapshotId: {
49
- type: _lssm_lib_schema0.FieldType<string, string>;
49
+ type: _lssm_lib_schema68.FieldType<string, string>;
50
50
  isOptional: false;
51
51
  };
52
52
  jurisdiction: {
53
- type: _lssm_lib_schema0.FieldType<string, string>;
53
+ type: _lssm_lib_schema68.FieldType<string, string>;
54
54
  isOptional: false;
55
55
  };
56
56
  includedRuleVersionsCount: {
57
- type: _lssm_lib_schema0.FieldType<number, number>;
57
+ type: _lssm_lib_schema68.FieldType<number, number>;
58
58
  isOptional: false;
59
59
  };
60
60
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAgBa,uBAAqB,oBAAA,CAAA,4BAAA;;UAUhC,iBAAA,CAAA;;EAVW,CAAA;EAUX,YAAA,EAAA;;;;EAVgC,IAAA,EAAA;IAAA,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IA0BrB,UAAA,EAAA,KAAA;EAUX,CAAA;;cAVW,2BAAyB,oBAAA,CAAA,4BAAA;;UAUpC,iBAAA,CAAA,SAVoC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAwBzB,MAAA,EAAA;IAUX,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;EAVqC,YAAA,EAAA;IAAA,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAyB1B,UAAA,EAAA,KAAA;EAUX,CAAA;;;gBAVmC,KAAA;EAAA,CAAA;CAAA,CAAA,CAAA;cAzBxB,4BAA0B,oBAAA,CAAA,4BAAA;;UAUrC,iBAAA,CAAA;;;;;;;;cAeW,0BAAwB,oBAAA,CAAA,4BAAA;;UAUnC,iBAAA,CAAA"}
1
+ {"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAgBa,uBAAqB,oBAAA,CAAA,6BAAA;;UAUhC,kBAAA,CAAA;;EAVW,CAAA;EAUX,YAAA,EAAA;;;;EAVgC,IAAA,EAAA;IAAA,IAAA,8BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IA0BrB,UAAA,EAAA,KAAA;EAUX,CAAA;;cAVW,2BAAyB,oBAAA,CAAA,6BAAA;;UAUpC,kBAAA,CAAA,SAVoC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAwBzB,MAAA,EAAA;IAUX,IAAA,8BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;EAVqC,YAAA,EAAA;IAAA,IAAA,8BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAyB1B,UAAA,EAAA,KAAA;EAUX,CAAA;;;gBAVmC,KAAA;EAAA,CAAA;CAAA,CAAA,CAAA;cAzBxB,4BAA0B,oBAAA,CAAA,6BAAA;;UAUrC,kBAAA,CAAA;;;;;;;;cAeW,0BAAwB,oBAAA,CAAA,6BAAA;;UAUnC,kBAAA,CAAA"}