@contractspec/example.versioned-knowledge-base 1.56.1 → 1.57.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,5 +1,5 @@
1
1
  $ tsdown
2
- ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
2
+ ℹ tsdown v0.20.3 powered by rolldown v1.0.0-rc.3
3
3
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/versioned-knowledge-base/tsdown.config.js
4
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
5
5
  ℹ target: esnext
@@ -12,8 +12,8 @@ $ tsdown
12
12
  ℹ dist/events.js 3.15 kB │ gzip: 0.67 kB
13
13
  ℹ dist/docs/versioned-knowledge-base.docblock.js 1.52 kB │ gzip: 0.66 kB
14
14
  ℹ dist/versioned-knowledge-base.feature.js 1.34 kB │ gzip: 0.50 kB
15
- ℹ dist/index.js 1.16 kB │ gzip: 0.35 kB
16
- ℹ dist/example.js 1.07 kB │ gzip: 0.54 kB
15
+ ℹ dist/index.js 1.14 kB │ gzip: 0.34 kB
16
+ ℹ dist/example.js 1.03 kB │ gzip: 0.53 kB
17
17
  ℹ dist/operations/index.js 0.29 kB │ gzip: 0.13 kB
18
18
  ℹ dist/entities/index.js 0.21 kB │ gzip: 0.11 kB
19
19
  ℹ dist/handlers/index.js 0.14 kB │ gzip: 0.09 kB
@@ -24,15 +24,15 @@ $ tsdown
24
24
  ℹ dist/events.js.map 4.72 kB │ gzip: 0.98 kB
25
25
  ℹ dist/docs/versioned-knowledge-base.docblock.js.map 2.02 kB │ gzip: 0.84 kB
26
26
  ℹ dist/versioned-knowledge-base.feature.js.map 1.94 kB │ gzip: 0.73 kB
27
- ℹ dist/example.js.map 1.53 kB │ gzip: 0.74 kB
28
- ℹ dist/handlers/memory.handlers.d.ts.map 1.17 kB │ gzip: 0.53 kB
29
- ℹ dist/operations/kb.d.ts.map 1.11 kB │ gzip: 0.39 kB
30
- ℹ dist/entities/models.d.ts.map 0.69 kB │ gzip: 0.32 kB
31
- ℹ dist/events.d.ts.map 0.67 kB │ gzip: 0.28 kB
32
- ℹ dist/versioned-knowledge-base.feature.d.ts.map 0.19 kB │ gzip: 0.15 kB
33
- ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
34
- ℹ dist/operations/kb.d.ts 7.75 kB │ gzip: 0.63 kB
35
- ℹ dist/entities/models.d.ts 3.88 kB │ gzip: 0.51 kB
27
+ ℹ dist/example.js.map 1.52 kB │ gzip: 0.73 kB
28
+ ℹ dist/handlers/memory.handlers.d.ts.map 1.28 kB │ gzip: 0.46 kB
29
+ ℹ dist/operations/kb.d.ts.map 0.74 kB │ gzip: 0.25 kB
30
+ ℹ dist/entities/models.d.ts.map 0.43 kB │ gzip: 0.20 kB
31
+ ℹ dist/events.d.ts.map 0.40 kB │ gzip: 0.18 kB
32
+ ℹ dist/versioned-knowledge-base.feature.d.ts.map 0.18 kB │ gzip: 0.14 kB
33
+ ℹ dist/example.d.ts.map 0.13 kB │ gzip: 0.13 kB
34
+ ℹ dist/operations/kb.d.ts 7.68 kB │ gzip: 0.62 kB
35
+ ℹ dist/entities/models.d.ts 3.84 kB │ gzip: 0.51 kB
36
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
@@ -43,5 +43,10 @@ $ 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.65 kB
47
- ✔ Build complete in 23952ms
46
+ ℹ 37 files, total: 76.66 kB
47
+ [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugins. Here is a breakdown:
48
+ - rolldown-plugin-dts:generate (61%)
49
+ - tsdown:external (27%)
50
+ See https://rolldown.rs/options/checks#plugintimings for more details.
51
+
52
+ ✔ Build complete in 39920ms
@@ -1,7 +1,7 @@
1
1
  $ bun build:types && bun build:bundle
2
2
  $ tsc --noEmit
3
3
  $ tsdown
4
- ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
4
+ ℹ tsdown v0.20.3 powered by rolldown v1.0.0-rc.3
5
5
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/versioned-knowledge-base/tsdown.config.js
6
6
  ℹ 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
7
7
  ℹ target: esnext
@@ -13,8 +13,8 @@ $ tsdown
13
13
  ℹ dist/events.js 3.15 kB │ gzip: 0.67 kB
14
14
  ℹ dist/docs/versioned-knowledge-base.docblock.js 1.52 kB │ gzip: 0.66 kB
15
15
  ℹ dist/versioned-knowledge-base.feature.js 1.34 kB │ gzip: 0.50 kB
16
- ℹ dist/index.js 1.16 kB │ gzip: 0.35 kB
17
- ℹ dist/example.js 1.07 kB │ gzip: 0.54 kB
16
+ ℹ dist/index.js 1.14 kB │ gzip: 0.34 kB
17
+ ℹ dist/example.js 1.03 kB │ gzip: 0.53 kB
18
18
  ℹ dist/operations/index.js 0.29 kB │ gzip: 0.13 kB
19
19
  ℹ dist/entities/index.js 0.21 kB │ gzip: 0.11 kB
20
20
  ℹ dist/handlers/index.js 0.14 kB │ gzip: 0.09 kB
@@ -25,15 +25,15 @@ $ tsdown
25
25
  ℹ dist/events.js.map 4.72 kB │ gzip: 0.98 kB
26
26
  ℹ dist/docs/versioned-knowledge-base.docblock.js.map 2.02 kB │ gzip: 0.84 kB
27
27
  ℹ dist/versioned-knowledge-base.feature.js.map 1.94 kB │ gzip: 0.73 kB
28
- ℹ dist/example.js.map 1.53 kB │ gzip: 0.74 kB
29
- ℹ dist/handlers/memory.handlers.d.ts.map 1.17 kB │ gzip: 0.53 kB
30
- ℹ dist/operations/kb.d.ts.map 1.11 kB │ gzip: 0.39 kB
31
- ℹ dist/entities/models.d.ts.map 0.69 kB │ gzip: 0.32 kB
32
- ℹ dist/events.d.ts.map 0.67 kB │ gzip: 0.28 kB
33
- ℹ dist/versioned-knowledge-base.feature.d.ts.map 0.19 kB │ gzip: 0.15 kB
34
- ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
35
- ℹ dist/operations/kb.d.ts 7.75 kB │ gzip: 0.63 kB
36
- ℹ dist/entities/models.d.ts 3.88 kB │ gzip: 0.51 kB
28
+ ℹ dist/example.js.map 1.52 kB │ gzip: 0.73 kB
29
+ ℹ dist/handlers/memory.handlers.d.ts.map 1.28 kB │ gzip: 0.46 kB
30
+ ℹ dist/operations/kb.d.ts.map 0.74 kB │ gzip: 0.25 kB
31
+ ℹ dist/entities/models.d.ts.map 0.43 kB │ gzip: 0.20 kB
32
+ ℹ dist/events.d.ts.map 0.40 kB │ gzip: 0.18 kB
33
+ ℹ dist/versioned-knowledge-base.feature.d.ts.map 0.18 kB │ gzip: 0.14 kB
34
+ ℹ dist/example.d.ts.map 0.13 kB │ gzip: 0.13 kB
35
+ ℹ dist/operations/kb.d.ts 7.68 kB │ gzip: 0.62 kB
36
+ ℹ dist/entities/models.d.ts 3.84 kB │ gzip: 0.51 kB
37
37
  ℹ dist/events.d.ts 2.14 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
@@ -43,6 +43,11 @@ $ tsdown
43
43
  ℹ dist/entities/index.d.ts 0.21 kB │ gzip: 0.11 kB
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
+ [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugins. Here is a breakdown:
46
47
  ℹ dist/docs/versioned-knowledge-base.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
47
- ℹ 37 files, total: 77.65 kB
48
- ✔ Build complete in 26789ms
48
+ - tsdown:external (71%)
49
+ ℹ 37 files, total: 76.66 kB
50
+ - rolldown-plugin-dts:generate (27%)
51
+ See https://rolldown.rs/options/checks#plugintimings for more details.
52
+
53
+ ✔ Build complete in 28127ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @contractspec/example.versioned-knowledge-base
2
2
 
3
+ ## 1.57.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 11a5a05: feat: improve product intent
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [8ecf3c1]
12
+ - Updated dependencies [47c48c2]
13
+ - Updated dependencies [a119963]
14
+ - Updated dependencies [4651e06]
15
+ - Updated dependencies [ad9d10a]
16
+ - Updated dependencies [11a5a05]
17
+ - @contractspec/lib.contracts@1.57.0
18
+ - @contractspec/lib.schema@1.57.0
19
+
3
20
  ## 1.56.1
4
21
 
5
22
  ### Patch Changes
@@ -1,93 +1,93 @@
1
- import * as _contractspec_lib_schema84 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/entities/models.d.ts
4
- declare const SourceDocumentModel: _contractspec_lib_schema84.SchemaModel<{
4
+ declare const SourceDocumentModel: _contractspec_lib_schema0.SchemaModel<{
5
5
  id: {
6
- type: _contractspec_lib_schema84.FieldType<string, string>;
6
+ type: _contractspec_lib_schema0.FieldType<string, string>;
7
7
  isOptional: false;
8
8
  };
9
9
  jurisdiction: {
10
- type: _contractspec_lib_schema84.FieldType<string, string>;
10
+ type: _contractspec_lib_schema0.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  authority: {
14
- type: _contractspec_lib_schema84.FieldType<string, string>;
14
+ type: _contractspec_lib_schema0.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  title: {
18
- type: _contractspec_lib_schema84.FieldType<string, string>;
18
+ type: _contractspec_lib_schema0.FieldType<string, string>;
19
19
  isOptional: false;
20
20
  };
21
21
  fetchedAt: {
22
- type: _contractspec_lib_schema84.FieldType<Date, string>;
22
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  hash: {
26
- type: _contractspec_lib_schema84.FieldType<string, string>;
26
+ type: _contractspec_lib_schema0.FieldType<string, string>;
27
27
  isOptional: false;
28
28
  };
29
29
  fileId: {
30
- type: _contractspec_lib_schema84.FieldType<string, string>;
30
+ type: _contractspec_lib_schema0.FieldType<string, string>;
31
31
  isOptional: false;
32
32
  };
33
33
  }>;
34
- declare const SourceRefModel: _contractspec_lib_schema84.SchemaModel<{
34
+ declare const SourceRefModel: _contractspec_lib_schema0.SchemaModel<{
35
35
  sourceDocumentId: {
36
- type: _contractspec_lib_schema84.FieldType<string, string>;
36
+ type: _contractspec_lib_schema0.FieldType<string, string>;
37
37
  isOptional: false;
38
38
  };
39
39
  excerpt: {
40
- type: _contractspec_lib_schema84.FieldType<string, string>;
40
+ type: _contractspec_lib_schema0.FieldType<string, string>;
41
41
  isOptional: true;
42
42
  };
43
43
  }>;
44
- declare const RuleModel: _contractspec_lib_schema84.SchemaModel<{
44
+ declare const RuleModel: _contractspec_lib_schema0.SchemaModel<{
45
45
  id: {
46
- type: _contractspec_lib_schema84.FieldType<string, string>;
46
+ type: _contractspec_lib_schema0.FieldType<string, string>;
47
47
  isOptional: false;
48
48
  };
49
49
  jurisdiction: {
50
- type: _contractspec_lib_schema84.FieldType<string, string>;
50
+ type: _contractspec_lib_schema0.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  topicKey: {
54
- type: _contractspec_lib_schema84.FieldType<string, string>;
54
+ type: _contractspec_lib_schema0.FieldType<string, string>;
55
55
  isOptional: false;
56
56
  };
57
57
  }>;
58
- declare const RuleVersionModel: _contractspec_lib_schema84.SchemaModel<{
58
+ declare const RuleVersionModel: _contractspec_lib_schema0.SchemaModel<{
59
59
  id: {
60
- type: _contractspec_lib_schema84.FieldType<string, string>;
60
+ type: _contractspec_lib_schema0.FieldType<string, string>;
61
61
  isOptional: false;
62
62
  };
63
63
  ruleId: {
64
- type: _contractspec_lib_schema84.FieldType<string, string>;
64
+ type: _contractspec_lib_schema0.FieldType<string, string>;
65
65
  isOptional: false;
66
66
  };
67
67
  jurisdiction: {
68
- type: _contractspec_lib_schema84.FieldType<string, string>;
68
+ type: _contractspec_lib_schema0.FieldType<string, string>;
69
69
  isOptional: false;
70
70
  };
71
71
  topicKey: {
72
- type: _contractspec_lib_schema84.FieldType<string, string>;
72
+ type: _contractspec_lib_schema0.FieldType<string, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  version: {
76
- type: _contractspec_lib_schema84.FieldType<string, string>;
76
+ type: _contractspec_lib_schema0.FieldType<string, string>;
77
77
  isOptional: false;
78
78
  };
79
79
  content: {
80
- type: _contractspec_lib_schema84.FieldType<string, string>;
80
+ type: _contractspec_lib_schema0.FieldType<string, string>;
81
81
  isOptional: false;
82
82
  };
83
83
  sourceRefs: {
84
- type: _contractspec_lib_schema84.SchemaModel<{
84
+ type: _contractspec_lib_schema0.SchemaModel<{
85
85
  sourceDocumentId: {
86
- type: _contractspec_lib_schema84.FieldType<string, string>;
86
+ type: _contractspec_lib_schema0.FieldType<string, string>;
87
87
  isOptional: false;
88
88
  };
89
89
  excerpt: {
90
- type: _contractspec_lib_schema84.FieldType<string, string>;
90
+ type: _contractspec_lib_schema0.FieldType<string, string>;
91
91
  isOptional: true;
92
92
  };
93
93
  }>;
@@ -95,42 +95,42 @@ declare const RuleVersionModel: _contractspec_lib_schema84.SchemaModel<{
95
95
  isOptional: false;
96
96
  };
97
97
  status: {
98
- type: _contractspec_lib_schema84.FieldType<string, string>;
98
+ type: _contractspec_lib_schema0.FieldType<string, string>;
99
99
  isOptional: false;
100
100
  };
101
101
  approvedBy: {
102
- type: _contractspec_lib_schema84.FieldType<string, string>;
102
+ type: _contractspec_lib_schema0.FieldType<string, string>;
103
103
  isOptional: true;
104
104
  };
105
105
  approvedAt: {
106
- type: _contractspec_lib_schema84.FieldType<Date, string>;
106
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
107
107
  isOptional: true;
108
108
  };
109
109
  createdAt: {
110
- type: _contractspec_lib_schema84.FieldType<Date, string>;
110
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
111
111
  isOptional: false;
112
112
  };
113
113
  }>;
114
- declare const KBSnapshotModel: _contractspec_lib_schema84.SchemaModel<{
114
+ declare const KBSnapshotModel: _contractspec_lib_schema0.SchemaModel<{
115
115
  id: {
116
- type: _contractspec_lib_schema84.FieldType<string, string>;
116
+ type: _contractspec_lib_schema0.FieldType<string, string>;
117
117
  isOptional: false;
118
118
  };
119
119
  jurisdiction: {
120
- type: _contractspec_lib_schema84.FieldType<string, string>;
120
+ type: _contractspec_lib_schema0.FieldType<string, string>;
121
121
  isOptional: false;
122
122
  };
123
123
  asOfDate: {
124
- type: _contractspec_lib_schema84.FieldType<Date, string>;
124
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
125
125
  isOptional: false;
126
126
  };
127
127
  includedRuleVersionIds: {
128
- type: _contractspec_lib_schema84.FieldType<string, string>;
128
+ type: _contractspec_lib_schema0.FieldType<string, string>;
129
129
  isArray: true;
130
130
  isOptional: false;
131
131
  };
132
132
  publishedAt: {
133
- type: _contractspec_lib_schema84.FieldType<Date, string>;
133
+ type: _contractspec_lib_schema0.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,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"}
1
+ {"version":3,"file":"models.d.ts","names":[],"sources":["../../src/entities/models.ts"],"mappings":";;;cAEa,mBAAA,4BAAmB,WAAA;;UAa9B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,cAAA,4BAAc,WAAA;;UAUzB,yBAAA,CAAA,SAAA;;;;;;;;cAEW,SAAA,4BAAS,WAAA;;UASpB,yBAAA,CAAA,SAAA;;;;;;;;;;;;cAEW,gBAAA,4BAAgB,WAAA;;UAiB3B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,eAAA,4BAAe,WAAA;;UAe1B,yBAAA,CAAA,SAAA"}
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"mappings":";;;;cAgBa,qBAAA,EAAqB,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAUhC,yBAAA,CAAA,SAAA;;;;;;;;;;;;cAgBW,yBAAA,EAAyB,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAUpC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAcW,0BAAA,EAA0B,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAUrC,yBAAA,CAAA,SAAA;;;;;;;;cAeW,wBAAA,EAAwB,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAUnC,yBAAA,CAAA,SAAA"}
package/dist/example.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _contractspec_lib_contracts8 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/example.d.ts
4
- declare const example: _contractspec_lib_contracts8.ExampleSpec;
4
+ declare const example: _contractspec_lib_contracts0.ExampleSpec;
5
5
  //#endregion
6
6
  export { example as default };
7
7
  //# sourceMappingURL=example.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SA6BJ,4BAAA,CA7BW"}
1
+ {"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"mappings":";;;cAEM,OAAA,EA6BJ,4BAAA,CA7BW,WAAA"}
package/dist/example.js CHANGED
@@ -42,8 +42,7 @@ const example = defineExample({
42
42
  mcp: { enabled: true }
43
43
  }
44
44
  });
45
- var example_default = example;
46
45
 
47
46
  //#endregion
48
- export { example_default as default };
47
+ export { example as default };
49
48
  //# sourceMappingURL=example.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"example.js","names":[],"sources":["../src/example.ts"],"sourcesContent":["import { defineExample } from '@contractspec/lib.contracts';\n\nconst example = defineExample({\n meta: {\n key: 'versioned-knowledge-base',\n version: '1.0.0',\n title: 'Versioned Knowledge Base',\n description:\n 'Curated KB with immutable sources, reviewable rule versions, and published snapshots.',\n kind: 'knowledge',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['knowledge', 'versioning', 'snapshots'],\n },\n docs: {\n rootDocId: 'docs.examples.versioned-knowledge-base',\n },\n entrypoints: {\n packageName: '@contractspec/example.versioned-knowledge-base',\n feature: './feature',\n contracts: './contracts',\n handlers: './handlers',\n docs: './docs',\n },\n surfaces: {\n templates: true,\n sandbox: { enabled: true, modes: ['markdown', 'specs', 'builder'] },\n studio: { enabled: true, installable: true },\n mcp: { enabled: true },\n },\n});\n\nexport default example;\n"],"mappings":";;;AAEA,MAAM,UAAU,cAAc;CAC5B,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,MAAM;EACN,YAAY;EACZ,WAAW;EACX,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAa;GAAc;GAAY;EAC/C;CACD,MAAM,EACJ,WAAW,0CACZ;CACD,aAAa;EACX,aAAa;EACb,SAAS;EACT,WAAW;EACX,UAAU;EACV,MAAM;EACP;CACD,UAAU;EACR,WAAW;EACX,SAAS;GAAE,SAAS;GAAM,OAAO;IAAC;IAAY;IAAS;IAAU;GAAE;EACnE,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF,CAAC;AAEF,sBAAe"}
1
+ {"version":3,"file":"example.js","names":[],"sources":["../src/example.ts"],"sourcesContent":["import { defineExample } from '@contractspec/lib.contracts';\n\nconst example = defineExample({\n meta: {\n key: 'versioned-knowledge-base',\n version: '1.0.0',\n title: 'Versioned Knowledge Base',\n description:\n 'Curated KB with immutable sources, reviewable rule versions, and published snapshots.',\n kind: 'knowledge',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['knowledge', 'versioning', 'snapshots'],\n },\n docs: {\n rootDocId: 'docs.examples.versioned-knowledge-base',\n },\n entrypoints: {\n packageName: '@contractspec/example.versioned-knowledge-base',\n feature: './feature',\n contracts: './contracts',\n handlers: './handlers',\n docs: './docs',\n },\n surfaces: {\n templates: true,\n sandbox: { enabled: true, modes: ['markdown', 'specs', 'builder'] },\n studio: { enabled: true, installable: true },\n mcp: { enabled: true },\n },\n});\n\nexport default example;\n"],"mappings":";;;AAEA,MAAM,UAAU,cAAc;CAC5B,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,MAAM;EACN,YAAY;EACZ,WAAW;EACX,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAa;GAAc;GAAY;EAC/C;CACD,MAAM,EACJ,WAAW,0CACZ;CACD,aAAa;EACX,aAAa;EACb,SAAS;EACT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AO,IAAA,CAAK,cAAA,UAAwB,OAAA,CAAQ,cAAA;EACzD,iBAAA,CAAkB,KAAA;IAChB,MAAA;IACA,OAAA;IACA,UAAA,EAAY,SAAA;EAAA,IACV,OAAA,CAAQ,WAAA;EACZ,kBAAA,CAAmB,KAAA;IACjB,aAAA;IACA,QAAA;EAAA,IACE,OAAA,CAAQ,WAAA;EACZ,eAAA,CAAgB,KAAA;IACd,YAAA;IACA,QAAA,EAAU,IAAA;EAAA,IACR,OAAA,CAAQ,UAAA;EACZ,MAAA,CAAO,KAAA;IACL,UAAA;IACA,YAAA;IACA,KAAA;EAAA,IACE,OAAA;IAAU,KAAA;MAAS,aAAA;MAAuB,OAAA;IAAA;EAAA;AAAA;AAAA,iBAOhC,sBAAA,CAAuB,KAAA,EAAO,aAAA,GAAgB,gBAAA"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { KbRuleVersionApprovedEvent, KbRuleVersionCreatedEvent, KbSnapshotPublishedEvent, KbSourceIngestedEvent } from "./events.js";
2
- import example_default from "./example.js";
2
+ import example from "./example.js";
3
3
  import { KBSnapshotModel, RuleModel, RuleVersionModel, SourceDocumentModel, SourceRefModel } from "./entities/models.js";
4
4
  import "./entities/index.js";
5
5
  import { KbApproveRuleVersionContract, KbIngestSourceContract, KbPublishSnapshotContract, KbSearchContract, KbUpsertRuleVersionContract } from "./operations/kb.js";
@@ -8,4 +8,4 @@ import { createMemoryKbHandlers, createMemoryKbStore } from "./handlers/memory.h
8
8
  import { VersionedKnowledgeBaseFeature } from "./versioned-knowledge-base.feature.js";
9
9
  import "./docs/index.js";
10
10
 
11
- export { KBSnapshotModel, KbApproveRuleVersionContract, KbIngestSourceContract, KbPublishSnapshotContract, KbRuleVersionApprovedEvent, KbRuleVersionCreatedEvent, KbSearchContract, KbSnapshotPublishedEvent, KbSourceIngestedEvent, KbUpsertRuleVersionContract, RuleModel, RuleVersionModel, SourceDocumentModel, SourceRefModel, VersionedKnowledgeBaseFeature, createMemoryKbHandlers, createMemoryKbStore, example_default as example };
11
+ export { KBSnapshotModel, KbApproveRuleVersionContract, KbIngestSourceContract, KbPublishSnapshotContract, KbRuleVersionApprovedEvent, KbRuleVersionCreatedEvent, KbSearchContract, KbSnapshotPublishedEvent, KbSourceIngestedEvent, KbUpsertRuleVersionContract, RuleModel, RuleVersionModel, SourceDocumentModel, SourceRefModel, VersionedKnowledgeBaseFeature, createMemoryKbHandlers, createMemoryKbStore, example };