@contractspec/example.versioned-knowledge-base 1.47.0 → 1.48.0

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,7 +1,7 @@
1
1
  $ tsdown
2
2
  ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
3
3
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/versioned-knowledge-base/tsdown.config.js
4
- ℹ entry: src/events.ts, src/example.ts, src/index.ts, src/versioned-knowledge-base.feature.ts, src/docs/index.ts, src/docs/versioned-knowledge-base.docblock.ts, src/entities/index.ts, src/entities/models.ts, src/handlers/index.ts, src/handlers/memory.handlers.ts, src/operations/index.ts, src/operations/kb.ts
4
+ ℹ entry: src/events.ts, src/example.ts, src/index.ts, src/versioned-knowledge-base.feature.ts, src/entities/index.ts, src/entities/models.ts, src/operations/index.ts, src/operations/kb.ts, src/docs/index.ts, src/docs/versioned-knowledge-base.docblock.ts, src/handlers/index.ts, src/handlers/memory.handlers.ts
5
5
  ℹ target: esnext
6
6
  ℹ tsconfig: tsconfig.json
7
7
  ℹ Build start
@@ -32,8 +32,8 @@ $ tsdown
32
32
  ℹ dist/versioned-knowledge-base.feature.d.ts.map 0.19 kB │ gzip: 0.15 kB
33
33
  ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
34
34
  ℹ dist/operations/kb.d.ts 7.75 kB │ gzip: 0.63 kB
35
- ℹ dist/entities/models.d.ts 3.84 kB │ gzip: 0.51 kB
36
- ℹ dist/events.d.ts 2.15 kB │ gzip: 0.39 kB
35
+ ℹ dist/entities/models.d.ts 3.88 kB │ gzip: 0.51 kB
36
+ ℹ dist/events.d.ts 2.14 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/versioned-knowledge-base.feature.d.ts 0.34 kB │ gzip: 0.20 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: 77.63 kB
47
- ✔ Build complete in 26439ms
46
+ ℹ 37 files, total: 77.65 kB
47
+ ✔ Build complete in 27836ms
@@ -34,7 +34,7 @@ $ tsdown
34
34
  ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
35
35
  ℹ dist/operations/kb.d.ts 7.68 kB │ gzip: 0.62 kB
36
36
  ℹ dist/entities/models.d.ts 3.88 kB │ gzip: 0.51 kB
37
- ℹ dist/events.d.ts 2.15 kB │ gzip: 0.39 kB
37
+ ℹ dist/events.d.ts 2.17 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/versioned-knowledge-base.feature.d.ts 0.34 kB │ gzip: 0.20 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: 77.59 kB
48
- ✔ Build complete in 28692ms
47
+ ℹ 37 files, total: 77.61 kB
48
+ ✔ Build complete in 26489ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @contractspec/example.versioned-knowledge-base
2
2
 
3
+ ## 1.48.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b0444a4: feat: reduce adoption's friction by allowing generation of contracts from an analyse of the codebase
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [b0444a4]
12
+ - @contractspec/lib.contracts@1.48.0
13
+ - @contractspec/lib.schema@1.48.0
14
+
3
15
  ## 1.47.0
4
16
 
5
17
  ### Minor Changes
@@ -1,93 +1,93 @@
1
- import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema15 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/entities/models.d.ts
4
- declare const SourceDocumentModel: _contractspec_lib_schema0.SchemaModel<{
4
+ declare const SourceDocumentModel: _contractspec_lib_schema15.SchemaModel<{
5
5
  id: {
6
- type: _contractspec_lib_schema0.FieldType<string, string>;
6
+ type: _contractspec_lib_schema15.FieldType<string, string>;
7
7
  isOptional: false;
8
8
  };
9
9
  jurisdiction: {
10
- type: _contractspec_lib_schema0.FieldType<string, string>;
10
+ type: _contractspec_lib_schema15.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  authority: {
14
- type: _contractspec_lib_schema0.FieldType<string, string>;
14
+ type: _contractspec_lib_schema15.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  title: {
18
- type: _contractspec_lib_schema0.FieldType<string, string>;
18
+ type: _contractspec_lib_schema15.FieldType<string, string>;
19
19
  isOptional: false;
20
20
  };
21
21
  fetchedAt: {
22
- type: _contractspec_lib_schema0.FieldType<Date, string>;
22
+ type: _contractspec_lib_schema15.FieldType<Date, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  hash: {
26
- type: _contractspec_lib_schema0.FieldType<string, string>;
26
+ type: _contractspec_lib_schema15.FieldType<string, string>;
27
27
  isOptional: false;
28
28
  };
29
29
  fileId: {
30
- type: _contractspec_lib_schema0.FieldType<string, string>;
30
+ type: _contractspec_lib_schema15.FieldType<string, string>;
31
31
  isOptional: false;
32
32
  };
33
33
  }>;
34
- declare const SourceRefModel: _contractspec_lib_schema0.SchemaModel<{
34
+ declare const SourceRefModel: _contractspec_lib_schema15.SchemaModel<{
35
35
  sourceDocumentId: {
36
- type: _contractspec_lib_schema0.FieldType<string, string>;
36
+ type: _contractspec_lib_schema15.FieldType<string, string>;
37
37
  isOptional: false;
38
38
  };
39
39
  excerpt: {
40
- type: _contractspec_lib_schema0.FieldType<string, string>;
40
+ type: _contractspec_lib_schema15.FieldType<string, string>;
41
41
  isOptional: true;
42
42
  };
43
43
  }>;
44
- declare const RuleModel: _contractspec_lib_schema0.SchemaModel<{
44
+ declare const RuleModel: _contractspec_lib_schema15.SchemaModel<{
45
45
  id: {
46
- type: _contractspec_lib_schema0.FieldType<string, string>;
46
+ type: _contractspec_lib_schema15.FieldType<string, string>;
47
47
  isOptional: false;
48
48
  };
49
49
  jurisdiction: {
50
- type: _contractspec_lib_schema0.FieldType<string, string>;
50
+ type: _contractspec_lib_schema15.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  topicKey: {
54
- type: _contractspec_lib_schema0.FieldType<string, string>;
54
+ type: _contractspec_lib_schema15.FieldType<string, string>;
55
55
  isOptional: false;
56
56
  };
57
57
  }>;
58
- declare const RuleVersionModel: _contractspec_lib_schema0.SchemaModel<{
58
+ declare const RuleVersionModel: _contractspec_lib_schema15.SchemaModel<{
59
59
  id: {
60
- type: _contractspec_lib_schema0.FieldType<string, string>;
60
+ type: _contractspec_lib_schema15.FieldType<string, string>;
61
61
  isOptional: false;
62
62
  };
63
63
  ruleId: {
64
- type: _contractspec_lib_schema0.FieldType<string, string>;
64
+ type: _contractspec_lib_schema15.FieldType<string, string>;
65
65
  isOptional: false;
66
66
  };
67
67
  jurisdiction: {
68
- type: _contractspec_lib_schema0.FieldType<string, string>;
68
+ type: _contractspec_lib_schema15.FieldType<string, string>;
69
69
  isOptional: false;
70
70
  };
71
71
  topicKey: {
72
- type: _contractspec_lib_schema0.FieldType<string, string>;
72
+ type: _contractspec_lib_schema15.FieldType<string, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  version: {
76
- type: _contractspec_lib_schema0.FieldType<string, string>;
76
+ type: _contractspec_lib_schema15.FieldType<string, string>;
77
77
  isOptional: false;
78
78
  };
79
79
  content: {
80
- type: _contractspec_lib_schema0.FieldType<string, string>;
80
+ type: _contractspec_lib_schema15.FieldType<string, string>;
81
81
  isOptional: false;
82
82
  };
83
83
  sourceRefs: {
84
- type: _contractspec_lib_schema0.SchemaModel<{
84
+ type: _contractspec_lib_schema15.SchemaModel<{
85
85
  sourceDocumentId: {
86
- type: _contractspec_lib_schema0.FieldType<string, string>;
86
+ type: _contractspec_lib_schema15.FieldType<string, string>;
87
87
  isOptional: false;
88
88
  };
89
89
  excerpt: {
90
- type: _contractspec_lib_schema0.FieldType<string, string>;
90
+ type: _contractspec_lib_schema15.FieldType<string, string>;
91
91
  isOptional: true;
92
92
  };
93
93
  }>;
@@ -95,42 +95,42 @@ declare const RuleVersionModel: _contractspec_lib_schema0.SchemaModel<{
95
95
  isOptional: false;
96
96
  };
97
97
  status: {
98
- type: _contractspec_lib_schema0.FieldType<string, string>;
98
+ type: _contractspec_lib_schema15.FieldType<string, string>;
99
99
  isOptional: false;
100
100
  };
101
101
  approvedBy: {
102
- type: _contractspec_lib_schema0.FieldType<string, string>;
102
+ type: _contractspec_lib_schema15.FieldType<string, string>;
103
103
  isOptional: true;
104
104
  };
105
105
  approvedAt: {
106
- type: _contractspec_lib_schema0.FieldType<Date, string>;
106
+ type: _contractspec_lib_schema15.FieldType<Date, string>;
107
107
  isOptional: true;
108
108
  };
109
109
  createdAt: {
110
- type: _contractspec_lib_schema0.FieldType<Date, string>;
110
+ type: _contractspec_lib_schema15.FieldType<Date, string>;
111
111
  isOptional: false;
112
112
  };
113
113
  }>;
114
- declare const KBSnapshotModel: _contractspec_lib_schema0.SchemaModel<{
114
+ declare const KBSnapshotModel: _contractspec_lib_schema15.SchemaModel<{
115
115
  id: {
116
- type: _contractspec_lib_schema0.FieldType<string, string>;
116
+ type: _contractspec_lib_schema15.FieldType<string, string>;
117
117
  isOptional: false;
118
118
  };
119
119
  jurisdiction: {
120
- type: _contractspec_lib_schema0.FieldType<string, string>;
120
+ type: _contractspec_lib_schema15.FieldType<string, string>;
121
121
  isOptional: false;
122
122
  };
123
123
  asOfDate: {
124
- type: _contractspec_lib_schema0.FieldType<Date, string>;
124
+ type: _contractspec_lib_schema15.FieldType<Date, string>;
125
125
  isOptional: false;
126
126
  };
127
127
  includedRuleVersionIds: {
128
- type: _contractspec_lib_schema0.FieldType<string, string>;
128
+ type: _contractspec_lib_schema15.FieldType<string, string>;
129
129
  isArray: true;
130
130
  isOptional: false;
131
131
  };
132
132
  publishedAt: {
133
- type: _contractspec_lib_schema0.FieldType<Date, string>;
133
+ type: _contractspec_lib_schema15.FieldType<Date, string>;
134
134
  isOptional: false;
135
135
  };
136
136
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","names":[],"sources":["../../src/entities/models.ts"],"sourcesContent":[],"mappings":";;;cAEa,+CAAmB;;UAa9B,yBAAA,CAAA;IAbW,UAAA,EAAA,KAAA;EAaX,CAAA;;;;;;;;;EAb8B,KAAA,EAAA;IAenB,IAAA,qCAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;IAVyB,IAAA,qCAAA,KAAA,EAAA,MAAA,CAAA;IAYd,UASX,EAAA,KAAA;EAAA,CAAA;;;;EAToB,CAAA;EAWT,MAAA,EAAA;IAiBX,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;cAxCW,0CAAc;;UAUzB,yBAAA,CAAA;;;;;;;;cAEW,qCAAS;;IAWO,IAAA,EAF3B,yBAAA,CAAA,SAE2B,CAAA,MAAA,EAAA,MAAA,CAAA;IAmBhB,UAAA,EAAA,KAeX;EAAA,CAAA;;;;;;;;EAf0B,CAAA;;cAnBf,4CAAgB;;UAiB3B,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,2CAAe;;UAe1B,yBAAA,CAAA"}
1
+ {"version":3,"file":"models.d.ts","names":[],"sources":["../../src/entities/models.ts"],"sourcesContent":[],"mappings":";;;cAEa,gDAAmB;;UAa9B,0BAAA,CAAA;IAbW,UAAA,EAAA,KAAA;EAaX,CAAA;;;;;;;;;EAb8B,KAAA,EAAA;IAenB,IAAA,sCAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;IAVyB,IAAA,sCAAA,KAAA,EAAA,MAAA,CAAA;IAYd,UASX,EAAA,KAAA;EAAA,CAAA;;;;EAToB,CAAA;EAWT,MAAA,EAAA;IAiBX,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;cAxCW,2CAAc;;UAUzB,0BAAA,CAAA;;;;;;;;cAEW,sCAAS;;IAWO,IAAA,EAF3B,0BAAA,CAAA,SAE2B,CAAA,MAAA,EAAA,MAAA,CAAA;IAmBhB,UAAA,EAAA,KAeX;EAAA,CAAA;;;;;;;;EAf0B,CAAA;;cAnBf,6CAAgB;;UAiB3B,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,4CAAe;;UAe1B,0BAAA,CAAA"}
package/dist/events.d.ts CHANGED
@@ -1,60 +1,60 @@
1
- import * as _contractspec_lib_contracts1 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema34 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
+ import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/events.d.ts
5
- declare const KbSourceIngestedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema34.SchemaModel<{
5
+ declare const KbSourceIngestedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
6
6
  sourceDocumentId: {
7
- type: _contractspec_lib_schema34.FieldType<string, string>;
7
+ type: _contractspec_lib_schema0.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  jurisdiction: {
11
- type: _contractspec_lib_schema34.FieldType<string, string>;
11
+ type: _contractspec_lib_schema0.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  hash: {
15
- type: _contractspec_lib_schema34.FieldType<string, string>;
15
+ type: _contractspec_lib_schema0.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  }>>;
19
- declare const KbRuleVersionCreatedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema34.SchemaModel<{
19
+ declare const KbRuleVersionCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
20
20
  ruleVersionId: {
21
- type: _contractspec_lib_schema34.FieldType<string, string>;
21
+ type: _contractspec_lib_schema0.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  ruleId: {
25
- type: _contractspec_lib_schema34.FieldType<string, string>;
25
+ type: _contractspec_lib_schema0.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  jurisdiction: {
29
- type: _contractspec_lib_schema34.FieldType<string, string>;
29
+ type: _contractspec_lib_schema0.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  status: {
33
- type: _contractspec_lib_schema34.FieldType<string, string>;
33
+ type: _contractspec_lib_schema0.FieldType<string, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  }>>;
37
- declare const KbRuleVersionApprovedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema34.SchemaModel<{
37
+ declare const KbRuleVersionApprovedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
38
38
  ruleVersionId: {
39
- type: _contractspec_lib_schema34.FieldType<string, string>;
39
+ type: _contractspec_lib_schema0.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  approver: {
43
- type: _contractspec_lib_schema34.FieldType<string, string>;
43
+ type: _contractspec_lib_schema0.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  }>>;
47
- declare const KbSnapshotPublishedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema34.SchemaModel<{
47
+ declare const KbSnapshotPublishedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
48
48
  snapshotId: {
49
- type: _contractspec_lib_schema34.FieldType<string, string>;
49
+ type: _contractspec_lib_schema0.FieldType<string, string>;
50
50
  isOptional: false;
51
51
  };
52
52
  jurisdiction: {
53
- type: _contractspec_lib_schema34.FieldType<string, string>;
53
+ type: _contractspec_lib_schema0.FieldType<string, string>;
54
54
  isOptional: false;
55
55
  };
56
56
  includedRuleVersionsCount: {
57
- type: _contractspec_lib_schema34.FieldType<number, number>;
57
+ type: _contractspec_lib_schema0.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,4BAAA,CAAA,qCAAA;;UAUhC,0BAAA,CAAA;;EAVW,CAAA;EAUX,YAAA,EAAA;;;;EAVgC,IAAA,EAAA;IAAA,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IA0BrB,UAAA,EAAA,KAAA;EAUX,CAAA;;cAVW,2BAAyB,4BAAA,CAAA,qCAAA;;UAUpC,0BAAA,CAAA,SAVoC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAwBzB,MAAA,EAAA;IAUX,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;EAVqC,YAAA,EAAA;IAAA,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAyB1B,UAAA,EAAA,KAAA;EAUX,CAAA;;;;EAVmC,CAAA;CAAA,CAAA,CAAA;cAzBxB,4BAA0B,4BAAA,CAAA,qCAAA;;UAUrC,0BAAA,CAAA;;;;;;;;cAeW,0BAAwB,4BAAA,CAAA,qCAAA;;UAUnC,0BAAA,CAAA"}
1
+ {"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAgBa,uBAAqB,4BAAA,CAAA,oCAAA;;UAUhC,yBAAA,CAAA;;EAVW,CAAA;EAUX,YAAA,EAAA;;;;EAVgC,IAAA,EAAA;IAAA,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IA0BrB,UAAA,EAAA,KAAA;EAUX,CAAA;;cAVW,2BAAyB,4BAAA,CAAA,oCAAA;;UAUpC,yBAAA,CAAA,SAVoC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAwBzB,MAAA,EAAA;IAUX,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;EAVqC,YAAA,EAAA;IAAA,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAyB1B,UAAA,EAAA,KAAA;EAUX,CAAA;;;;EAVmC,CAAA;CAAA,CAAA,CAAA;cAzBxB,4BAA0B,4BAAA,CAAA,oCAAA;;UAUrC,yBAAA,CAAA;;;;;;;;cAeW,0BAAwB,4BAAA,CAAA,oCAAA;;UAUnC,yBAAA,CAAA"}
package/dist/example.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts9 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/example.d.ts
4
- declare const example: _contractspec_lib_contracts0.ExampleSpec;
4
+ declare const example: _contractspec_lib_contracts9.ExampleSpec;
5
5
  //#endregion
6
6
  export { example as default };
7
7
  //# sourceMappingURL=example.d.ts.map
@@ -1,8 +1,8 @@
1
- import * as _contractspec_lib_contracts5 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts4 from "@contractspec/lib.contracts";
2
2
  import * as _contractspec_lib_schema50 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/operations/kb.d.ts
5
- declare const KbIngestSourceContract: _contractspec_lib_contracts5.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
5
+ declare const KbIngestSourceContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
6
6
  jurisdiction: {
7
7
  type: _contractspec_lib_schema50.FieldType<string, string>;
8
8
  isOptional: false;
@@ -57,7 +57,7 @@ declare const KbIngestSourceContract: _contractspec_lib_contracts5.OperationSpec
57
57
  isOptional: false;
58
58
  };
59
59
  }>, undefined>;
60
- declare const KbUpsertRuleVersionContract: _contractspec_lib_contracts5.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
60
+ declare const KbUpsertRuleVersionContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
61
61
  ruleId: {
62
62
  type: _contractspec_lib_schema50.FieldType<string, string>;
63
63
  isOptional: false;
@@ -136,7 +136,7 @@ declare const KbUpsertRuleVersionContract: _contractspec_lib_contracts5.Operatio
136
136
  isOptional: false;
137
137
  };
138
138
  }>, undefined>;
139
- declare const KbApproveRuleVersionContract: _contractspec_lib_contracts5.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
139
+ declare const KbApproveRuleVersionContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
140
140
  ruleVersionId: {
141
141
  type: _contractspec_lib_schema50.FieldType<string, string>;
142
142
  isOptional: false;
@@ -201,7 +201,7 @@ declare const KbApproveRuleVersionContract: _contractspec_lib_contracts5.Operati
201
201
  isOptional: false;
202
202
  };
203
203
  }>, undefined>;
204
- declare const KbPublishSnapshotContract: _contractspec_lib_contracts5.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
204
+ declare const KbPublishSnapshotContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
205
205
  jurisdiction: {
206
206
  type: _contractspec_lib_schema50.FieldType<string, string>;
207
207
  isOptional: false;
@@ -233,7 +233,7 @@ declare const KbPublishSnapshotContract: _contractspec_lib_contracts5.OperationS
233
233
  isOptional: false;
234
234
  };
235
235
  }>, undefined>;
236
- declare const KbSearchContract: _contractspec_lib_contracts5.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
236
+ declare const KbSearchContract: _contractspec_lib_contracts4.OperationSpec<_contractspec_lib_schema50.SchemaModel<{
237
237
  snapshotId: {
238
238
  type: _contractspec_lib_schema50.FieldType<string, string>;
239
239
  isOptional: false;
@@ -1,7 +1,7 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/versioned-knowledge-base.feature.d.ts
4
- declare const VersionedKnowledgeBaseFeature: _contractspec_lib_contracts0.FeatureModuleSpec;
4
+ declare const VersionedKnowledgeBaseFeature: _contractspec_lib_contracts3.FeatureModuleSpec;
5
5
  //#endregion
6
6
  export { VersionedKnowledgeBaseFeature };
7
7
  //# sourceMappingURL=versioned-knowledge-base.feature.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.versioned-knowledge-base",
3
- "version": "1.47.0",
3
+ "version": "1.48.0",
4
4
  "description": "Example: curated, versioned knowledge base with immutable sources, rule versions, and published snapshots.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -33,12 +33,12 @@
33
33
  "test": "bun test"
34
34
  },
35
35
  "dependencies": {
36
- "@contractspec/lib.contracts": "1.47.0",
37
- "@contractspec/lib.schema": "1.47.0"
36
+ "@contractspec/lib.contracts": "1.48.0",
37
+ "@contractspec/lib.schema": "1.48.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@contractspec/tool.tsdown": "1.47.0",
41
- "@contractspec/tool.typescript": "1.47.0",
40
+ "@contractspec/tool.tsdown": "1.48.0",
41
+ "@contractspec/tool.typescript": "1.48.0",
42
42
  "tsdown": "^0.19.0",
43
43
  "typescript": "^5.9.3"
44
44
  },