@wowok/agent-mcp 2.7.3 → 2.7.4
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/evaluation/builtins/arbitration-score.d.ts +1 -1
- package/dist/evaluation/builtins/arbitration-score.js +1 -1
- package/dist/index.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/demand-confirm.js +1 -1
- package/dist/knowledge/demand-risk.js +1 -1
- package/dist/knowledge/demand-translation.js +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/index.d.ts +2 -2
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/onchain-constants.d.ts +2 -2
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/payment-risk.js +1 -1
- package/dist/knowledge/permission-context.d.ts +11 -0
- package/dist/knowledge/permission-context.js +1 -1
- package/dist/knowledge/personal-risk.js +1 -1
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/progress-templates.js +1 -1
- package/dist/knowledge/progress-translation.js +1 -1
- package/dist/knowledge/registrar-risk.js +1 -1
- package/dist/knowledge/registrar-translation.js +1 -1
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/reward-translation.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/treasury-context.d.ts +1 -1
- package/dist/knowledge/treasury-context.js +1 -1
- package/dist/knowledge/treasury-ledger.js +1 -1
- package/dist/knowledge/treasury-risk.js +1 -1
- package/dist/knowledge/util-confirm.js +1 -1
- package/dist/knowledge/util-risk.js +1 -1
- package/dist/knowledge/util-translation.d.ts +3 -2
- package/dist/knowledge/util-translation.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +64 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/project/evaluation.js +1 -1
- package/dist/project/graph-builder.d.ts +2 -2
- package/dist/project/graph-builder.js +1 -1
- package/dist/project/semantic-assembler.d.ts +2 -2
- package/dist/project/semantic-assembler.js +1 -1
- package/dist/schema/evaluation/index.d.ts +1 -1
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/index.d.ts +2 -0
- package/dist/schema/index.js +1 -1
- package/dist/schema/operations.d.ts +251 -2
- package/dist/schema/operations.js +1 -1
- package/dist/schema/permission/index.d.ts +121 -0
- package/dist/schema/permission/index.js +1 -0
- package/dist/schema/query/index.d.ts +223 -22
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workflow/index.d.ts +161 -0
- package/dist/schema/workflow/index.js +1 -0
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/evaluation_operation.schema.json +2 -2
- package/dist/schemas/index.json +13 -1
- package/dist/schemas/onchain_table_data.output.json +821 -5
- package/dist/schemas/onchain_table_data.schema.json +154 -1
- package/dist/schemas/permission_operation.output.json +173 -0
- package/dist/schemas/permission_operation.schema.json +39 -0
- package/dist/schemas/query_toolkit.output.json +15 -15
- package/dist/schemas/workflow_operation.output.json +164 -0
- package/dist/schemas/workflow_operation.schema.json +116 -0
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/permission.d.ts +2 -0
- package/dist/tools/handlers/permission.js +1 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/workflow.d.ts +2 -0
- package/dist/tools/handlers/workflow.js +1 -0
- package/dist/tools/handlers/workspace.d.ts +2 -0
- package/dist/tools/handlers/workspace.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PermissionAccountRoleSchema: z.ZodObject<{
|
|
3
|
+
account: z.ZodString;
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
role: z.ZodNumber;
|
|
6
|
+
time: z.ZodNumber;
|
|
7
|
+
is_owner: z.ZodBoolean;
|
|
8
|
+
is_admin: z.ZodBoolean;
|
|
9
|
+
is_entity: z.ZodBoolean;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export declare const PermissionRelatedAccountsSchema: z.ZodObject<{
|
|
12
|
+
owner: z.ZodNumber;
|
|
13
|
+
admin: z.ZodNumber;
|
|
14
|
+
entity: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export declare const PermissionRelatedObjectGroupSchema: z.ZodObject<{
|
|
17
|
+
type: z.ZodString;
|
|
18
|
+
count: z.ZodNumber;
|
|
19
|
+
objects: z.ZodArray<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export declare const PermissionRowSchema: z.ZodObject<{
|
|
22
|
+
permission: z.ZodString;
|
|
23
|
+
description: z.ZodString;
|
|
24
|
+
owner: z.ZodString;
|
|
25
|
+
updated_timestamp_ms: z.ZodOptional<z.ZodString>;
|
|
26
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
27
|
+
account: z.ZodString;
|
|
28
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29
|
+
role: z.ZodNumber;
|
|
30
|
+
time: z.ZodNumber;
|
|
31
|
+
is_owner: z.ZodBoolean;
|
|
32
|
+
is_admin: z.ZodBoolean;
|
|
33
|
+
is_entity: z.ZodBoolean;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
related_accounts: z.ZodObject<{
|
|
36
|
+
owner: z.ZodNumber;
|
|
37
|
+
admin: z.ZodNumber;
|
|
38
|
+
entity: z.ZodNumber;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
related_objects: z.ZodArray<z.ZodObject<{
|
|
41
|
+
type: z.ZodString;
|
|
42
|
+
count: z.ZodNumber;
|
|
43
|
+
objects: z.ZodArray<z.ZodString>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
related_object_count: z.ZodNumber;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
export declare const PermissionOperationInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
48
|
+
action: z.ZodLiteral<"list">;
|
|
49
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
network: z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
testnet: import("@wowok/wowok").ENTRYPOINT.Testnet;
|
|
52
|
+
localnet: import("@wowok/wowok").ENTRYPOINT.Localnet;
|
|
53
|
+
mainnet: import("@wowok/wowok").ENTRYPOINT.Mainnet;
|
|
54
|
+
}>>;
|
|
55
|
+
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
}, z.core.$strip>], "action">;
|
|
57
|
+
export declare const PermissionOperationResultSchema: z.ZodObject<{
|
|
58
|
+
action: z.ZodLiteral<"list">;
|
|
59
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
60
|
+
permission: z.ZodString;
|
|
61
|
+
description: z.ZodString;
|
|
62
|
+
owner: z.ZodString;
|
|
63
|
+
updated_timestamp_ms: z.ZodOptional<z.ZodString>;
|
|
64
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
65
|
+
account: z.ZodString;
|
|
66
|
+
name: z.ZodOptional<z.ZodString>;
|
|
67
|
+
role: z.ZodNumber;
|
|
68
|
+
time: z.ZodNumber;
|
|
69
|
+
is_owner: z.ZodBoolean;
|
|
70
|
+
is_admin: z.ZodBoolean;
|
|
71
|
+
is_entity: z.ZodBoolean;
|
|
72
|
+
}, z.core.$strip>>;
|
|
73
|
+
related_accounts: z.ZodObject<{
|
|
74
|
+
owner: z.ZodNumber;
|
|
75
|
+
admin: z.ZodNumber;
|
|
76
|
+
entity: z.ZodNumber;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
related_objects: z.ZodArray<z.ZodObject<{
|
|
79
|
+
type: z.ZodString;
|
|
80
|
+
count: z.ZodNumber;
|
|
81
|
+
objects: z.ZodArray<z.ZodString>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
related_object_count: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
note: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
export declare const PermissionOperationOutputSchema: z.ZodObject<{
|
|
88
|
+
result: z.ZodObject<{
|
|
89
|
+
action: z.ZodLiteral<"list">;
|
|
90
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
91
|
+
permission: z.ZodString;
|
|
92
|
+
description: z.ZodString;
|
|
93
|
+
owner: z.ZodString;
|
|
94
|
+
updated_timestamp_ms: z.ZodOptional<z.ZodString>;
|
|
95
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
96
|
+
account: z.ZodString;
|
|
97
|
+
name: z.ZodOptional<z.ZodString>;
|
|
98
|
+
role: z.ZodNumber;
|
|
99
|
+
time: z.ZodNumber;
|
|
100
|
+
is_owner: z.ZodBoolean;
|
|
101
|
+
is_admin: z.ZodBoolean;
|
|
102
|
+
is_entity: z.ZodBoolean;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
related_accounts: z.ZodObject<{
|
|
105
|
+
owner: z.ZodNumber;
|
|
106
|
+
admin: z.ZodNumber;
|
|
107
|
+
entity: z.ZodNumber;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
related_objects: z.ZodArray<z.ZodObject<{
|
|
110
|
+
type: z.ZodString;
|
|
111
|
+
count: z.ZodNumber;
|
|
112
|
+
objects: z.ZodArray<z.ZodString>;
|
|
113
|
+
}, z.core.$strip>>;
|
|
114
|
+
related_object_count: z.ZodNumber;
|
|
115
|
+
}, z.core.$strip>>;
|
|
116
|
+
note: z.ZodOptional<z.ZodString>;
|
|
117
|
+
}, z.core.$strip>;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
export type PermissionOperationInput = z.infer<typeof PermissionOperationInputSchema>;
|
|
120
|
+
export type PermissionRow = z.infer<typeof PermissionRowSchema>;
|
|
121
|
+
export type PermissionAccountRole = z.infer<typeof PermissionAccountRoleSchema>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z}from'zod';import{EntrypointSchema}from'../common/index.js';export const PermissionAccountRoleSchema=z['object']({'account':z['string']()['describe']('Local\x20account\x20address'),'name':z['string']()['optional']()['describe']('Local\x20account\x20name\x20(if\x20any)'),'role':z['number']()['describe']('Role\x20bitmask:\x201=owner,\x202=admin,\x204=entity'),'time':z['number']()['describe']('Unix\x20ms\x20when\x20the\x20account\x27s\x20role\x20in\x20this\x20permission\x20was\x20last\x20modified\x20(entity_permission\x20clock)'),'is_owner':z['boolean']()['describe']('Account\x20holds\x20the\x20owner\x20role'),'is_admin':z['boolean']()['describe']('Account\x20holds\x20the\x20admin\x20role'),'is_entity':z['boolean']()['describe']('Account\x20holds\x20the\x20entity\x20(member)\x20role')})['describe']('A\x20local\x20account\x20and\x20its\x20role(s)\x20in\x20the\x20permission');export const PermissionRelatedAccountsSchema=z['object']({'owner':z['number']()['describe']('Number\x20of\x20owner\x20accounts\x20(0\x20or\x201)'),'admin':z['number']()['describe']('Number\x20of\x20admin\x20accounts'),'entity':z['number']()['describe']('Number\x20of\x20entity\x20(member)\x20accounts')})['describe']('Total\x20related\x20accounts,\x20broken\x20down\x20by\x20role');export const PermissionRelatedObjectGroupSchema=z['object']({'type':z['string']()['describe']('Object\x20type\x20name\x20(from\x20address\x20first-byte\x20tag)'),'count':z['number']()['describe']('Number\x20of\x20objects\x20of\x20this\x20type'),'objects':z['array'](z['string']())['describe']('Object\x20addresses\x20of\x20this\x20type')})['describe']('A\x20group\x20of\x20related\x20objects\x20of\x20the\x20same\x20type');export const PermissionRowSchema=z['object']({'permission':z['string']()['describe']('Permission\x20object\x20address'),'description':z['string']()['describe']('Permission\x20description'),'owner':z['string']()['describe']('Owner\x20address'),'updated_timestamp_ms':z['string']()['optional']()['describe']('Unix\x20ms\x20of\x20the\x20latest\x20transaction\x20touching\x20this\x20Permission\x20(via\x20previousTransaction)'),'accounts':z['array'](PermissionAccountRoleSchema)['describe']('LOCAL\x20accounts\x20related\x20to\x20this\x20permission\x20+\x20their\x20roles'),'related_accounts':PermissionRelatedAccountsSchema['describe']('Total\x20related\x20accounts\x20by\x20role'),'related_objects':z['array'](PermissionRelatedObjectGroupSchema)['describe']('Related\x20objects\x20grouped\x20by\x20type\x20(via\x20object\x20linker\x20core/tx)'),'related_object_count':z['number']()['describe']('Total\x20related\x20object\x20count')})['describe']('A\x20Permission\x20object\x20with\x20metadata\x20+\x20related\x20accounts\x20+\x20related\x20objects');export const PermissionOperationInputSchema=z['discriminatedUnion']('action',[z['object']({'action':z['literal']('list'),'limit':z['number']()['int']()['min'](0x1)['max'](0xc8)['optional']()['describe']('Max\x20number\x20of\x20permissions\x20to\x20return\x20(default\x20100)'),'network':EntrypointSchema['optional'](),'no_cache':z['boolean']()['optional']()})])['describe']('permission_operation\x20input.\x20action=\x27list\x27\x20enumerates\x20Permissions\x20related\x20to\x20local\x20accounts.');export const PermissionOperationResultSchema=z['object']({'action':z['literal']('list'),'permissions':z['array'](PermissionRowSchema)['describe']('Deduplicated\x20permissions\x20related\x20to\x20local\x20accounts'),'note':z['string']()['optional']()})['describe']('permission_operation\x20result');export const PermissionOperationOutputSchema=z['object']({'result':PermissionOperationResultSchema})['describe']('permission_operation\x20output\x20envelope');
|
|
@@ -85,10 +85,10 @@ export declare const RecordsInEntitySchema: z.ZodObject<{
|
|
|
85
85
|
}, z.core.$strip>;
|
|
86
86
|
export declare const PermissionIndexTypeSchema: z.ZodNumber;
|
|
87
87
|
export declare const VoteInEntityLinkerSchema: z.ZodObject<{
|
|
88
|
-
|
|
88
|
+
who: z.ZodString;
|
|
89
89
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
90
90
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
-
|
|
91
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
92
92
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
93
93
|
}, z.core.$strip>;
|
|
94
94
|
export declare const ObjectEntityRegistrarSchema: z.ZodObject<{
|
|
@@ -341,10 +341,208 @@ export declare const TableItem_EntityLinkerSchema: z.ZodObject<{
|
|
|
341
341
|
pos: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
342
342
|
count: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
343
343
|
votes: z.ZodArray<z.ZodObject<{
|
|
344
|
-
|
|
344
|
+
who: z.ZodString;
|
|
345
345
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
346
346
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
-
|
|
347
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
+
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
349
|
+
}, z.core.$strip>>;
|
|
350
|
+
}, z.core.$loose>;
|
|
351
|
+
export declare const TableItem_EntityContactSchema: z.ZodObject<{
|
|
352
|
+
object: z.ZodString;
|
|
353
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
354
|
+
Permission: import("@wowok/wowok").ObjectType.Permission;
|
|
355
|
+
Repository: import("@wowok/wowok").ObjectType.Repository;
|
|
356
|
+
Arb: import("@wowok/wowok").ObjectType.Arb;
|
|
357
|
+
Arbitration: import("@wowok/wowok").ObjectType.Arbitration;
|
|
358
|
+
Service: import("@wowok/wowok").ObjectType.Service;
|
|
359
|
+
Machine: import("@wowok/wowok").ObjectType.Machine;
|
|
360
|
+
Order: import("@wowok/wowok").ObjectType.Order;
|
|
361
|
+
Progress: import("@wowok/wowok").ObjectType.Progress;
|
|
362
|
+
Payment: import("@wowok/wowok").ObjectType.Payment;
|
|
363
|
+
Treasury: import("@wowok/wowok").ObjectType.Treasury;
|
|
364
|
+
Guard: import("@wowok/wowok").ObjectType.Guard;
|
|
365
|
+
Demand: import("@wowok/wowok").ObjectType.Demand;
|
|
366
|
+
Passport: import("@wowok/wowok").ObjectType.Passport;
|
|
367
|
+
Allocation: import("@wowok/wowok").ObjectType.Allocation;
|
|
368
|
+
Resource: import("@wowok/wowok").ObjectType.Resource;
|
|
369
|
+
Reward: import("@wowok/wowok").ObjectType.Reward;
|
|
370
|
+
Discount: import("@wowok/wowok").ObjectType.Discount;
|
|
371
|
+
EntityRegistrar: import("@wowok/wowok").ObjectType.EntityRegistrar;
|
|
372
|
+
EntityLinker: import("@wowok/wowok").ObjectType.EntityLinker;
|
|
373
|
+
Proof: import("@wowok/wowok").ObjectType.Proof;
|
|
374
|
+
Contact: import("@wowok/wowok").ObjectType.Contact;
|
|
375
|
+
WReceivedObject: import("@wowok/wowok").ObjectType.WReceivedObject;
|
|
376
|
+
TableItem_ProgressHistory: import("@wowok/wowok").ObjectType.TableItem_ProgressHistory;
|
|
377
|
+
TableItem_PermissionPerm: import("@wowok/wowok").ObjectType.TableItem_PermissionPerm;
|
|
378
|
+
TableItem_DemandPresenter: import("@wowok/wowok").ObjectType.TableItem_DemandPresenter;
|
|
379
|
+
TableItem_MachineNode: import("@wowok/wowok").ObjectType.TableItem_MachineNode;
|
|
380
|
+
TableItem_TreasuryHistory: import("@wowok/wowok").ObjectType.TableItem_TreasuryHistory;
|
|
381
|
+
TableItem_RepositoryData: import("@wowok/wowok").ObjectType.TableItem_RepositoryData;
|
|
382
|
+
TableItem_RewardRecord: import("@wowok/wowok").ObjectType.TableItem_RewardRecord;
|
|
383
|
+
TableItem_EntityLinker: import("@wowok/wowok").ObjectType.TableItem_EntityLinker;
|
|
384
|
+
TableItem_AddressMark: import("@wowok/wowok").ObjectType.TableItem_AddressMark;
|
|
385
|
+
TableItem_EntityRegistrar: import("@wowok/wowok").ObjectType.TableItem_EntityRegistrar;
|
|
386
|
+
}>>;
|
|
387
|
+
type_raw: z.ZodOptional<z.ZodString>;
|
|
388
|
+
owner: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
389
|
+
AddressOwner: z.ZodString;
|
|
390
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
391
|
+
ObjectOwner: z.ZodString;
|
|
392
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
393
|
+
Shared: z.ZodObject<{
|
|
394
|
+
initial_shared_version: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
395
|
+
}, z.core.$strict>;
|
|
396
|
+
}, z.core.$strict>, z.ZodLiteral<"Immutable">, z.ZodObject<{
|
|
397
|
+
ConsensusAddressOwner: z.ZodObject<{
|
|
398
|
+
owner: z.ZodString;
|
|
399
|
+
start_version: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
400
|
+
}, z.core.$strict>;
|
|
401
|
+
}, z.core.$strict>]>, z.ZodNull]>>;
|
|
402
|
+
version: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
403
|
+
previousTransaction: z.ZodOptional<z.ZodString>;
|
|
404
|
+
cache_expire: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
405
|
+
query_name: z.ZodOptional<z.ZodString>;
|
|
406
|
+
content_raw: z.ZodOptional<z.ZodAny>;
|
|
407
|
+
_guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
408
|
+
type: z.ZodString;
|
|
409
|
+
description: z.ZodString;
|
|
410
|
+
}, z.core.$strip>>>;
|
|
411
|
+
address: z.ZodString;
|
|
412
|
+
items: z.ZodArray<z.ZodObject<{
|
|
413
|
+
contact: z.ZodString;
|
|
414
|
+
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
415
|
+
}, z.core.$strip>>;
|
|
416
|
+
}, z.core.$loose>;
|
|
417
|
+
export declare const TableItem_ObjectLinkerCoreSchema: z.ZodObject<{
|
|
418
|
+
object: z.ZodString;
|
|
419
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
420
|
+
Permission: import("@wowok/wowok").ObjectType.Permission;
|
|
421
|
+
Repository: import("@wowok/wowok").ObjectType.Repository;
|
|
422
|
+
Arb: import("@wowok/wowok").ObjectType.Arb;
|
|
423
|
+
Arbitration: import("@wowok/wowok").ObjectType.Arbitration;
|
|
424
|
+
Service: import("@wowok/wowok").ObjectType.Service;
|
|
425
|
+
Machine: import("@wowok/wowok").ObjectType.Machine;
|
|
426
|
+
Order: import("@wowok/wowok").ObjectType.Order;
|
|
427
|
+
Progress: import("@wowok/wowok").ObjectType.Progress;
|
|
428
|
+
Payment: import("@wowok/wowok").ObjectType.Payment;
|
|
429
|
+
Treasury: import("@wowok/wowok").ObjectType.Treasury;
|
|
430
|
+
Guard: import("@wowok/wowok").ObjectType.Guard;
|
|
431
|
+
Demand: import("@wowok/wowok").ObjectType.Demand;
|
|
432
|
+
Passport: import("@wowok/wowok").ObjectType.Passport;
|
|
433
|
+
Allocation: import("@wowok/wowok").ObjectType.Allocation;
|
|
434
|
+
Resource: import("@wowok/wowok").ObjectType.Resource;
|
|
435
|
+
Reward: import("@wowok/wowok").ObjectType.Reward;
|
|
436
|
+
Discount: import("@wowok/wowok").ObjectType.Discount;
|
|
437
|
+
EntityRegistrar: import("@wowok/wowok").ObjectType.EntityRegistrar;
|
|
438
|
+
EntityLinker: import("@wowok/wowok").ObjectType.EntityLinker;
|
|
439
|
+
Proof: import("@wowok/wowok").ObjectType.Proof;
|
|
440
|
+
Contact: import("@wowok/wowok").ObjectType.Contact;
|
|
441
|
+
WReceivedObject: import("@wowok/wowok").ObjectType.WReceivedObject;
|
|
442
|
+
TableItem_ProgressHistory: import("@wowok/wowok").ObjectType.TableItem_ProgressHistory;
|
|
443
|
+
TableItem_PermissionPerm: import("@wowok/wowok").ObjectType.TableItem_PermissionPerm;
|
|
444
|
+
TableItem_DemandPresenter: import("@wowok/wowok").ObjectType.TableItem_DemandPresenter;
|
|
445
|
+
TableItem_MachineNode: import("@wowok/wowok").ObjectType.TableItem_MachineNode;
|
|
446
|
+
TableItem_TreasuryHistory: import("@wowok/wowok").ObjectType.TableItem_TreasuryHistory;
|
|
447
|
+
TableItem_RepositoryData: import("@wowok/wowok").ObjectType.TableItem_RepositoryData;
|
|
448
|
+
TableItem_RewardRecord: import("@wowok/wowok").ObjectType.TableItem_RewardRecord;
|
|
449
|
+
TableItem_EntityLinker: import("@wowok/wowok").ObjectType.TableItem_EntityLinker;
|
|
450
|
+
TableItem_AddressMark: import("@wowok/wowok").ObjectType.TableItem_AddressMark;
|
|
451
|
+
TableItem_EntityRegistrar: import("@wowok/wowok").ObjectType.TableItem_EntityRegistrar;
|
|
452
|
+
}>>;
|
|
453
|
+
type_raw: z.ZodOptional<z.ZodString>;
|
|
454
|
+
owner: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
455
|
+
AddressOwner: z.ZodString;
|
|
456
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
457
|
+
ObjectOwner: z.ZodString;
|
|
458
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
459
|
+
Shared: z.ZodObject<{
|
|
460
|
+
initial_shared_version: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
461
|
+
}, z.core.$strict>;
|
|
462
|
+
}, z.core.$strict>, z.ZodLiteral<"Immutable">, z.ZodObject<{
|
|
463
|
+
ConsensusAddressOwner: z.ZodObject<{
|
|
464
|
+
owner: z.ZodString;
|
|
465
|
+
start_version: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
466
|
+
}, z.core.$strict>;
|
|
467
|
+
}, z.core.$strict>]>, z.ZodNull]>>;
|
|
468
|
+
version: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
469
|
+
previousTransaction: z.ZodOptional<z.ZodString>;
|
|
470
|
+
cache_expire: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
471
|
+
query_name: z.ZodOptional<z.ZodString>;
|
|
472
|
+
content_raw: z.ZodOptional<z.ZodAny>;
|
|
473
|
+
_guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
474
|
+
type: z.ZodString;
|
|
475
|
+
description: z.ZodString;
|
|
476
|
+
}, z.core.$strip>>>;
|
|
477
|
+
address: z.ZodString;
|
|
478
|
+
items: z.ZodArray<z.ZodObject<{
|
|
479
|
+
who: z.ZodString;
|
|
480
|
+
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
481
|
+
}, z.core.$strip>>;
|
|
482
|
+
}, z.core.$loose>;
|
|
483
|
+
export declare const TableItem_ObjectLinkerTxSchema: z.ZodObject<{
|
|
484
|
+
object: z.ZodString;
|
|
485
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
486
|
+
Permission: import("@wowok/wowok").ObjectType.Permission;
|
|
487
|
+
Repository: import("@wowok/wowok").ObjectType.Repository;
|
|
488
|
+
Arb: import("@wowok/wowok").ObjectType.Arb;
|
|
489
|
+
Arbitration: import("@wowok/wowok").ObjectType.Arbitration;
|
|
490
|
+
Service: import("@wowok/wowok").ObjectType.Service;
|
|
491
|
+
Machine: import("@wowok/wowok").ObjectType.Machine;
|
|
492
|
+
Order: import("@wowok/wowok").ObjectType.Order;
|
|
493
|
+
Progress: import("@wowok/wowok").ObjectType.Progress;
|
|
494
|
+
Payment: import("@wowok/wowok").ObjectType.Payment;
|
|
495
|
+
Treasury: import("@wowok/wowok").ObjectType.Treasury;
|
|
496
|
+
Guard: import("@wowok/wowok").ObjectType.Guard;
|
|
497
|
+
Demand: import("@wowok/wowok").ObjectType.Demand;
|
|
498
|
+
Passport: import("@wowok/wowok").ObjectType.Passport;
|
|
499
|
+
Allocation: import("@wowok/wowok").ObjectType.Allocation;
|
|
500
|
+
Resource: import("@wowok/wowok").ObjectType.Resource;
|
|
501
|
+
Reward: import("@wowok/wowok").ObjectType.Reward;
|
|
502
|
+
Discount: import("@wowok/wowok").ObjectType.Discount;
|
|
503
|
+
EntityRegistrar: import("@wowok/wowok").ObjectType.EntityRegistrar;
|
|
504
|
+
EntityLinker: import("@wowok/wowok").ObjectType.EntityLinker;
|
|
505
|
+
Proof: import("@wowok/wowok").ObjectType.Proof;
|
|
506
|
+
Contact: import("@wowok/wowok").ObjectType.Contact;
|
|
507
|
+
WReceivedObject: import("@wowok/wowok").ObjectType.WReceivedObject;
|
|
508
|
+
TableItem_ProgressHistory: import("@wowok/wowok").ObjectType.TableItem_ProgressHistory;
|
|
509
|
+
TableItem_PermissionPerm: import("@wowok/wowok").ObjectType.TableItem_PermissionPerm;
|
|
510
|
+
TableItem_DemandPresenter: import("@wowok/wowok").ObjectType.TableItem_DemandPresenter;
|
|
511
|
+
TableItem_MachineNode: import("@wowok/wowok").ObjectType.TableItem_MachineNode;
|
|
512
|
+
TableItem_TreasuryHistory: import("@wowok/wowok").ObjectType.TableItem_TreasuryHistory;
|
|
513
|
+
TableItem_RepositoryData: import("@wowok/wowok").ObjectType.TableItem_RepositoryData;
|
|
514
|
+
TableItem_RewardRecord: import("@wowok/wowok").ObjectType.TableItem_RewardRecord;
|
|
515
|
+
TableItem_EntityLinker: import("@wowok/wowok").ObjectType.TableItem_EntityLinker;
|
|
516
|
+
TableItem_AddressMark: import("@wowok/wowok").ObjectType.TableItem_AddressMark;
|
|
517
|
+
TableItem_EntityRegistrar: import("@wowok/wowok").ObjectType.TableItem_EntityRegistrar;
|
|
518
|
+
}>>;
|
|
519
|
+
type_raw: z.ZodOptional<z.ZodString>;
|
|
520
|
+
owner: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
521
|
+
AddressOwner: z.ZodString;
|
|
522
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
523
|
+
ObjectOwner: z.ZodString;
|
|
524
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
525
|
+
Shared: z.ZodObject<{
|
|
526
|
+
initial_shared_version: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
527
|
+
}, z.core.$strict>;
|
|
528
|
+
}, z.core.$strict>, z.ZodLiteral<"Immutable">, z.ZodObject<{
|
|
529
|
+
ConsensusAddressOwner: z.ZodObject<{
|
|
530
|
+
owner: z.ZodString;
|
|
531
|
+
start_version: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
532
|
+
}, z.core.$strict>;
|
|
533
|
+
}, z.core.$strict>]>, z.ZodNull]>>;
|
|
534
|
+
version: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
535
|
+
previousTransaction: z.ZodOptional<z.ZodString>;
|
|
536
|
+
cache_expire: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
537
|
+
query_name: z.ZodOptional<z.ZodString>;
|
|
538
|
+
content_raw: z.ZodOptional<z.ZodAny>;
|
|
539
|
+
_guard_node_comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
540
|
+
type: z.ZodString;
|
|
541
|
+
description: z.ZodString;
|
|
542
|
+
}, z.core.$strip>>>;
|
|
543
|
+
address: z.ZodString;
|
|
544
|
+
items: z.ZodArray<z.ZodObject<{
|
|
545
|
+
who: z.ZodString;
|
|
348
546
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
349
547
|
}, z.core.$strip>>;
|
|
350
548
|
}, z.core.$loose>;
|
|
@@ -1874,10 +2072,10 @@ export declare const ObjectPersonalSchema: z.ZodObject<{
|
|
|
1874
2072
|
referrer: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
1875
2073
|
mark_object: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
1876
2074
|
details: z.ZodArray<z.ZodObject<{
|
|
1877
|
-
|
|
2075
|
+
who: z.ZodString;
|
|
1878
2076
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
1879
2077
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
1880
|
-
|
|
2078
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
1881
2079
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1882
2080
|
}, z.core.$strip>>;
|
|
1883
2081
|
active_tx: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
@@ -4697,10 +4895,10 @@ export declare const ObjectUnionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
4697
4895
|
referrer: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
4698
4896
|
mark_object: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
4699
4897
|
details: z.ZodArray<z.ZodObject<{
|
|
4700
|
-
|
|
4898
|
+
who: z.ZodString;
|
|
4701
4899
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
4702
4900
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
4703
|
-
|
|
4901
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
4704
4902
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
4705
4903
|
}, z.core.$strip>>;
|
|
4706
4904
|
active_tx: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
@@ -6520,10 +6718,10 @@ export declare const ObjectsAnswerSchema: z.ZodObject<{
|
|
|
6520
6718
|
referrer: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
6521
6719
|
mark_object: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
6522
6720
|
details: z.ZodArray<z.ZodObject<{
|
|
6523
|
-
|
|
6721
|
+
who: z.ZodString;
|
|
6524
6722
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
6525
6723
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
6526
|
-
|
|
6724
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
6527
6725
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
6528
6726
|
}, z.core.$strip>>;
|
|
6529
6727
|
active_tx: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
@@ -7949,10 +8147,10 @@ export declare const TableItem_EntityLinkerOrUndefinedSchema: z.ZodUnion<readonl
|
|
|
7949
8147
|
pos: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
7950
8148
|
count: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
7951
8149
|
votes: z.ZodArray<z.ZodObject<{
|
|
7952
|
-
|
|
8150
|
+
who: z.ZodString;
|
|
7953
8151
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
7954
8152
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
7955
|
-
|
|
8153
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
7956
8154
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
7957
8155
|
}, z.core.$strip>>;
|
|
7958
8156
|
}, z.core.$loose>, z.ZodNull]>;
|
|
@@ -8478,10 +8676,10 @@ export declare const ObjectPersonalOrUndefinedSchema: z.ZodObject<{
|
|
|
8478
8676
|
referrer: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
8479
8677
|
mark_object: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
8480
8678
|
details: z.ZodArray<z.ZodObject<{
|
|
8481
|
-
|
|
8679
|
+
who: z.ZodString;
|
|
8482
8680
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
8483
8681
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
8484
|
-
|
|
8682
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
8485
8683
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
8486
8684
|
}, z.core.$strip>>;
|
|
8487
8685
|
active_tx: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
@@ -9094,10 +9292,10 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
9094
9292
|
pos: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
9095
9293
|
count: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
9096
9294
|
votes: z.ZodArray<z.ZodObject<{
|
|
9097
|
-
|
|
9295
|
+
who: z.ZodString;
|
|
9098
9296
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
9099
9297
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
9100
|
-
|
|
9298
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
9101
9299
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
9102
9300
|
}, z.core.$strip>>;
|
|
9103
9301
|
}, z.core.$loose>, z.ZodObject<{
|
|
@@ -10556,10 +10754,10 @@ export declare const OnchainQueryResultSchema_Part1: z.ZodUnion<readonly [z.ZodO
|
|
|
10556
10754
|
referrer: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
10557
10755
|
mark_object: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
10558
10756
|
details: z.ZodArray<z.ZodObject<{
|
|
10559
|
-
|
|
10757
|
+
who: z.ZodString;
|
|
10560
10758
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
10561
10759
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
10562
|
-
|
|
10760
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
10563
10761
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
10564
10762
|
}, z.core.$strip>>;
|
|
10565
10763
|
active_tx: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
@@ -12252,10 +12450,10 @@ export declare const OnchainQueryResultSchema_Part1: z.ZodUnion<readonly [z.ZodO
|
|
|
12252
12450
|
referrer: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
12253
12451
|
mark_object: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
12254
12452
|
details: z.ZodArray<z.ZodObject<{
|
|
12255
|
-
|
|
12453
|
+
who: z.ZodString;
|
|
12256
12454
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
12257
12455
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
12258
|
-
|
|
12456
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
12259
12457
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
12260
12458
|
}, z.core.$strip>>;
|
|
12261
12459
|
active_tx: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
@@ -12700,10 +12898,10 @@ export declare const OnchainQueryResultSchema_Part1: z.ZodUnion<readonly [z.ZodO
|
|
|
12700
12898
|
pos: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
12701
12899
|
count: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
12702
12900
|
votes: z.ZodArray<z.ZodObject<{
|
|
12703
|
-
|
|
12901
|
+
who: z.ZodString;
|
|
12704
12902
|
like: z.ZodOptional<z.ZodBoolean>;
|
|
12705
12903
|
dislike: z.ZodOptional<z.ZodBoolean>;
|
|
12706
|
-
|
|
12904
|
+
favor: z.ZodOptional<z.ZodBoolean>;
|
|
12707
12905
|
time: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
12708
12906
|
}, z.core.$strip>>;
|
|
12709
12907
|
}, z.core.$loose>, z.ZodUndefined]>;
|
|
@@ -13291,6 +13489,9 @@ export type ObjectEntityLinker = z.infer<typeof ObjectEntityLinkerSchema>;
|
|
|
13291
13489
|
export type ObjectAddressMark = z.infer<typeof ObjectResourceSchema>;
|
|
13292
13490
|
export type TableItem_EntityRegistrar = z.infer<typeof TableItem_EntityRegistrarSchema>;
|
|
13293
13491
|
export type TableItem_EntityLinker = z.infer<typeof TableItem_EntityLinkerSchema>;
|
|
13492
|
+
export type TableItem_EntityContact = z.infer<typeof TableItem_EntityContactSchema>;
|
|
13493
|
+
export type TableItem_ObjectLinkerCore = z.infer<typeof TableItem_ObjectLinkerCoreSchema>;
|
|
13494
|
+
export type TableItem_ObjectLinkerTx = z.infer<typeof TableItem_ObjectLinkerTxSchema>;
|
|
13294
13495
|
export type TableItem_AddressMark = z.infer<typeof TableItem_AddressMarkSchema>;
|
|
13295
13496
|
export type ServiceGuard = z.infer<typeof ServiceGuardSchema>;
|
|
13296
13497
|
export type ObjectDemand = z.infer<typeof ObjectDemandSchema>;
|