@coasys/ad4m 0.11.2-dev-multi-user → 0.11.2-dev-multi-user-email
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 +226 -27
- package/lib/index.js +227 -28
- package/lib/src/agent/Agent.d.ts +0 -6
- package/lib/src/agent/Agent.js +0 -24
- package/lib/src/agent/AgentClient.d.ts +4 -1
- package/lib/src/agent/AgentClient.js +26 -4
- package/lib/src/runtime/RuntimeClient.d.ts +5 -0
- package/lib/src/runtime/RuntimeClient.js +42 -0
- package/lib/src/runtime/RuntimeResolver.d.ts +16 -0
- package/lib/src/runtime/RuntimeResolver.js +138 -0
- package/lib/src/schema.gql +22 -0
- package/lib/src/typeDefs.js +22 -0
- package/package.json +2 -1
- package/src/agent/Agent.ts +0 -17
- package/src/agent/AgentClient.ts +33 -4
- package/src/runtime/RuntimeClient.ts +47 -0
- package/src/runtime/RuntimeResolver.ts +95 -0
package/lib/index.cjs
CHANGED
|
@@ -4071,29 +4071,6 @@ exports.AuthInfoInput = __decorate$b([
|
|
|
4071
4071
|
InputType(),
|
|
4072
4072
|
__metadata$b("design:paramtypes", [String, String, String, String, String, Array])
|
|
4073
4073
|
], exports.AuthInfoInput);
|
|
4074
|
-
exports.User = class User {
|
|
4075
|
-
constructor(username, did, password) {
|
|
4076
|
-
this.username = username;
|
|
4077
|
-
this.did = did;
|
|
4078
|
-
this.password = password;
|
|
4079
|
-
}
|
|
4080
|
-
};
|
|
4081
|
-
__decorate$b([
|
|
4082
|
-
Field(),
|
|
4083
|
-
__metadata$b("design:type", String)
|
|
4084
|
-
], exports.User.prototype, "username", void 0);
|
|
4085
|
-
__decorate$b([
|
|
4086
|
-
Field(),
|
|
4087
|
-
__metadata$b("design:type", String)
|
|
4088
|
-
], exports.User.prototype, "did", void 0);
|
|
4089
|
-
__decorate$b([
|
|
4090
|
-
Field(),
|
|
4091
|
-
__metadata$b("design:type", String)
|
|
4092
|
-
], exports.User.prototype, "password", void 0);
|
|
4093
|
-
exports.User = __decorate$b([
|
|
4094
|
-
ObjectType(),
|
|
4095
|
-
__metadata$b("design:paramtypes", [String, String, String])
|
|
4096
|
-
], exports.User);
|
|
4097
4074
|
exports.UserCreationResult = class UserCreationResult {
|
|
4098
4075
|
constructor(did, success, error) {
|
|
4099
4076
|
this.did = did;
|
|
@@ -6909,16 +6886,16 @@ class AgentClient {
|
|
|
6909
6886
|
return agentSignMessage;
|
|
6910
6887
|
}
|
|
6911
6888
|
// Multi-user methods
|
|
6912
|
-
async createUser(email, password) {
|
|
6889
|
+
async createUser(email, password, appInfo) {
|
|
6913
6890
|
const { runtimeCreateUser } = unwrapApolloResult(await __classPrivateFieldGet$8(this, _AgentClient_apolloClient, "f").mutate({
|
|
6914
|
-
mutation: gql `mutation runtimeCreateUser($email: String!, $password: String
|
|
6915
|
-
runtimeCreateUser(email: $email, password: $password) {
|
|
6891
|
+
mutation: gql `mutation runtimeCreateUser($email: String!, $password: String!, $appInfo: AuthInfoInput) {
|
|
6892
|
+
runtimeCreateUser(email: $email, password: $password, appInfo: $appInfo) {
|
|
6916
6893
|
did
|
|
6917
6894
|
success
|
|
6918
6895
|
error
|
|
6919
6896
|
}
|
|
6920
6897
|
}`,
|
|
6921
|
-
variables: { email, password },
|
|
6898
|
+
variables: { email, password, appInfo },
|
|
6922
6899
|
}));
|
|
6923
6900
|
return runtimeCreateUser;
|
|
6924
6901
|
}
|
|
@@ -6931,6 +6908,28 @@ class AgentClient {
|
|
|
6931
6908
|
}));
|
|
6932
6909
|
return runtimeLoginUser;
|
|
6933
6910
|
}
|
|
6911
|
+
async requestLoginVerification(email, appInfo) {
|
|
6912
|
+
const { runtimeRequestLoginVerification } = unwrapApolloResult(await __classPrivateFieldGet$8(this, _AgentClient_apolloClient, "f").mutate({
|
|
6913
|
+
mutation: gql `mutation runtimeRequestLoginVerification($email: String!, $appInfo: AuthInfoInput) {
|
|
6914
|
+
runtimeRequestLoginVerification(email: $email, appInfo: $appInfo) {
|
|
6915
|
+
success
|
|
6916
|
+
message
|
|
6917
|
+
requiresPassword
|
|
6918
|
+
}
|
|
6919
|
+
}`,
|
|
6920
|
+
variables: { email, appInfo },
|
|
6921
|
+
}));
|
|
6922
|
+
return runtimeRequestLoginVerification;
|
|
6923
|
+
}
|
|
6924
|
+
async verifyEmailCode(email, code, verificationType) {
|
|
6925
|
+
const { runtimeVerifyEmailCode } = unwrapApolloResult(await __classPrivateFieldGet$8(this, _AgentClient_apolloClient, "f").mutate({
|
|
6926
|
+
mutation: gql `mutation runtimeVerifyEmailCode($email: String!, $code: String!, $verificationType: String!) {
|
|
6927
|
+
runtimeVerifyEmailCode(email: $email, code: $code, verificationType: $verificationType)
|
|
6928
|
+
}`,
|
|
6929
|
+
variables: { email, code, verificationType },
|
|
6930
|
+
}));
|
|
6931
|
+
return runtimeVerifyEmailCode;
|
|
6932
|
+
}
|
|
6934
6933
|
}
|
|
6935
6934
|
_AgentClient_apolloClient = new WeakMap(), _AgentClient_appsChangedCallback = new WeakMap(), _AgentClient_updatedCallbacks = new WeakMap(), _AgentClient_agentStatusChangedCallbacks = new WeakMap();
|
|
6936
6935
|
|
|
@@ -7709,6 +7708,48 @@ class RuntimeClient {
|
|
|
7709
7708
|
}));
|
|
7710
7709
|
return runtimeListUsers;
|
|
7711
7710
|
}
|
|
7711
|
+
async emailTestModeEnable() {
|
|
7712
|
+
const { runtimeEmailTestModeEnable } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7713
|
+
mutation: gql `mutation runtimeEmailTestModeEnable {
|
|
7714
|
+
runtimeEmailTestModeEnable
|
|
7715
|
+
}`
|
|
7716
|
+
}));
|
|
7717
|
+
return runtimeEmailTestModeEnable;
|
|
7718
|
+
}
|
|
7719
|
+
async emailTestModeDisable() {
|
|
7720
|
+
const { runtimeEmailTestModeDisable } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7721
|
+
mutation: gql `mutation runtimeEmailTestModeDisable {
|
|
7722
|
+
runtimeEmailTestModeDisable
|
|
7723
|
+
}`
|
|
7724
|
+
}));
|
|
7725
|
+
return runtimeEmailTestModeDisable;
|
|
7726
|
+
}
|
|
7727
|
+
async emailTestGetCode(email) {
|
|
7728
|
+
const { runtimeEmailTestGetCode } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7729
|
+
mutation: gql `mutation runtimeEmailTestGetCode($email: String!) {
|
|
7730
|
+
runtimeEmailTestGetCode(email: $email)
|
|
7731
|
+
}`,
|
|
7732
|
+
variables: { email }
|
|
7733
|
+
}));
|
|
7734
|
+
return runtimeEmailTestGetCode;
|
|
7735
|
+
}
|
|
7736
|
+
async emailTestClearCodes() {
|
|
7737
|
+
const { runtimeEmailTestClearCodes } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7738
|
+
mutation: gql `mutation runtimeEmailTestClearCodes {
|
|
7739
|
+
runtimeEmailTestClearCodes
|
|
7740
|
+
}`
|
|
7741
|
+
}));
|
|
7742
|
+
return runtimeEmailTestClearCodes;
|
|
7743
|
+
}
|
|
7744
|
+
async emailTestSetExpiry(email, verificationType, expiresAt) {
|
|
7745
|
+
const { runtimeEmailTestSetExpiry } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7746
|
+
mutation: gql `mutation runtimeEmailTestSetExpiry($email: String!, $verificationType: String!, $expiresAt: Int!) {
|
|
7747
|
+
runtimeEmailTestSetExpiry(email: $email, verificationType: $verificationType, expiresAt: $expiresAt)
|
|
7748
|
+
}`,
|
|
7749
|
+
variables: { email, verificationType, expiresAt }
|
|
7750
|
+
}));
|
|
7751
|
+
return runtimeEmailTestSetExpiry;
|
|
7752
|
+
}
|
|
7712
7753
|
addNotificationTriggeredCallback(cb) {
|
|
7713
7754
|
__classPrivateFieldGet$5(this, _RuntimeClient_notificationTriggeredCallbacks, "f").push(cb);
|
|
7714
7755
|
}
|
|
@@ -16980,6 +17021,12 @@ type Mutation {
|
|
|
16980
17021
|
perspectiveUpdateLink(batchId: String, newLink: LinkInput!, oldLink: LinkExpressionInput!, uuid: String!): LinkExpression!
|
|
16981
17022
|
runtimeAddFriends(dids: [String!]!): [String!]!
|
|
16982
17023
|
runtimeAddKnownLinkLanguageTemplates(addresses: [String!]!): [String!]!
|
|
17024
|
+
runtimeCreateUser(appInfo: AuthInfoInput, email: String!, password: String!): UserCreationResult!
|
|
17025
|
+
runtimeEmailTestClearCodes: Boolean!
|
|
17026
|
+
runtimeEmailTestGetCode(email: String!): String
|
|
17027
|
+
runtimeEmailTestModeDisable: Boolean!
|
|
17028
|
+
runtimeEmailTestModeEnable: Boolean!
|
|
17029
|
+
runtimeEmailTestSetExpiry(email: String!, expiresAt: Float!, verificationType: String!): Boolean!
|
|
16983
17030
|
runtimeExportDb(filePath: String!): Boolean!
|
|
16984
17031
|
runtimeExportPerspective(filePath: String!, perspectiveUuid: String!): Boolean!
|
|
16985
17032
|
runtimeFriendSendMessage(did: String!, message: PerspectiveInput!): Boolean!
|
|
@@ -16987,16 +17034,20 @@ type Mutation {
|
|
|
16987
17034
|
runtimeHcAddAgentInfos(agentInfos: String!): Boolean!
|
|
16988
17035
|
runtimeImportDb(filePath: String!): Boolean!
|
|
16989
17036
|
runtimeImportPerspective(filePath: String!): Boolean!
|
|
17037
|
+
runtimeLoginUser(email: String!, password: String!): String!
|
|
16990
17038
|
runtimeOpenLink(url: String!): Boolean!
|
|
16991
17039
|
runtimeQuit: Boolean!
|
|
16992
17040
|
runtimeRemoveFriends(dids: [String!]!): [String!]!
|
|
16993
17041
|
runtimeRemoveKnownLinkLanguageTemplates(addresses: [String!]!): [String!]!
|
|
16994
17042
|
runtimeRemoveNotification(id: String!): Boolean!
|
|
16995
17043
|
runtimeRequestInstallNotification(notification: NotificationInput!): String!
|
|
17044
|
+
runtimeRequestLoginVerification(appInfo: AuthInfoInput, email: String!): VerificationRequestResult!
|
|
16996
17045
|
runtimeRestartHolochain: Boolean!
|
|
16997
17046
|
runtimeSetMultiUserEnabled(enabled: Boolean!): Boolean!
|
|
16998
17047
|
runtimeSetStatus(status: PerspectiveInput!): Boolean!
|
|
17048
|
+
runtimeTestEmail(to: String!): Boolean!
|
|
16999
17049
|
runtimeUpdateNotification(id: String!, notification: NotificationInput!): Boolean!
|
|
17050
|
+
runtimeVerifyEmailCode(code: String!, email: String!, verificationType: String!): String!
|
|
17000
17051
|
}
|
|
17001
17052
|
|
|
17002
17053
|
type Neighbourhood {
|
|
@@ -17174,6 +17225,12 @@ type TriggeredNotification {
|
|
|
17174
17225
|
triggerMatch: String!
|
|
17175
17226
|
}
|
|
17176
17227
|
|
|
17228
|
+
type UserCreationResult {
|
|
17229
|
+
did: String!
|
|
17230
|
+
error: String
|
|
17231
|
+
success: Boolean!
|
|
17232
|
+
}
|
|
17233
|
+
|
|
17177
17234
|
type UserStatistics {
|
|
17178
17235
|
did: String!
|
|
17179
17236
|
email: String!
|
|
@@ -17181,6 +17238,12 @@ type UserStatistics {
|
|
|
17181
17238
|
perspectiveCount: Int!
|
|
17182
17239
|
}
|
|
17183
17240
|
|
|
17241
|
+
type VerificationRequestResult {
|
|
17242
|
+
message: String!
|
|
17243
|
+
requiresPassword: Boolean!
|
|
17244
|
+
success: Boolean!
|
|
17245
|
+
}
|
|
17246
|
+
|
|
17184
17247
|
input VoiceActivityParamsInput {
|
|
17185
17248
|
endThreshold: Float
|
|
17186
17249
|
endWindow: Float
|
|
@@ -17490,6 +17553,23 @@ __decorate([
|
|
|
17490
17553
|
exports.UserStatistics = __decorate([
|
|
17491
17554
|
ObjectType()
|
|
17492
17555
|
], exports.UserStatistics);
|
|
17556
|
+
exports.VerificationRequestResult = class VerificationRequestResult {
|
|
17557
|
+
};
|
|
17558
|
+
__decorate([
|
|
17559
|
+
Field(),
|
|
17560
|
+
__metadata("design:type", Boolean)
|
|
17561
|
+
], exports.VerificationRequestResult.prototype, "success", void 0);
|
|
17562
|
+
__decorate([
|
|
17563
|
+
Field(),
|
|
17564
|
+
__metadata("design:type", String)
|
|
17565
|
+
], exports.VerificationRequestResult.prototype, "message", void 0);
|
|
17566
|
+
__decorate([
|
|
17567
|
+
Field(),
|
|
17568
|
+
__metadata("design:type", Boolean)
|
|
17569
|
+
], exports.VerificationRequestResult.prototype, "requiresPassword", void 0);
|
|
17570
|
+
exports.VerificationRequestResult = __decorate([
|
|
17571
|
+
ObjectType()
|
|
17572
|
+
], exports.VerificationRequestResult);
|
|
17493
17573
|
/**
|
|
17494
17574
|
* Resolver classes are used here to define the GraphQL schema
|
|
17495
17575
|
* (through the type-graphql annotations)
|
|
@@ -17653,6 +17733,50 @@ let RuntimeResolver = class RuntimeResolver {
|
|
|
17653
17733
|
perspectiveCount: 5
|
|
17654
17734
|
}];
|
|
17655
17735
|
}
|
|
17736
|
+
runtimeRequestLoginVerification(email, appInfo) {
|
|
17737
|
+
// For testing: simulate existing user
|
|
17738
|
+
return {
|
|
17739
|
+
success: true,
|
|
17740
|
+
message: "Verification email sent",
|
|
17741
|
+
requiresPassword: false
|
|
17742
|
+
};
|
|
17743
|
+
}
|
|
17744
|
+
runtimeVerifyEmailCode(email, code, verificationType) {
|
|
17745
|
+
// For testing: return a test JWT token
|
|
17746
|
+
return "test-jwt-token-from-email-verification";
|
|
17747
|
+
}
|
|
17748
|
+
runtimeTestEmail(to) {
|
|
17749
|
+
// For testing: simulate successful email send
|
|
17750
|
+
return true;
|
|
17751
|
+
}
|
|
17752
|
+
runtimeCreateUser(email, password, appInfo) {
|
|
17753
|
+
// For testing: simulate successful user creation (email verification flow)
|
|
17754
|
+
return new exports.UserCreationResult("did:key:test123", true);
|
|
17755
|
+
}
|
|
17756
|
+
runtimeLoginUser(email, password) {
|
|
17757
|
+
// For testing: return a test JWT token
|
|
17758
|
+
return "test-jwt-token-from-password-login";
|
|
17759
|
+
}
|
|
17760
|
+
runtimeEmailTestModeEnable() {
|
|
17761
|
+
// For testing: enable test mode
|
|
17762
|
+
return true;
|
|
17763
|
+
}
|
|
17764
|
+
runtimeEmailTestModeDisable() {
|
|
17765
|
+
// For testing: disable test mode
|
|
17766
|
+
return true;
|
|
17767
|
+
}
|
|
17768
|
+
runtimeEmailTestGetCode(email) {
|
|
17769
|
+
// For testing: return a mock code
|
|
17770
|
+
return "123456";
|
|
17771
|
+
}
|
|
17772
|
+
runtimeEmailTestClearCodes() {
|
|
17773
|
+
// For testing: clear codes
|
|
17774
|
+
return true;
|
|
17775
|
+
}
|
|
17776
|
+
runtimeEmailTestSetExpiry(email, verificationType, expiresAt) {
|
|
17777
|
+
// For testing: simulate setting expiry (no-op in mock)
|
|
17778
|
+
return true;
|
|
17779
|
+
}
|
|
17656
17780
|
};
|
|
17657
17781
|
__decorate([
|
|
17658
17782
|
Mutation(),
|
|
@@ -17905,6 +18029,81 @@ __decorate([
|
|
|
17905
18029
|
__metadata("design:paramtypes", []),
|
|
17906
18030
|
__metadata("design:returntype", Array)
|
|
17907
18031
|
], RuntimeResolver.prototype, "runtimeListUsers", null);
|
|
18032
|
+
__decorate([
|
|
18033
|
+
Mutation(),
|
|
18034
|
+
__param(0, Arg()),
|
|
18035
|
+
__param(1, Arg()),
|
|
18036
|
+
__metadata("design:type", Function),
|
|
18037
|
+
__metadata("design:paramtypes", [String, exports.AuthInfoInput]),
|
|
18038
|
+
__metadata("design:returntype", exports.VerificationRequestResult)
|
|
18039
|
+
], RuntimeResolver.prototype, "runtimeRequestLoginVerification", null);
|
|
18040
|
+
__decorate([
|
|
18041
|
+
Mutation(),
|
|
18042
|
+
__param(0, Arg()),
|
|
18043
|
+
__param(1, Arg()),
|
|
18044
|
+
__param(2, Arg()),
|
|
18045
|
+
__metadata("design:type", Function),
|
|
18046
|
+
__metadata("design:paramtypes", [String, String, String]),
|
|
18047
|
+
__metadata("design:returntype", String)
|
|
18048
|
+
], RuntimeResolver.prototype, "runtimeVerifyEmailCode", null);
|
|
18049
|
+
__decorate([
|
|
18050
|
+
Mutation(),
|
|
18051
|
+
__param(0, Arg()),
|
|
18052
|
+
__metadata("design:type", Function),
|
|
18053
|
+
__metadata("design:paramtypes", [String]),
|
|
18054
|
+
__metadata("design:returntype", Boolean)
|
|
18055
|
+
], RuntimeResolver.prototype, "runtimeTestEmail", null);
|
|
18056
|
+
__decorate([
|
|
18057
|
+
Mutation(),
|
|
18058
|
+
__param(0, Arg()),
|
|
18059
|
+
__param(1, Arg()),
|
|
18060
|
+
__param(2, Arg()),
|
|
18061
|
+
__metadata("design:type", Function),
|
|
18062
|
+
__metadata("design:paramtypes", [String, String, exports.AuthInfoInput]),
|
|
18063
|
+
__metadata("design:returntype", exports.UserCreationResult)
|
|
18064
|
+
], RuntimeResolver.prototype, "runtimeCreateUser", null);
|
|
18065
|
+
__decorate([
|
|
18066
|
+
Mutation(),
|
|
18067
|
+
__param(0, Arg()),
|
|
18068
|
+
__param(1, Arg()),
|
|
18069
|
+
__metadata("design:type", Function),
|
|
18070
|
+
__metadata("design:paramtypes", [String, String]),
|
|
18071
|
+
__metadata("design:returntype", String)
|
|
18072
|
+
], RuntimeResolver.prototype, "runtimeLoginUser", null);
|
|
18073
|
+
__decorate([
|
|
18074
|
+
Mutation(),
|
|
18075
|
+
__metadata("design:type", Function),
|
|
18076
|
+
__metadata("design:paramtypes", []),
|
|
18077
|
+
__metadata("design:returntype", Boolean)
|
|
18078
|
+
], RuntimeResolver.prototype, "runtimeEmailTestModeEnable", null);
|
|
18079
|
+
__decorate([
|
|
18080
|
+
Mutation(),
|
|
18081
|
+
__metadata("design:type", Function),
|
|
18082
|
+
__metadata("design:paramtypes", []),
|
|
18083
|
+
__metadata("design:returntype", Boolean)
|
|
18084
|
+
], RuntimeResolver.prototype, "runtimeEmailTestModeDisable", null);
|
|
18085
|
+
__decorate([
|
|
18086
|
+
Mutation(),
|
|
18087
|
+
__param(0, Arg()),
|
|
18088
|
+
__metadata("design:type", Function),
|
|
18089
|
+
__metadata("design:paramtypes", [String]),
|
|
18090
|
+
__metadata("design:returntype", String)
|
|
18091
|
+
], RuntimeResolver.prototype, "runtimeEmailTestGetCode", null);
|
|
18092
|
+
__decorate([
|
|
18093
|
+
Mutation(),
|
|
18094
|
+
__metadata("design:type", Function),
|
|
18095
|
+
__metadata("design:paramtypes", []),
|
|
18096
|
+
__metadata("design:returntype", Boolean)
|
|
18097
|
+
], RuntimeResolver.prototype, "runtimeEmailTestClearCodes", null);
|
|
18098
|
+
__decorate([
|
|
18099
|
+
Mutation(),
|
|
18100
|
+
__param(0, Arg()),
|
|
18101
|
+
__param(1, Arg()),
|
|
18102
|
+
__param(2, Arg()),
|
|
18103
|
+
__metadata("design:type", Function),
|
|
18104
|
+
__metadata("design:paramtypes", [String, String, Number]),
|
|
18105
|
+
__metadata("design:returntype", Boolean)
|
|
18106
|
+
], RuntimeResolver.prototype, "runtimeEmailTestSetExpiry", null);
|
|
17908
18107
|
RuntimeResolver = __decorate([
|
|
17909
18108
|
Resolver()
|
|
17910
18109
|
], RuntimeResolver);
|
package/lib/index.js
CHANGED
|
@@ -4067,29 +4067,6 @@ AuthInfoInput = __decorate$b([
|
|
|
4067
4067
|
InputType(),
|
|
4068
4068
|
__metadata$b("design:paramtypes", [String, String, String, String, String, Array])
|
|
4069
4069
|
], AuthInfoInput);
|
|
4070
|
-
let User = class User {
|
|
4071
|
-
constructor(username, did, password) {
|
|
4072
|
-
this.username = username;
|
|
4073
|
-
this.did = did;
|
|
4074
|
-
this.password = password;
|
|
4075
|
-
}
|
|
4076
|
-
};
|
|
4077
|
-
__decorate$b([
|
|
4078
|
-
Field(),
|
|
4079
|
-
__metadata$b("design:type", String)
|
|
4080
|
-
], User.prototype, "username", void 0);
|
|
4081
|
-
__decorate$b([
|
|
4082
|
-
Field(),
|
|
4083
|
-
__metadata$b("design:type", String)
|
|
4084
|
-
], User.prototype, "did", void 0);
|
|
4085
|
-
__decorate$b([
|
|
4086
|
-
Field(),
|
|
4087
|
-
__metadata$b("design:type", String)
|
|
4088
|
-
], User.prototype, "password", void 0);
|
|
4089
|
-
User = __decorate$b([
|
|
4090
|
-
ObjectType(),
|
|
4091
|
-
__metadata$b("design:paramtypes", [String, String, String])
|
|
4092
|
-
], User);
|
|
4093
4070
|
let UserCreationResult = class UserCreationResult {
|
|
4094
4071
|
constructor(did, success, error) {
|
|
4095
4072
|
this.did = did;
|
|
@@ -6905,16 +6882,16 @@ class AgentClient {
|
|
|
6905
6882
|
return agentSignMessage;
|
|
6906
6883
|
}
|
|
6907
6884
|
// Multi-user methods
|
|
6908
|
-
async createUser(email, password) {
|
|
6885
|
+
async createUser(email, password, appInfo) {
|
|
6909
6886
|
const { runtimeCreateUser } = unwrapApolloResult(await __classPrivateFieldGet$8(this, _AgentClient_apolloClient, "f").mutate({
|
|
6910
|
-
mutation: gql `mutation runtimeCreateUser($email: String!, $password: String
|
|
6911
|
-
runtimeCreateUser(email: $email, password: $password) {
|
|
6887
|
+
mutation: gql `mutation runtimeCreateUser($email: String!, $password: String!, $appInfo: AuthInfoInput) {
|
|
6888
|
+
runtimeCreateUser(email: $email, password: $password, appInfo: $appInfo) {
|
|
6912
6889
|
did
|
|
6913
6890
|
success
|
|
6914
6891
|
error
|
|
6915
6892
|
}
|
|
6916
6893
|
}`,
|
|
6917
|
-
variables: { email, password },
|
|
6894
|
+
variables: { email, password, appInfo },
|
|
6918
6895
|
}));
|
|
6919
6896
|
return runtimeCreateUser;
|
|
6920
6897
|
}
|
|
@@ -6927,6 +6904,28 @@ class AgentClient {
|
|
|
6927
6904
|
}));
|
|
6928
6905
|
return runtimeLoginUser;
|
|
6929
6906
|
}
|
|
6907
|
+
async requestLoginVerification(email, appInfo) {
|
|
6908
|
+
const { runtimeRequestLoginVerification } = unwrapApolloResult(await __classPrivateFieldGet$8(this, _AgentClient_apolloClient, "f").mutate({
|
|
6909
|
+
mutation: gql `mutation runtimeRequestLoginVerification($email: String!, $appInfo: AuthInfoInput) {
|
|
6910
|
+
runtimeRequestLoginVerification(email: $email, appInfo: $appInfo) {
|
|
6911
|
+
success
|
|
6912
|
+
message
|
|
6913
|
+
requiresPassword
|
|
6914
|
+
}
|
|
6915
|
+
}`,
|
|
6916
|
+
variables: { email, appInfo },
|
|
6917
|
+
}));
|
|
6918
|
+
return runtimeRequestLoginVerification;
|
|
6919
|
+
}
|
|
6920
|
+
async verifyEmailCode(email, code, verificationType) {
|
|
6921
|
+
const { runtimeVerifyEmailCode } = unwrapApolloResult(await __classPrivateFieldGet$8(this, _AgentClient_apolloClient, "f").mutate({
|
|
6922
|
+
mutation: gql `mutation runtimeVerifyEmailCode($email: String!, $code: String!, $verificationType: String!) {
|
|
6923
|
+
runtimeVerifyEmailCode(email: $email, code: $code, verificationType: $verificationType)
|
|
6924
|
+
}`,
|
|
6925
|
+
variables: { email, code, verificationType },
|
|
6926
|
+
}));
|
|
6927
|
+
return runtimeVerifyEmailCode;
|
|
6928
|
+
}
|
|
6930
6929
|
}
|
|
6931
6930
|
_AgentClient_apolloClient = new WeakMap(), _AgentClient_appsChangedCallback = new WeakMap(), _AgentClient_updatedCallbacks = new WeakMap(), _AgentClient_agentStatusChangedCallbacks = new WeakMap();
|
|
6932
6931
|
|
|
@@ -7705,6 +7704,48 @@ class RuntimeClient {
|
|
|
7705
7704
|
}));
|
|
7706
7705
|
return runtimeListUsers;
|
|
7707
7706
|
}
|
|
7707
|
+
async emailTestModeEnable() {
|
|
7708
|
+
const { runtimeEmailTestModeEnable } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7709
|
+
mutation: gql `mutation runtimeEmailTestModeEnable {
|
|
7710
|
+
runtimeEmailTestModeEnable
|
|
7711
|
+
}`
|
|
7712
|
+
}));
|
|
7713
|
+
return runtimeEmailTestModeEnable;
|
|
7714
|
+
}
|
|
7715
|
+
async emailTestModeDisable() {
|
|
7716
|
+
const { runtimeEmailTestModeDisable } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7717
|
+
mutation: gql `mutation runtimeEmailTestModeDisable {
|
|
7718
|
+
runtimeEmailTestModeDisable
|
|
7719
|
+
}`
|
|
7720
|
+
}));
|
|
7721
|
+
return runtimeEmailTestModeDisable;
|
|
7722
|
+
}
|
|
7723
|
+
async emailTestGetCode(email) {
|
|
7724
|
+
const { runtimeEmailTestGetCode } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7725
|
+
mutation: gql `mutation runtimeEmailTestGetCode($email: String!) {
|
|
7726
|
+
runtimeEmailTestGetCode(email: $email)
|
|
7727
|
+
}`,
|
|
7728
|
+
variables: { email }
|
|
7729
|
+
}));
|
|
7730
|
+
return runtimeEmailTestGetCode;
|
|
7731
|
+
}
|
|
7732
|
+
async emailTestClearCodes() {
|
|
7733
|
+
const { runtimeEmailTestClearCodes } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7734
|
+
mutation: gql `mutation runtimeEmailTestClearCodes {
|
|
7735
|
+
runtimeEmailTestClearCodes
|
|
7736
|
+
}`
|
|
7737
|
+
}));
|
|
7738
|
+
return runtimeEmailTestClearCodes;
|
|
7739
|
+
}
|
|
7740
|
+
async emailTestSetExpiry(email, verificationType, expiresAt) {
|
|
7741
|
+
const { runtimeEmailTestSetExpiry } = unwrapApolloResult(await __classPrivateFieldGet$5(this, _RuntimeClient_apolloClient, "f").mutate({
|
|
7742
|
+
mutation: gql `mutation runtimeEmailTestSetExpiry($email: String!, $verificationType: String!, $expiresAt: Int!) {
|
|
7743
|
+
runtimeEmailTestSetExpiry(email: $email, verificationType: $verificationType, expiresAt: $expiresAt)
|
|
7744
|
+
}`,
|
|
7745
|
+
variables: { email, verificationType, expiresAt }
|
|
7746
|
+
}));
|
|
7747
|
+
return runtimeEmailTestSetExpiry;
|
|
7748
|
+
}
|
|
7708
7749
|
addNotificationTriggeredCallback(cb) {
|
|
7709
7750
|
__classPrivateFieldGet$5(this, _RuntimeClient_notificationTriggeredCallbacks, "f").push(cb);
|
|
7710
7751
|
}
|
|
@@ -16976,6 +17017,12 @@ type Mutation {
|
|
|
16976
17017
|
perspectiveUpdateLink(batchId: String, newLink: LinkInput!, oldLink: LinkExpressionInput!, uuid: String!): LinkExpression!
|
|
16977
17018
|
runtimeAddFriends(dids: [String!]!): [String!]!
|
|
16978
17019
|
runtimeAddKnownLinkLanguageTemplates(addresses: [String!]!): [String!]!
|
|
17020
|
+
runtimeCreateUser(appInfo: AuthInfoInput, email: String!, password: String!): UserCreationResult!
|
|
17021
|
+
runtimeEmailTestClearCodes: Boolean!
|
|
17022
|
+
runtimeEmailTestGetCode(email: String!): String
|
|
17023
|
+
runtimeEmailTestModeDisable: Boolean!
|
|
17024
|
+
runtimeEmailTestModeEnable: Boolean!
|
|
17025
|
+
runtimeEmailTestSetExpiry(email: String!, expiresAt: Float!, verificationType: String!): Boolean!
|
|
16979
17026
|
runtimeExportDb(filePath: String!): Boolean!
|
|
16980
17027
|
runtimeExportPerspective(filePath: String!, perspectiveUuid: String!): Boolean!
|
|
16981
17028
|
runtimeFriendSendMessage(did: String!, message: PerspectiveInput!): Boolean!
|
|
@@ -16983,16 +17030,20 @@ type Mutation {
|
|
|
16983
17030
|
runtimeHcAddAgentInfos(agentInfos: String!): Boolean!
|
|
16984
17031
|
runtimeImportDb(filePath: String!): Boolean!
|
|
16985
17032
|
runtimeImportPerspective(filePath: String!): Boolean!
|
|
17033
|
+
runtimeLoginUser(email: String!, password: String!): String!
|
|
16986
17034
|
runtimeOpenLink(url: String!): Boolean!
|
|
16987
17035
|
runtimeQuit: Boolean!
|
|
16988
17036
|
runtimeRemoveFriends(dids: [String!]!): [String!]!
|
|
16989
17037
|
runtimeRemoveKnownLinkLanguageTemplates(addresses: [String!]!): [String!]!
|
|
16990
17038
|
runtimeRemoveNotification(id: String!): Boolean!
|
|
16991
17039
|
runtimeRequestInstallNotification(notification: NotificationInput!): String!
|
|
17040
|
+
runtimeRequestLoginVerification(appInfo: AuthInfoInput, email: String!): VerificationRequestResult!
|
|
16992
17041
|
runtimeRestartHolochain: Boolean!
|
|
16993
17042
|
runtimeSetMultiUserEnabled(enabled: Boolean!): Boolean!
|
|
16994
17043
|
runtimeSetStatus(status: PerspectiveInput!): Boolean!
|
|
17044
|
+
runtimeTestEmail(to: String!): Boolean!
|
|
16995
17045
|
runtimeUpdateNotification(id: String!, notification: NotificationInput!): Boolean!
|
|
17046
|
+
runtimeVerifyEmailCode(code: String!, email: String!, verificationType: String!): String!
|
|
16996
17047
|
}
|
|
16997
17048
|
|
|
16998
17049
|
type Neighbourhood {
|
|
@@ -17170,6 +17221,12 @@ type TriggeredNotification {
|
|
|
17170
17221
|
triggerMatch: String!
|
|
17171
17222
|
}
|
|
17172
17223
|
|
|
17224
|
+
type UserCreationResult {
|
|
17225
|
+
did: String!
|
|
17226
|
+
error: String
|
|
17227
|
+
success: Boolean!
|
|
17228
|
+
}
|
|
17229
|
+
|
|
17173
17230
|
type UserStatistics {
|
|
17174
17231
|
did: String!
|
|
17175
17232
|
email: String!
|
|
@@ -17177,6 +17234,12 @@ type UserStatistics {
|
|
|
17177
17234
|
perspectiveCount: Int!
|
|
17178
17235
|
}
|
|
17179
17236
|
|
|
17237
|
+
type VerificationRequestResult {
|
|
17238
|
+
message: String!
|
|
17239
|
+
requiresPassword: Boolean!
|
|
17240
|
+
success: Boolean!
|
|
17241
|
+
}
|
|
17242
|
+
|
|
17180
17243
|
input VoiceActivityParamsInput {
|
|
17181
17244
|
endThreshold: Float
|
|
17182
17245
|
endWindow: Float
|
|
@@ -17486,6 +17549,23 @@ __decorate([
|
|
|
17486
17549
|
UserStatistics = __decorate([
|
|
17487
17550
|
ObjectType()
|
|
17488
17551
|
], UserStatistics);
|
|
17552
|
+
let VerificationRequestResult = class VerificationRequestResult {
|
|
17553
|
+
};
|
|
17554
|
+
__decorate([
|
|
17555
|
+
Field(),
|
|
17556
|
+
__metadata("design:type", Boolean)
|
|
17557
|
+
], VerificationRequestResult.prototype, "success", void 0);
|
|
17558
|
+
__decorate([
|
|
17559
|
+
Field(),
|
|
17560
|
+
__metadata("design:type", String)
|
|
17561
|
+
], VerificationRequestResult.prototype, "message", void 0);
|
|
17562
|
+
__decorate([
|
|
17563
|
+
Field(),
|
|
17564
|
+
__metadata("design:type", Boolean)
|
|
17565
|
+
], VerificationRequestResult.prototype, "requiresPassword", void 0);
|
|
17566
|
+
VerificationRequestResult = __decorate([
|
|
17567
|
+
ObjectType()
|
|
17568
|
+
], VerificationRequestResult);
|
|
17489
17569
|
/**
|
|
17490
17570
|
* Resolver classes are used here to define the GraphQL schema
|
|
17491
17571
|
* (through the type-graphql annotations)
|
|
@@ -17649,6 +17729,50 @@ let RuntimeResolver = class RuntimeResolver {
|
|
|
17649
17729
|
perspectiveCount: 5
|
|
17650
17730
|
}];
|
|
17651
17731
|
}
|
|
17732
|
+
runtimeRequestLoginVerification(email, appInfo) {
|
|
17733
|
+
// For testing: simulate existing user
|
|
17734
|
+
return {
|
|
17735
|
+
success: true,
|
|
17736
|
+
message: "Verification email sent",
|
|
17737
|
+
requiresPassword: false
|
|
17738
|
+
};
|
|
17739
|
+
}
|
|
17740
|
+
runtimeVerifyEmailCode(email, code, verificationType) {
|
|
17741
|
+
// For testing: return a test JWT token
|
|
17742
|
+
return "test-jwt-token-from-email-verification";
|
|
17743
|
+
}
|
|
17744
|
+
runtimeTestEmail(to) {
|
|
17745
|
+
// For testing: simulate successful email send
|
|
17746
|
+
return true;
|
|
17747
|
+
}
|
|
17748
|
+
runtimeCreateUser(email, password, appInfo) {
|
|
17749
|
+
// For testing: simulate successful user creation (email verification flow)
|
|
17750
|
+
return new UserCreationResult("did:key:test123", true);
|
|
17751
|
+
}
|
|
17752
|
+
runtimeLoginUser(email, password) {
|
|
17753
|
+
// For testing: return a test JWT token
|
|
17754
|
+
return "test-jwt-token-from-password-login";
|
|
17755
|
+
}
|
|
17756
|
+
runtimeEmailTestModeEnable() {
|
|
17757
|
+
// For testing: enable test mode
|
|
17758
|
+
return true;
|
|
17759
|
+
}
|
|
17760
|
+
runtimeEmailTestModeDisable() {
|
|
17761
|
+
// For testing: disable test mode
|
|
17762
|
+
return true;
|
|
17763
|
+
}
|
|
17764
|
+
runtimeEmailTestGetCode(email) {
|
|
17765
|
+
// For testing: return a mock code
|
|
17766
|
+
return "123456";
|
|
17767
|
+
}
|
|
17768
|
+
runtimeEmailTestClearCodes() {
|
|
17769
|
+
// For testing: clear codes
|
|
17770
|
+
return true;
|
|
17771
|
+
}
|
|
17772
|
+
runtimeEmailTestSetExpiry(email, verificationType, expiresAt) {
|
|
17773
|
+
// For testing: simulate setting expiry (no-op in mock)
|
|
17774
|
+
return true;
|
|
17775
|
+
}
|
|
17652
17776
|
};
|
|
17653
17777
|
__decorate([
|
|
17654
17778
|
Mutation(),
|
|
@@ -17901,6 +18025,81 @@ __decorate([
|
|
|
17901
18025
|
__metadata("design:paramtypes", []),
|
|
17902
18026
|
__metadata("design:returntype", Array)
|
|
17903
18027
|
], RuntimeResolver.prototype, "runtimeListUsers", null);
|
|
18028
|
+
__decorate([
|
|
18029
|
+
Mutation(),
|
|
18030
|
+
__param(0, Arg()),
|
|
18031
|
+
__param(1, Arg()),
|
|
18032
|
+
__metadata("design:type", Function),
|
|
18033
|
+
__metadata("design:paramtypes", [String, AuthInfoInput]),
|
|
18034
|
+
__metadata("design:returntype", VerificationRequestResult)
|
|
18035
|
+
], RuntimeResolver.prototype, "runtimeRequestLoginVerification", null);
|
|
18036
|
+
__decorate([
|
|
18037
|
+
Mutation(),
|
|
18038
|
+
__param(0, Arg()),
|
|
18039
|
+
__param(1, Arg()),
|
|
18040
|
+
__param(2, Arg()),
|
|
18041
|
+
__metadata("design:type", Function),
|
|
18042
|
+
__metadata("design:paramtypes", [String, String, String]),
|
|
18043
|
+
__metadata("design:returntype", String)
|
|
18044
|
+
], RuntimeResolver.prototype, "runtimeVerifyEmailCode", null);
|
|
18045
|
+
__decorate([
|
|
18046
|
+
Mutation(),
|
|
18047
|
+
__param(0, Arg()),
|
|
18048
|
+
__metadata("design:type", Function),
|
|
18049
|
+
__metadata("design:paramtypes", [String]),
|
|
18050
|
+
__metadata("design:returntype", Boolean)
|
|
18051
|
+
], RuntimeResolver.prototype, "runtimeTestEmail", null);
|
|
18052
|
+
__decorate([
|
|
18053
|
+
Mutation(),
|
|
18054
|
+
__param(0, Arg()),
|
|
18055
|
+
__param(1, Arg()),
|
|
18056
|
+
__param(2, Arg()),
|
|
18057
|
+
__metadata("design:type", Function),
|
|
18058
|
+
__metadata("design:paramtypes", [String, String, AuthInfoInput]),
|
|
18059
|
+
__metadata("design:returntype", UserCreationResult)
|
|
18060
|
+
], RuntimeResolver.prototype, "runtimeCreateUser", null);
|
|
18061
|
+
__decorate([
|
|
18062
|
+
Mutation(),
|
|
18063
|
+
__param(0, Arg()),
|
|
18064
|
+
__param(1, Arg()),
|
|
18065
|
+
__metadata("design:type", Function),
|
|
18066
|
+
__metadata("design:paramtypes", [String, String]),
|
|
18067
|
+
__metadata("design:returntype", String)
|
|
18068
|
+
], RuntimeResolver.prototype, "runtimeLoginUser", null);
|
|
18069
|
+
__decorate([
|
|
18070
|
+
Mutation(),
|
|
18071
|
+
__metadata("design:type", Function),
|
|
18072
|
+
__metadata("design:paramtypes", []),
|
|
18073
|
+
__metadata("design:returntype", Boolean)
|
|
18074
|
+
], RuntimeResolver.prototype, "runtimeEmailTestModeEnable", null);
|
|
18075
|
+
__decorate([
|
|
18076
|
+
Mutation(),
|
|
18077
|
+
__metadata("design:type", Function),
|
|
18078
|
+
__metadata("design:paramtypes", []),
|
|
18079
|
+
__metadata("design:returntype", Boolean)
|
|
18080
|
+
], RuntimeResolver.prototype, "runtimeEmailTestModeDisable", null);
|
|
18081
|
+
__decorate([
|
|
18082
|
+
Mutation(),
|
|
18083
|
+
__param(0, Arg()),
|
|
18084
|
+
__metadata("design:type", Function),
|
|
18085
|
+
__metadata("design:paramtypes", [String]),
|
|
18086
|
+
__metadata("design:returntype", String)
|
|
18087
|
+
], RuntimeResolver.prototype, "runtimeEmailTestGetCode", null);
|
|
18088
|
+
__decorate([
|
|
18089
|
+
Mutation(),
|
|
18090
|
+
__metadata("design:type", Function),
|
|
18091
|
+
__metadata("design:paramtypes", []),
|
|
18092
|
+
__metadata("design:returntype", Boolean)
|
|
18093
|
+
], RuntimeResolver.prototype, "runtimeEmailTestClearCodes", null);
|
|
18094
|
+
__decorate([
|
|
18095
|
+
Mutation(),
|
|
18096
|
+
__param(0, Arg()),
|
|
18097
|
+
__param(1, Arg()),
|
|
18098
|
+
__param(2, Arg()),
|
|
18099
|
+
__metadata("design:type", Function),
|
|
18100
|
+
__metadata("design:paramtypes", [String, String, Number]),
|
|
18101
|
+
__metadata("design:returntype", Boolean)
|
|
18102
|
+
], RuntimeResolver.prototype, "runtimeEmailTestSetExpiry", null);
|
|
17904
18103
|
RuntimeResolver = __decorate([
|
|
17905
18104
|
Resolver()
|
|
17906
18105
|
], RuntimeResolver);
|
|
@@ -20486,4 +20685,4 @@ class ModelQueryBuilder {
|
|
|
20486
20685
|
}
|
|
20487
20686
|
}
|
|
20488
20687
|
|
|
20489
|
-
export { AIClient, AIModelLoadingStatus, AIPromptExamples, AIPromptExamplesInput, AITask, AITaskInput, Ad4mClient, Ad4mModel, Agent, AgentClient, AgentExpression, AgentSignature, AgentStatus, Apps, AuthInfo, AuthInfoInput, Capability, CapabilityInput, Collection, Dna, EntanglementProof, EntanglementProofInput, ExceptionInfo, ExceptionType, Expression, ExpressionGeneric, ExpressionGenericInput, ExpressionProof, ExpressionProofInput, ExpressionRef, ExpressionRendered, Flag, Icon, ImportResult, ImportStats, InstanceQuery, InteractionCall, InteractionMeta, InteractionParameter, LanguageExpression, LanguageHandle, LanguageLanguageInput, LanguageMeta, LanguageMetaInput, LanguageMetaInternal, LanguageRef, Link, LinkExpression, LinkExpressionInput, LinkExpressionMutations, LinkExpressionUpdated, LinkInput, LinkMutations, LinkQuery, Literal, ModelOptions, ModelQueryBuilder, Neighbourhood, NeighbourhoodExpression, NeighbourhoodProxy, Notification, NotificationInput, OnlineAgent, Optional, Perspective, PerspectiveAction, PerspectiveDiff, PerspectiveDiffExpression, PerspectiveExpression, PerspectiveHandle, PerspectiveInput, PerspectiveProxy, PerspectiveState, PerspectiveUnsignedInput, Property, QuerySubscriptionProxy, ReadOnly, Resource, ResourceInput, RuntimeInfo, SMART_LITERAL_CONTENT_PREDICATE, SentMessage, SmartLiteral, Subject, TriggeredNotification,
|
|
20688
|
+
export { AIClient, AIModelLoadingStatus, AIPromptExamples, AIPromptExamplesInput, AITask, AITaskInput, Ad4mClient, Ad4mModel, Agent, AgentClient, AgentExpression, AgentSignature, AgentStatus, Apps, AuthInfo, AuthInfoInput, Capability, CapabilityInput, Collection, Dna, EntanglementProof, EntanglementProofInput, ExceptionInfo, ExceptionType, Expression, ExpressionGeneric, ExpressionGenericInput, ExpressionProof, ExpressionProofInput, ExpressionRef, ExpressionRendered, Flag, Icon, ImportResult, ImportStats, InstanceQuery, InteractionCall, InteractionMeta, InteractionParameter, LanguageExpression, LanguageHandle, LanguageLanguageInput, LanguageMeta, LanguageMetaInput, LanguageMetaInternal, LanguageRef, Link, LinkExpression, LinkExpressionInput, LinkExpressionMutations, LinkExpressionUpdated, LinkInput, LinkMutations, LinkQuery, Literal, ModelOptions, ModelQueryBuilder, Neighbourhood, NeighbourhoodExpression, NeighbourhoodProxy, Notification, NotificationInput, OnlineAgent, Optional, Perspective, PerspectiveAction, PerspectiveDiff, PerspectiveDiffExpression, PerspectiveExpression, PerspectiveHandle, PerspectiveInput, PerspectiveProxy, PerspectiveState, PerspectiveUnsignedInput, Property, QuerySubscriptionProxy, ReadOnly, Resource, ResourceInput, RuntimeInfo, SMART_LITERAL_CONTENT_PREDICATE, SentMessage, SmartLiteral, Subject, TriggeredNotification, UserCreationResult, UserStatistics, VerificationRequestResult, addLink, capSentence, exprRef2String, formatList, hasLink, isExpression, isLink, linkEqual, makeRandomPrologAtom, parseExprUrl, typeDefsString };
|