dcql 0.2.12 → 0.2.13
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/src/dcql-error/e-base.d.ts.map +1 -0
- package/dist/src/dcql-error/e-base.js.map +1 -0
- package/dist/src/{e-dcql.d.ts → dcql-error/e-dcql.d.ts} +6 -0
- package/dist/src/dcql-error/e-dcql.d.ts.map +1 -0
- package/dist/src/{e-dcql.js → dcql-error/e-dcql.js} +9 -3
- package/dist/src/dcql-error/e-dcql.js.map +1 -0
- package/dist/src/dcql-error/index.d.ts +3 -0
- package/dist/src/dcql-error/index.d.ts.map +1 -0
- package/dist/src/dcql-error/index.js +23 -0
- package/dist/src/dcql-error/index.js.map +1 -0
- package/dist/src/dcql-parser/claims-path.test.d.ts.map +1 -0
- package/dist/src/{dcql-query → dcql-parser}/claims-path.test.js +1 -1
- package/dist/src/dcql-parser/claims-path.test.js.map +1 -0
- package/dist/src/{dcql-query-result → dcql-parser}/dcql-claims-query-result.d.ts +5 -2
- package/dist/src/dcql-parser/dcql-claims-query-result.d.ts.map +1 -0
- package/dist/src/{dcql-query-result → dcql-parser}/dcql-claims-query-result.js +18 -15
- package/dist/src/dcql-parser/dcql-claims-query-result.js.map +1 -0
- package/dist/src/{dcql-query-result → dcql-parser}/dcql-credential-query-result.d.ts +2 -2
- package/dist/src/dcql-parser/dcql-credential-query-result.d.ts.map +1 -0
- package/dist/src/{dcql-query-result → dcql-parser}/dcql-credential-query-result.js +4 -4
- package/dist/src/dcql-parser/dcql-credential-query-result.js.map +1 -0
- package/dist/src/dcql-presentation/index.d.ts +3 -2
- package/dist/src/dcql-presentation/index.d.ts.map +1 -1
- package/dist/src/dcql-presentation/index.js +10 -16
- package/dist/src/dcql-presentation/index.js.map +1 -1
- package/dist/src/{u-dcql-credential-presentation.d.ts → dcql-presentation/m-dcql-credential-presentation.d.ts} +18 -12
- package/dist/src/dcql-presentation/m-dcql-credential-presentation.d.ts.map +1 -0
- package/dist/src/{u-dcql-credential-presentation.js → dcql-presentation/m-dcql-credential-presentation.js} +7 -7
- package/dist/src/dcql-presentation/m-dcql-credential-presentation.js.map +1 -0
- package/dist/src/dcql-presentation/m-dcql-presentation-result.d.ts +54 -45
- package/dist/src/dcql-presentation/m-dcql-presentation-result.d.ts.map +1 -1
- package/dist/src/dcql-presentation/m-dcql-presentation-result.js +6 -4
- package/dist/src/dcql-presentation/m-dcql-presentation-result.js.map +1 -1
- package/dist/src/dcql-query/dcql-query.test.js +15 -9
- package/dist/src/dcql-query/dcql-query.test.js.map +1 -1
- package/dist/src/dcql-query/index.d.ts +5 -0
- package/dist/src/dcql-query/index.d.ts.map +1 -0
- package/dist/src/dcql-query/index.js +12 -0
- package/dist/src/dcql-query/index.js.map +1 -0
- package/dist/src/dcql-query/m-dcql-credential-query.js +1 -1
- package/dist/src/dcql-query/m-dcql-credential-query.js.map +1 -1
- package/dist/src/dcql-query/m-dcql-query.d.ts +123 -96
- package/dist/src/dcql-query/m-dcql-query.d.ts.map +1 -1
- package/dist/src/dcql-query/m-dcql-query.js +3 -3
- package/dist/src/dcql-query/m-dcql-query.js.map +1 -1
- package/dist/src/dcql-query-result/index.d.ts +3 -0
- package/dist/src/dcql-query-result/index.d.ts.map +1 -0
- package/dist/src/dcql-query-result/index.js +8 -0
- package/dist/src/dcql-query-result/index.js.map +1 -0
- package/dist/src/dcql-query-result/m-dcql-query-result.d.ts +208 -162
- package/dist/src/dcql-query-result/m-dcql-query-result.d.ts.map +1 -1
- package/dist/src/dcql-query-result/m-dcql-query-result.js +1 -14
- package/dist/src/dcql-query-result/m-dcql-query-result.js.map +1 -1
- package/dist/src/dcql-query-result/run-dcql-query.d.ts +8 -0
- package/dist/src/dcql-query-result/run-dcql-query.d.ts.map +1 -0
- package/dist/src/{dcql-query/dcql-query.js → dcql-query-result/run-dcql-query.js} +14 -10
- package/dist/src/dcql-query-result/run-dcql-query.js.map +1 -0
- package/dist/src/index.d.ts +4 -8
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -19
- package/dist/src/index.js.map +1 -1
- package/dist/src/u-dcql-credential.d.ts +36 -32
- package/dist/src/u-dcql-credential.d.ts.map +1 -1
- package/dist/src/u-dcql-credential.js +10 -11
- package/dist/src/u-dcql-credential.js.map +1 -1
- package/dist/src/{model.d.ts → u-model.d.ts} +2 -2
- package/dist/src/u-model.d.ts.map +1 -0
- package/dist/src/{model.js → u-model.js} +2 -2
- package/dist/src/u-model.js.map +1 -0
- package/package.json +1 -1
- package/dist/src/dcql-query/claims-path.d.ts +0 -14
- package/dist/src/dcql-query/claims-path.d.ts.map +0 -1
- package/dist/src/dcql-query/claims-path.js +0 -23
- package/dist/src/dcql-query/claims-path.js.map +0 -1
- package/dist/src/dcql-query/claims-path.test.d.ts.map +0 -1
- package/dist/src/dcql-query/claims-path.test.js.map +0 -1
- package/dist/src/dcql-query/dcql-query.d.ts +0 -8
- package/dist/src/dcql-query/dcql-query.d.ts.map +0 -1
- package/dist/src/dcql-query/dcql-query.js.map +0 -1
- package/dist/src/dcql-query-result/dcql-claims-query-result.d.ts.map +0 -1
- package/dist/src/dcql-query-result/dcql-claims-query-result.js.map +0 -1
- package/dist/src/dcql-query-result/dcql-credential-query-result.d.ts.map +0 -1
- package/dist/src/dcql-query-result/dcql-credential-query-result.js.map +0 -1
- package/dist/src/e-base.d.ts.map +0 -1
- package/dist/src/e-base.js.map +0 -1
- package/dist/src/e-dcql.d.ts.map +0 -1
- package/dist/src/e-dcql.js.map +0 -1
- package/dist/src/model.d.ts.map +0 -1
- package/dist/src/model.js.map +0 -1
- package/dist/src/u-dcql-credential-presentation.d.ts.map +0 -1
- package/dist/src/u-dcql-credential-presentation.js.map +0 -1
- /package/dist/src/{e-base.d.ts → dcql-error/e-base.d.ts} +0 -0
- /package/dist/src/{e-base.js → dcql-error/e-base.js} +0 -0
- /package/dist/src/{dcql-query → dcql-parser}/claims-path.test.d.ts +0 -0
@@ -25,9 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
26
|
exports.DcqlQuery = void 0;
|
27
27
|
const v = __importStar(require("valibot"));
|
28
|
-
const e_dcql_js_1 = require("../e-dcql.js");
|
28
|
+
const e_dcql_js_1 = require("../dcql-error/e-dcql.js");
|
29
|
+
const run_dcql_query_js_1 = require("../dcql-query-result/run-dcql-query.js");
|
29
30
|
const u_dcql_js_1 = require("../u-dcql.js");
|
30
|
-
const dcql_query_js_1 = require("./dcql-query.js");
|
31
31
|
const m_dcql_credential_query_js_1 = require("./m-dcql-credential-query.js");
|
32
32
|
const m_dcql_credential_set_query_js_1 = require("./m-dcql-credential-set-query.js");
|
33
33
|
/**
|
@@ -50,7 +50,7 @@ var DcqlQuery;
|
|
50
50
|
dcqlQuery.credentials.forEach(m_dcql_credential_query_js_1.DcqlCredentialQuery.validate);
|
51
51
|
};
|
52
52
|
DcqlQuery.query = (dcqlQuery, credentials) => {
|
53
|
-
return (0,
|
53
|
+
return (0, run_dcql_query_js_1.runDcqlQuery)(dcqlQuery, { credentials, presentation: false });
|
54
54
|
};
|
55
55
|
DcqlQuery.parse = (input) => {
|
56
56
|
return v.parse(DcqlQuery.vModel, input);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"m-dcql-query.js","sourceRoot":"","sources":["../../../src/dcql-query/m-dcql-query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAC7B,
|
1
|
+
{"version":3,"file":"m-dcql-query.js","sourceRoot":"","sources":["../../../src/dcql-query/m-dcql-query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAC7B,uDAGiC;AACjC,8EAAsE;AAEtE,4CAA8C;AAC9C,6EAAmE;AACnE,qFAAsE;AAEtE;;;;;;;GAOG;AACH,IAAiB,SAAS,CA8BzB;AA9BD,WAAiB,SAAS;IACX,gBAAM,GAAG,CAAC,CAA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
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dcql-query-result/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.runDcqlQuery = exports.DcqlQueryResult = void 0;
|
4
|
+
var m_dcql_query_result_js_1 = require("./m-dcql-query-result.js");
|
5
|
+
Object.defineProperty(exports, "DcqlQueryResult", { enumerable: true, get: function () { return m_dcql_query_result_js_1.DcqlQueryResult; } });
|
6
|
+
var run_dcql_query_js_1 = require("./run-dcql-query.js");
|
7
|
+
Object.defineProperty(exports, "runDcqlQuery", { enumerable: true, get: function () { return run_dcql_query_js_1.runDcqlQuery; } });
|
8
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dcql-query-result/index.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAAlD,yHAAA,eAAe,OAAA;AACxB,yDAAmD;AAA1C,iHAAA,YAAY,OAAA"}
|