@contractspec/example.locale-jurisdiction-gate 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.
- package/.turbo/turbo-build$colon$bundle.log +21 -16
- package/.turbo/turbo-build.log +21 -16
- package/CHANGELOG.md +17 -0
- package/dist/entities/models.d.ts +48 -48
- package/dist/entities/models.d.ts.map +1 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +1 -2
- package/dist/example.js.map +1 -1
- package/dist/handlers/demo.handlers.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/locale-jurisdiction-gate.feature.d.ts +2 -2
- package/dist/locale-jurisdiction-gate.feature.d.ts.map +1 -1
- package/dist/operations/assistant.d.ts +60 -60
- package/dist/operations/assistant.d.ts.map +1 -1
- package/dist/policy/guard.d.ts.map +1 -1
- package/dist/policy/types.d.ts.map +1 -1
- package/package.json +6 -6
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
$ tsdown
|
|
2
|
-
[34mℹ[39m tsdown [2mv0.
|
|
2
|
+
[34mℹ[39m tsdown [2mv0.20.3[22m powered by rolldown [2mv1.0.0-rc.3[22m
|
|
3
3
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/locale-jurisdiction-gate/tsdown.config.js[24m
|
|
4
4
|
[34mℹ[39m entry: [34msrc/events.ts, src/example.ts, src/index.ts, src/locale-jurisdiction-gate.feature.ts, src/docs/index.ts, src/docs/locale-jurisdiction-gate.docblock.ts, src/entities/index.ts, src/entities/models.ts, src/handlers/demo.handlers.ts, src/handlers/index.ts, src/operations/assistant.ts, src/operations/index.ts, src/policy/guard.ts, src/policy/index.ts, src/policy/types.ts[39m
|
|
5
5
|
[34mℹ[39m target: [34mesnext[39m
|
|
@@ -12,9 +12,9 @@ $ tsdown
|
|
|
12
12
|
[34mℹ[39m [2mdist/[22m[1mhandlers/demo.handlers.js[22m [2m2.46 kB[22m [2m│ gzip: 0.90 kB[22m
|
|
13
13
|
[34mℹ[39m [2mdist/[22m[1mpolicy/guard.js[22m [2m1.90 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
14
14
|
[34mℹ[39m [2mdist/[22m[1mdocs/locale-jurisdiction-gate.docblock.js[22m [2m1.64 kB[22m [2m│ gzip: 0.74 kB[22m
|
|
15
|
-
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m1.
|
|
15
|
+
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m1.25 kB[22m [2m│ gzip: 0.39 kB[22m
|
|
16
16
|
[34mℹ[39m [2mdist/[22m[1mlocale-jurisdiction-gate.feature.js[22m [2m1.16 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
17
|
-
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m1.
|
|
17
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m1.09 kB[22m [2m│ gzip: 0.57 kB[22m
|
|
18
18
|
[34mℹ[39m [2mdist/[22m[1mentities/index.js[22m [2m0.36 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
19
19
|
[34mℹ[39m [2mdist/[22m[1moperations/index.js[22m [2m0.16 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
20
20
|
[34mℹ[39m [2mdist/[22m[1mpolicy/index.js[22m [2m0.15 kB[22m [2m│ gzip: 0.11 kB[22m
|
|
@@ -28,17 +28,17 @@ $ tsdown
|
|
|
28
28
|
[34mℹ[39m [2mdist/[22mpolicy/guard.js.map [2m4.08 kB[22m [2m│ gzip: 1.44 kB[22m
|
|
29
29
|
[34mℹ[39m [2mdist/[22mdocs/locale-jurisdiction-gate.docblock.js.map [2m2.16 kB[22m [2m│ gzip: 0.93 kB[22m
|
|
30
30
|
[34mℹ[39m [2mdist/[22mlocale-jurisdiction-gate.feature.js.map [2m1.67 kB[22m [2m│ gzip: 0.72 kB[22m
|
|
31
|
-
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.
|
|
32
|
-
[34mℹ[39m [2mdist/[
|
|
33
|
-
[34mℹ[39m [2mdist/[
|
|
34
|
-
[34mℹ[39m [2mdist/[
|
|
35
|
-
[34mℹ[39m [2mdist/[
|
|
36
|
-
[34mℹ[39m [2mdist/[
|
|
37
|
-
[34mℹ[39m [2mdist/[22mpolicy/types.d.ts.map [2m0.
|
|
38
|
-
[34mℹ[39m [2mdist/[22mlocale-jurisdiction-gate.feature.d.ts.map [2m0.
|
|
39
|
-
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.
|
|
40
|
-
[34mℹ[39m [2mdist/[22m[32m[1moperations/assistant.d.ts[22m[39m [2m7.
|
|
41
|
-
[34mℹ[39m [2mdist/[22m[32m[1mentities/models.d.ts[22m[39m [2m5.
|
|
31
|
+
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.59 kB[22m [2m│ gzip: 0.78 kB[22m
|
|
32
|
+
[34mℹ[39m [2mdist/[22mhandlers/demo.handlers.d.ts.map [2m0.68 kB[22m [2m│ gzip: 0.29 kB[22m
|
|
33
|
+
[34mℹ[39m [2mdist/[22mentities/models.d.ts.map [2m0.51 kB[22m [2m│ gzip: 0.22 kB[22m
|
|
34
|
+
[34mℹ[39m [2mdist/[22mpolicy/guard.d.ts.map [2m0.47 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
35
|
+
[34mℹ[39m [2mdist/[22moperations/assistant.d.ts.map [2m0.44 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
36
|
+
[34mℹ[39m [2mdist/[22mevents.d.ts.map [2m0.32 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
37
|
+
[34mℹ[39m [2mdist/[22mpolicy/types.d.ts.map [2m0.23 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
38
|
+
[34mℹ[39m [2mdist/[22mlocale-jurisdiction-gate.feature.d.ts.map [2m0.18 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
39
|
+
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.13 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
40
|
+
[34mℹ[39m [2mdist/[22m[32m[1moperations/assistant.d.ts[22m[39m [2m7.22 kB[22m [2m│ gzip: 0.63 kB[22m
|
|
41
|
+
[34mℹ[39m [2mdist/[22m[32m[1mentities/models.d.ts[22m[39m [2m5.43 kB[22m [2m│ gzip: 0.67 kB[22m
|
|
42
42
|
[34mℹ[39m [2mdist/[22m[32m[1mevents.d.ts[22m[39m [2m2.20 kB[22m [2m│ gzip: 0.38 kB[22m
|
|
43
43
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/demo.handlers.d.ts[22m[39m [2m1.48 kB[22m [2m│ gzip: 0.55 kB[22m
|
|
44
44
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m1.37 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
@@ -52,5 +52,10 @@ $ tsdown
|
|
|
52
52
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/index.d.ts[22m[39m [2m0.15 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
53
53
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
54
54
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/locale-jurisdiction-gate.docblock.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
55
|
-
[34mℹ[39m 46 files, total:
|
|
56
|
-
[
|
|
55
|
+
[34mℹ[39m 46 files, total: 74.51 kB
|
|
56
|
+
[33m[PLUGIN_TIMINGS] Warning:[0m Your build spent significant time in plugins. Here is a breakdown:
|
|
57
|
+
- tsdown:external (64%)
|
|
58
|
+
- rolldown-plugin-dts:generate (27%)
|
|
59
|
+
See https://rolldown.rs/options/checks#plugintimings for more details.
|
|
60
|
+
|
|
61
|
+
[32m✔[39m Build complete in [32m21655ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$ bun build:types && bun build:bundle
|
|
2
2
|
$ tsc --noEmit
|
|
3
3
|
$ tsdown
|
|
4
|
-
[34mℹ[39m tsdown [2mv0.
|
|
4
|
+
[34mℹ[39m tsdown [2mv0.20.3[22m powered by rolldown [2mv1.0.0-rc.3[22m
|
|
5
5
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/locale-jurisdiction-gate/tsdown.config.js[24m
|
|
6
6
|
[34mℹ[39m entry: [34msrc/events.ts, src/example.ts, src/index.ts, src/locale-jurisdiction-gate.feature.ts, src/docs/index.ts, src/docs/locale-jurisdiction-gate.docblock.ts, src/entities/index.ts, src/entities/models.ts, src/handlers/demo.handlers.ts, src/handlers/index.ts, src/operations/assistant.ts, src/operations/index.ts, src/policy/guard.ts, src/policy/index.ts, src/policy/types.ts[39m
|
|
7
7
|
[34mℹ[39m target: [34mesnext[39m
|
|
@@ -13,9 +13,9 @@ $ tsdown
|
|
|
13
13
|
[34mℹ[39m [2mdist/[22m[1mhandlers/demo.handlers.js[22m [2m2.46 kB[22m [2m│ gzip: 0.90 kB[22m
|
|
14
14
|
[34mℹ[39m [2mdist/[22m[1mpolicy/guard.js[22m [2m1.90 kB[22m [2m│ gzip: 0.76 kB[22m
|
|
15
15
|
[34mℹ[39m [2mdist/[22m[1mdocs/locale-jurisdiction-gate.docblock.js[22m [2m1.64 kB[22m [2m│ gzip: 0.74 kB[22m
|
|
16
|
-
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m1.
|
|
16
|
+
[34mℹ[39m [2mdist/[22m[1mindex.js[22m [2m1.25 kB[22m [2m│ gzip: 0.39 kB[22m
|
|
17
17
|
[34mℹ[39m [2mdist/[22m[1mlocale-jurisdiction-gate.feature.js[22m [2m1.16 kB[22m [2m│ gzip: 0.50 kB[22m
|
|
18
|
-
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m1.
|
|
18
|
+
[34mℹ[39m [2mdist/[22m[1mexample.js[22m [2m1.09 kB[22m [2m│ gzip: 0.57 kB[22m
|
|
19
19
|
[34mℹ[39m [2mdist/[22m[1mentities/index.js[22m [2m0.36 kB[22m [2m│ gzip: 0.16 kB[22m
|
|
20
20
|
[34mℹ[39m [2mdist/[22m[1moperations/index.js[22m [2m0.16 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
21
21
|
[34mℹ[39m [2mdist/[22m[1mpolicy/index.js[22m [2m0.15 kB[22m [2m│ gzip: 0.11 kB[22m
|
|
@@ -29,18 +29,18 @@ $ tsdown
|
|
|
29
29
|
[34mℹ[39m [2mdist/[22mpolicy/guard.js.map [2m4.08 kB[22m [2m│ gzip: 1.44 kB[22m
|
|
30
30
|
[34mℹ[39m [2mdist/[22mdocs/locale-jurisdiction-gate.docblock.js.map [2m2.16 kB[22m [2m│ gzip: 0.93 kB[22m
|
|
31
31
|
[34mℹ[39m [2mdist/[22mlocale-jurisdiction-gate.feature.js.map [2m1.67 kB[22m [2m│ gzip: 0.72 kB[22m
|
|
32
|
-
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.
|
|
33
|
-
[34mℹ[39m [2mdist/[
|
|
34
|
-
[34mℹ[39m [2mdist/[
|
|
35
|
-
[34mℹ[39m [2mdist/[
|
|
36
|
-
[34mℹ[39m [2mdist/[
|
|
37
|
-
[34mℹ[39m [2mdist/[
|
|
38
|
-
[34mℹ[39m [2mdist/[22mpolicy/types.d.ts.map [2m0.
|
|
39
|
-
[34mℹ[39m [2mdist/[22mlocale-jurisdiction-gate.feature.d.ts.map [2m0.
|
|
40
|
-
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.
|
|
41
|
-
[34mℹ[39m [2mdist/[22m[32m[1moperations/assistant.d.ts[22m[39m [2m7.
|
|
32
|
+
[34mℹ[39m [2mdist/[22mexample.js.map [2m1.59 kB[22m [2m│ gzip: 0.78 kB[22m
|
|
33
|
+
[34mℹ[39m [2mdist/[22mhandlers/demo.handlers.d.ts.map [2m0.68 kB[22m [2m│ gzip: 0.29 kB[22m
|
|
34
|
+
[34mℹ[39m [2mdist/[22mentities/models.d.ts.map [2m0.51 kB[22m [2m│ gzip: 0.22 kB[22m
|
|
35
|
+
[34mℹ[39m [2mdist/[22mpolicy/guard.d.ts.map [2m0.47 kB[22m [2m│ gzip: 0.26 kB[22m
|
|
36
|
+
[34mℹ[39m [2mdist/[22moperations/assistant.d.ts.map [2m0.44 kB[22m [2m│ gzip: 0.19 kB[22m
|
|
37
|
+
[34mℹ[39m [2mdist/[22mevents.d.ts.map [2m0.32 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
38
|
+
[34mℹ[39m [2mdist/[22mpolicy/types.d.ts.map [2m0.23 kB[22m [2m│ gzip: 0.17 kB[22m
|
|
39
|
+
[34mℹ[39m [2mdist/[22mlocale-jurisdiction-gate.feature.d.ts.map [2m0.18 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
40
|
+
[34mℹ[39m [2mdist/[22mexample.d.ts.map [2m0.13 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
41
|
+
[34mℹ[39m [2mdist/[22m[32m[1moperations/assistant.d.ts[22m[39m [2m7.22 kB[22m [2m│ gzip: 0.63 kB[22m
|
|
42
42
|
[34mℹ[39m [2mdist/[22m[32m[1mentities/models.d.ts[22m[39m [2m5.43 kB[22m [2m│ gzip: 0.67 kB[22m
|
|
43
|
-
[34mℹ[39m [2mdist/[22m[32m[1mevents.d.ts[22m[39m [2m2.
|
|
43
|
+
[34mℹ[39m [2mdist/[22m[32m[1mevents.d.ts[22m[39m [2m2.20 kB[22m [2m│ gzip: 0.38 kB[22m
|
|
44
44
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/demo.handlers.d.ts[22m[39m [2m1.48 kB[22m [2m│ gzip: 0.55 kB[22m
|
|
45
45
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m1.37 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
46
46
|
[34mℹ[39m [2mdist/[22m[32m[1mpolicy/guard.d.ts[22m[39m [2m0.93 kB[22m [2m│ gzip: 0.42 kB[22m
|
|
@@ -53,5 +53,10 @@ $ tsdown
|
|
|
53
53
|
[34mℹ[39m [2mdist/[22m[32m[1mhandlers/index.d.ts[22m[39m [2m0.15 kB[22m [2m│ gzip: 0.09 kB[22m
|
|
54
54
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
55
55
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/locale-jurisdiction-gate.docblock.d.ts[22m[39m [2m0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
56
|
-
[34mℹ[39m 46 files, total:
|
|
57
|
-
[
|
|
56
|
+
[34mℹ[39m 46 files, total: 74.51 kB
|
|
57
|
+
[33m[PLUGIN_TIMINGS] Warning:[0m Your build spent significant time in plugins. Here is a breakdown:
|
|
58
|
+
- tsdown:external (70%)
|
|
59
|
+
- rolldown-plugin-dts:generate (25%)
|
|
60
|
+
See https://rolldown.rs/options/checks#plugintimings for more details.
|
|
61
|
+
|
|
62
|
+
[32m✔[39m Build complete in [32m26343ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @contractspec/example.locale-jurisdiction-gate
|
|
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,135 +1,135 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/models.d.ts
|
|
4
|
-
declare const AllowedScopeEnum:
|
|
5
|
-
declare const UserProfileModel:
|
|
4
|
+
declare const AllowedScopeEnum: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
5
|
+
declare const UserProfileModel: _contractspec_lib_schema0.SchemaModel<{
|
|
6
6
|
preferredLocale: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
8
8
|
isOptional: true;
|
|
9
9
|
};
|
|
10
10
|
residencyCountry: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
12
12
|
isOptional: true;
|
|
13
13
|
};
|
|
14
14
|
taxResidenceCountry: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
16
16
|
isOptional: true;
|
|
17
17
|
};
|
|
18
18
|
clientType: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
20
20
|
isOptional: true;
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
23
|
-
declare const RegulatoryContextModel:
|
|
23
|
+
declare const RegulatoryContextModel: _contractspec_lib_schema0.SchemaModel<{
|
|
24
24
|
jurisdiction: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
region: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
clientType: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
allowedScope: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
41
|
-
declare const LLMCallEnvelopeModel:
|
|
41
|
+
declare const LLMCallEnvelopeModel: _contractspec_lib_schema0.SchemaModel<{
|
|
42
42
|
traceId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
locale: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
regulatoryContext: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema0.SchemaModel<{
|
|
52
52
|
jurisdiction: {
|
|
53
|
-
type:
|
|
53
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
region: {
|
|
57
|
-
type:
|
|
57
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
58
58
|
isOptional: true;
|
|
59
59
|
};
|
|
60
60
|
clientType: {
|
|
61
|
-
type:
|
|
61
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
62
62
|
isOptional: true;
|
|
63
63
|
};
|
|
64
64
|
allowedScope: {
|
|
65
|
-
type:
|
|
65
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
}>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
kbSnapshotId: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
allowedScope: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
|
-
declare const AssistantCitationModel:
|
|
80
|
+
declare const AssistantCitationModel: _contractspec_lib_schema0.SchemaModel<{
|
|
81
81
|
kbSnapshotId: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
sourceType: {
|
|
86
|
-
type:
|
|
86
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
sourceId: {
|
|
90
|
-
type:
|
|
90
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
title: {
|
|
94
|
-
type:
|
|
94
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
excerpt: {
|
|
98
|
-
type:
|
|
98
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
}>;
|
|
102
|
-
declare const AssistantAnswerSectionModel:
|
|
102
|
+
declare const AssistantAnswerSectionModel: _contractspec_lib_schema0.SchemaModel<{
|
|
103
103
|
heading: {
|
|
104
|
-
type:
|
|
104
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
body: {
|
|
108
|
-
type:
|
|
108
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
}>;
|
|
112
|
-
declare const AssistantAnswerIRModel:
|
|
112
|
+
declare const AssistantAnswerIRModel: _contractspec_lib_schema0.SchemaModel<{
|
|
113
113
|
locale: {
|
|
114
|
-
type:
|
|
114
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
115
115
|
isOptional: false;
|
|
116
116
|
};
|
|
117
117
|
jurisdiction: {
|
|
118
|
-
type:
|
|
118
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
allowedScope: {
|
|
122
|
-
type:
|
|
122
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
sections: {
|
|
126
|
-
type:
|
|
126
|
+
type: _contractspec_lib_schema0.SchemaModel<{
|
|
127
127
|
heading: {
|
|
128
|
-
type:
|
|
128
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
body: {
|
|
132
|
-
type:
|
|
132
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
133
133
|
isOptional: false;
|
|
134
134
|
};
|
|
135
135
|
}>;
|
|
@@ -137,25 +137,25 @@ declare const AssistantAnswerIRModel: _contractspec_lib_schema16.SchemaModel<{
|
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
citations: {
|
|
140
|
-
type:
|
|
140
|
+
type: _contractspec_lib_schema0.SchemaModel<{
|
|
141
141
|
kbSnapshotId: {
|
|
142
|
-
type:
|
|
142
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
sourceType: {
|
|
146
|
-
type:
|
|
146
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
147
147
|
isOptional: false;
|
|
148
148
|
};
|
|
149
149
|
sourceId: {
|
|
150
|
-
type:
|
|
150
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
title: {
|
|
154
|
-
type:
|
|
154
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
155
155
|
isOptional: true;
|
|
156
156
|
};
|
|
157
157
|
excerpt: {
|
|
158
|
-
type:
|
|
158
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
159
159
|
isOptional: true;
|
|
160
160
|
};
|
|
161
161
|
}>;
|
|
@@ -163,21 +163,21 @@ declare const AssistantAnswerIRModel: _contractspec_lib_schema16.SchemaModel<{
|
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
disclaimers: {
|
|
166
|
-
type:
|
|
166
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
167
167
|
isArray: true;
|
|
168
168
|
isOptional: true;
|
|
169
169
|
};
|
|
170
170
|
riskFlags: {
|
|
171
|
-
type:
|
|
171
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
172
172
|
isArray: true;
|
|
173
173
|
isOptional: true;
|
|
174
174
|
};
|
|
175
175
|
refused: {
|
|
176
|
-
type:
|
|
176
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
177
177
|
isOptional: true;
|
|
178
178
|
};
|
|
179
179
|
refusalReason: {
|
|
180
|
-
type:
|
|
180
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
181
181
|
isOptional: true;
|
|
182
182
|
};
|
|
183
183
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","names":[],"sources":["../../src/entities/models.ts"],"
|
|
1
|
+
{"version":3,"file":"models.d.ts","names":[],"sources":["../../src/entities/models.ts"],"mappings":";;;cAMa,gBAAA,EAIX,yBAAA,CAJ2B,QAAA;AAAA,cAMhB,gBAAA,4BAAgB,WAAA;;UAkB3B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAEW,sBAAA,4BAAsB,WAAA;;UASjC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAEW,oBAAA,4BAAoB,WAAA;;UAW/B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,sBAAA,4BAAsB,WAAA;;UAWjC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAEW,2BAAA,4BAA2B,WAAA;;UAOtC,yBAAA,CAAA,SAAA;;;;;;;;cAEW,sBAAA,4BAAsB,WAAA;;UA+BjC,yBAAA,CAAA,SAAA"}
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"
|
|
1
|
+
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"mappings":";;;;cAea,6BAAA,EAA6B,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAUxC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYW,2BAAA,EAA2B,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAUtC,yBAAA,CAAA,SAAA;;;;;;;;;;;;cAeW,6BAAA,EAA6B,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAWxC,yBAAA,CAAA,SAAA"}
|
package/dist/example.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/example.d.ts
|
|
4
|
-
declare const example:
|
|
4
|
+
declare const example: _contractspec_lib_contracts0.ExampleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { example as default };
|
|
7
7
|
//# sourceMappingURL=example.d.ts.map
|
package/dist/example.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"
|
|
1
|
+
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"mappings":";;;cAEM,OAAA,EA6BJ,4BAAA,CA7BW,WAAA"}
|
package/dist/example.js
CHANGED
package/dist/example.js.map
CHANGED
|
@@ -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: 'locale-jurisdiction-gate',\n version: '1.0.0',\n title: 'Locale / Jurisdiction Gate',\n description:\n 'Fail-closed gating for assistant calls: locale + jurisdiction + kbSnapshotId + allowedScope must be explicit, answers must cite a snapshot.',\n kind: 'knowledge',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['policy', 'locale', 'jurisdiction', 'assistant', 'gating'],\n },\n docs: {\n rootDocId: 'docs.examples.locale-jurisdiction-gate',\n },\n entrypoints: {\n packageName: '@contractspec/example.locale-jurisdiction-gate',\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'] },\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;GAAU;GAAU;GAAgB;GAAa;GAAS;EAClE;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,CAAC,YAAY,QAAQ;GAAE;EACxD,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF,CAAC
|
|
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: 'locale-jurisdiction-gate',\n version: '1.0.0',\n title: 'Locale / Jurisdiction Gate',\n description:\n 'Fail-closed gating for assistant calls: locale + jurisdiction + kbSnapshotId + allowedScope must be explicit, answers must cite a snapshot.',\n kind: 'knowledge',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['policy', 'locale', 'jurisdiction', 'assistant', 'gating'],\n },\n docs: {\n rootDocId: 'docs.examples.locale-jurisdiction-gate',\n },\n entrypoints: {\n packageName: '@contractspec/example.locale-jurisdiction-gate',\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'] },\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;GAAU;GAAU;GAAgB;GAAa;GAAS;EAClE;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,CAAC,YAAY,QAAQ;GAAE;EACxD,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"demo.handlers.d.ts","names":[],"sources":["../../src/handlers/demo.handlers.ts"],"
|
|
1
|
+
{"version":3,"file":"demo.handlers.d.ts","names":[],"sources":["../../src/handlers/demo.handlers.ts"],"mappings":";KAMK,YAAA;AAAA,UAEK,iBAAA;EACR,MAAA;EACA,YAAA;EACA,YAAA,EAAc,YAAA;EACd,QAAA;IAAY,OAAA;IAAiB,IAAA;EAAA;EAC7B,SAAA;IACE,YAAA;IACA,UAAA;IACA,QAAA;IACA,KAAA;IACA,OAAA;EAAA;EAEF,WAAA;EACA,SAAA;EACA,OAAA;EACA,aAAA;AAAA;AAAA,UAGe,qBAAA;EACf,MAAA,CAAO,KAAA;IACL,QAAA;MACE,OAAA;MACA,MAAA;MACA,YAAA;MACA,YAAA,EAAc,YAAA;MACd,iBAAA;QAAqB,YAAA;MAAA;IAAA;IAEvB,QAAA;EAAA,IACE,OAAA,CAAQ,iBAAA;EAEZ,cAAA,CAAe,KAAA;IACb,QAAA;MACE,OAAA;MACA,MAAA;MACA,YAAA;MACA,YAAA,EAAc,YAAA;MACd,iBAAA;QAAqB,YAAA;MAAA;IAAA;IAEvB,UAAA;EAAA,IACE,OAAA,CAAQ,iBAAA;AAAA;;;;;;;;iBAUE,2BAAA,CAAA,GAA+B,qBAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AssistantAnswerBlockedEvent, AssistantAnswerDeliveredEvent, AssistantAnswerRequestedEvent } from "./events.js";
|
|
2
|
-
import
|
|
2
|
+
import example from "./example.js";
|
|
3
3
|
import { AllowedScopeEnum, AssistantAnswerIRModel, AssistantAnswerSectionModel, AssistantCitationModel, LLMCallEnvelopeModel, RegulatoryContextModel, UserProfileModel } from "./entities/models.js";
|
|
4
4
|
import "./entities/index.js";
|
|
5
5
|
import { AssistantAnswerContract, AssistantExplainConceptContract } from "./operations/assistant.js";
|
|
@@ -9,4 +9,4 @@ import { createDemoAssistantHandlers } from "./handlers/demo.handlers.js";
|
|
|
9
9
|
import { LocaleJurisdictionGateFeature } from "./locale-jurisdiction-gate.feature.js";
|
|
10
10
|
import "./docs/index.js";
|
|
11
11
|
|
|
12
|
-
export { AllowedScopeEnum, AssistantAnswerBlockedEvent, AssistantAnswerContract, AssistantAnswerDeliveredEvent, AssistantAnswerIRModel, AssistantAnswerRequestedEvent, AssistantAnswerSectionModel, AssistantCitationModel, AssistantExplainConceptContract, LLMCallEnvelopeModel, LocaleJurisdictionGateFeature, RegulatoryContextModel, UserProfileModel, createDemoAssistantHandlers, enforceAllowedScope, enforceCitations,
|
|
12
|
+
export { AllowedScopeEnum, AssistantAnswerBlockedEvent, AssistantAnswerContract, AssistantAnswerDeliveredEvent, AssistantAnswerIRModel, AssistantAnswerRequestedEvent, AssistantAnswerSectionModel, AssistantCitationModel, AssistantExplainConceptContract, LLMCallEnvelopeModel, LocaleJurisdictionGateFeature, RegulatoryContextModel, UserProfileModel, createDemoAssistantHandlers, enforceAllowedScope, enforceCitations, example, validateEnvelope };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/locale-jurisdiction-gate.feature.d.ts
|
|
4
|
-
declare const LocaleJurisdictionGateFeature:
|
|
4
|
+
declare const LocaleJurisdictionGateFeature: _contractspec_lib_contracts0.FeatureModuleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { LocaleJurisdictionGateFeature };
|
|
7
7
|
//# sourceMappingURL=locale-jurisdiction-gate.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale-jurisdiction-gate.feature.d.ts","names":[],"sources":["../src/locale-jurisdiction-gate.feature.ts"],"
|
|
1
|
+
{"version":3,"file":"locale-jurisdiction-gate.feature.d.ts","names":[],"sources":["../src/locale-jurisdiction-gate.feature.ts"],"mappings":";;;cAEa,6BAAA,EA2BX,4BAAA,CA3BwC,iBAAA"}
|