@coasys/ad4m 0.8.2-prerelease → 0.9.0-prerelease
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/lib/index.cjs +5 -5
- package/lib/index.js +5 -5
- package/lib/src/Exception.d.ts +4 -4
- package/lib/src/Exception.js +4 -4
- package/lib/src/runtime/RuntimeResolver.js +3 -3
- package/lib/src/schema.gql +1 -1
- package/lib/src/typeDefs.js +1 -1
- package/package.json +1 -1
- package/src/Exception.ts +4 -4
- package/src/runtime/RuntimeResolver.ts +2 -2
package/lib/index.cjs
CHANGED
|
@@ -6727,10 +6727,10 @@ _Ad4mClient_apolloClient = new WeakMap(), _Ad4mClient_agentClient = new WeakMap(
|
|
|
6727
6727
|
|
|
6728
6728
|
exports.ExceptionType = void 0;
|
|
6729
6729
|
(function (ExceptionType) {
|
|
6730
|
-
ExceptionType[
|
|
6731
|
-
ExceptionType[
|
|
6732
|
-
ExceptionType[
|
|
6733
|
-
ExceptionType[
|
|
6730
|
+
ExceptionType["LanguageIsNotLoaded"] = "LANGUAGE_IS_NOT_LOADED";
|
|
6731
|
+
ExceptionType["ExpressionIsNotVerified"] = "EXPRESSION_IS_NOT_VERIFIED";
|
|
6732
|
+
ExceptionType["AgentIsUntrusted"] = "AGENT_IS_UNTRUSTED";
|
|
6733
|
+
ExceptionType["CapabilityRequested"] = "CAPABILITY_REQUESTED";
|
|
6734
6734
|
})(exports.ExceptionType || (exports.ExceptionType = {}));
|
|
6735
6735
|
|
|
6736
6736
|
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -7516,7 +7516,7 @@ type ExceptionInfo {
|
|
|
7516
7516
|
addon: String
|
|
7517
7517
|
message: String!
|
|
7518
7518
|
title: String!
|
|
7519
|
-
type:
|
|
7519
|
+
type: Int!
|
|
7520
7520
|
}
|
|
7521
7521
|
|
|
7522
7522
|
type ExpressionProof {
|
package/lib/index.js
CHANGED
|
@@ -6723,10 +6723,10 @@ _Ad4mClient_apolloClient = new WeakMap(), _Ad4mClient_agentClient = new WeakMap(
|
|
|
6723
6723
|
|
|
6724
6724
|
var ExceptionType;
|
|
6725
6725
|
(function (ExceptionType) {
|
|
6726
|
-
ExceptionType[
|
|
6727
|
-
ExceptionType[
|
|
6728
|
-
ExceptionType[
|
|
6729
|
-
ExceptionType[
|
|
6726
|
+
ExceptionType["LanguageIsNotLoaded"] = "LANGUAGE_IS_NOT_LOADED";
|
|
6727
|
+
ExceptionType["ExpressionIsNotVerified"] = "EXPRESSION_IS_NOT_VERIFIED";
|
|
6728
|
+
ExceptionType["AgentIsUntrusted"] = "AGENT_IS_UNTRUSTED";
|
|
6729
|
+
ExceptionType["CapabilityRequested"] = "CAPABILITY_REQUESTED";
|
|
6730
6730
|
})(ExceptionType || (ExceptionType = {}));
|
|
6731
6731
|
|
|
6732
6732
|
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -7512,7 +7512,7 @@ type ExceptionInfo {
|
|
|
7512
7512
|
addon: String
|
|
7513
7513
|
message: String!
|
|
7514
7514
|
title: String!
|
|
7515
|
-
type:
|
|
7515
|
+
type: Int!
|
|
7516
7516
|
}
|
|
7517
7517
|
|
|
7518
7518
|
type ExpressionProof {
|
package/lib/src/Exception.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare enum ExceptionType {
|
|
2
|
-
LanguageIsNotLoaded =
|
|
3
|
-
ExpressionIsNotVerified =
|
|
4
|
-
AgentIsUntrusted =
|
|
5
|
-
CapabilityRequested =
|
|
2
|
+
LanguageIsNotLoaded = "LANGUAGE_IS_NOT_LOADED",
|
|
3
|
+
ExpressionIsNotVerified = "EXPRESSION_IS_NOT_VERIFIED",
|
|
4
|
+
AgentIsUntrusted = "AGENT_IS_UNTRUSTED",
|
|
5
|
+
CapabilityRequested = "CAPABILITY_REQUESTED"
|
|
6
6
|
}
|
package/lib/src/Exception.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export var ExceptionType;
|
|
2
2
|
(function (ExceptionType) {
|
|
3
|
-
ExceptionType[
|
|
4
|
-
ExceptionType[
|
|
5
|
-
ExceptionType[
|
|
6
|
-
ExceptionType[
|
|
3
|
+
ExceptionType["LanguageIsNotLoaded"] = "LANGUAGE_IS_NOT_LOADED";
|
|
4
|
+
ExceptionType["ExpressionIsNotVerified"] = "EXPRESSION_IS_NOT_VERIFIED";
|
|
5
|
+
ExceptionType["AgentIsUntrusted"] = "AGENT_IS_UNTRUSTED";
|
|
6
|
+
ExceptionType["CapabilityRequested"] = "CAPABILITY_REQUESTED";
|
|
7
7
|
})(ExceptionType || (ExceptionType = {}));
|
|
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
11
11
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12
12
|
};
|
|
13
|
-
import { Arg, Mutation, Resolver, Query, Subscription, ObjectType, Field } from "type-graphql";
|
|
13
|
+
import { Arg, Mutation, Resolver, Query, Subscription, ObjectType, Field, Int } from "type-graphql";
|
|
14
14
|
import { Perspective, PerspectiveExpression, PerspectiveInput } from "../perspectives/Perspective";
|
|
15
15
|
import { ExpressionProof } from "../expression/Expression";
|
|
16
16
|
import { LinkExpression } from "../links/Links";
|
|
@@ -76,8 +76,8 @@ __decorate([
|
|
|
76
76
|
__metadata("design:type", String)
|
|
77
77
|
], ExceptionInfo.prototype, "message", void 0);
|
|
78
78
|
__decorate([
|
|
79
|
-
Field(),
|
|
80
|
-
__metadata("design:type",
|
|
79
|
+
Field(type => Int),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
81
|
], ExceptionInfo.prototype, "type", void 0);
|
|
82
82
|
__decorate([
|
|
83
83
|
Field({ nullable: true }),
|
package/lib/src/schema.gql
CHANGED
package/lib/src/typeDefs.js
CHANGED
package/package.json
CHANGED
package/src/Exception.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export enum ExceptionType {
|
|
2
|
-
LanguageIsNotLoaded,
|
|
3
|
-
ExpressionIsNotVerified,
|
|
4
|
-
AgentIsUntrusted,
|
|
5
|
-
CapabilityRequested,
|
|
2
|
+
LanguageIsNotLoaded = "LANGUAGE_IS_NOT_LOADED",
|
|
3
|
+
ExpressionIsNotVerified = "EXPRESSION_IS_NOT_VERIFIED",
|
|
4
|
+
AgentIsUntrusted = "AGENT_IS_UNTRUSTED",
|
|
5
|
+
CapabilityRequested = "CAPABILITY_REQUESTED",
|
|
6
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Arg, Mutation, Resolver, Query, Subscription, ObjectType, Field } from "type-graphql";
|
|
1
|
+
import { Arg, Mutation, Resolver, Query, Subscription, ObjectType, Field, Int } from "type-graphql";
|
|
2
2
|
import { Perspective, PerspectiveExpression, PerspectiveInput } from "../perspectives/Perspective";
|
|
3
3
|
import { ExpressionProof } from "../expression/Expression";
|
|
4
4
|
import { LinkExpression } from "../links/Links";
|
|
@@ -48,7 +48,7 @@ export class ExceptionInfo {
|
|
|
48
48
|
title: string;
|
|
49
49
|
@Field()
|
|
50
50
|
message: string;
|
|
51
|
-
@Field()
|
|
51
|
+
@Field(type => Int)
|
|
52
52
|
type: ExceptionType;
|
|
53
53
|
@Field({ nullable: true })
|
|
54
54
|
addon?: string;
|