@graphprotocol/grc-20 0.5.2 → 0.5.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/package.json +13 -11
- package/dist/abis.d.ts +0 -7
- package/dist/abis.d.ts.map +0 -1
- package/dist/abis.js +0 -7
- package/dist/abis.js.map +0 -1
- package/dist/constants.d.ts +0 -7
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -8
- package/dist/constants.js.map +0 -1
- package/dist/contracts.d.ts +0 -29
- package/dist/contracts.d.ts.map +0 -1
- package/dist/contracts.js +0 -29
- package/dist/contracts.js.map +0 -1
- package/dist/index.d.ts +0 -63
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -63
- package/dist/index.js.map +0 -1
- package/dist/proto.d.ts +0 -15
- package/dist/proto.d.ts.map +0 -1
- package/dist/proto.js +0 -15
- package/dist/proto.js.map +0 -1
- package/dist/src/abis/dao.d.ts +0 -899
- package/dist/src/abis/dao.d.ts.map +0 -1
- package/dist/src/abis/dao.js +0 -1159
- package/dist/src/abis/dao.js.map +0 -1
- package/dist/src/abis/governance-setup.d.ts +0 -351
- package/dist/src/abis/governance-setup.d.ts.map +0 -1
- package/dist/src/abis/governance-setup.js +0 -461
- package/dist/src/abis/governance-setup.js.map +0 -1
- package/dist/src/abis/index.d.ts +0 -10
- package/dist/src/abis/index.d.ts.map +0 -1
- package/dist/src/abis/index.js +0 -10
- package/dist/src/abis/index.js.map +0 -1
- package/dist/src/abis/main-voting.d.ts +0 -1443
- package/dist/src/abis/main-voting.d.ts.map +0 -1
- package/dist/src/abis/main-voting.js +0 -1866
- package/dist/src/abis/main-voting.js.map +0 -1
- package/dist/src/abis/member-access.d.ts +0 -567
- package/dist/src/abis/member-access.d.ts.map +0 -1
- package/dist/src/abis/member-access.js +0 -735
- package/dist/src/abis/member-access.js.map +0 -1
- package/dist/src/abis/personal-space-admin-setup.d.ts +0 -259
- package/dist/src/abis/personal-space-admin-setup.d.ts.map +0 -1
- package/dist/src/abis/personal-space-admin-setup.js +0 -340
- package/dist/src/abis/personal-space-admin-setup.js.map +0 -1
- package/dist/src/abis/personal-space-admin.d.ts +0 -408
- package/dist/src/abis/personal-space-admin.d.ts.map +0 -1
- package/dist/src/abis/personal-space-admin.js +0 -526
- package/dist/src/abis/personal-space-admin.js.map +0 -1
- package/dist/src/abis/plugin-setup-processor.d.ts +0 -998
- package/dist/src/abis/plugin-setup-processor.d.ts.map +0 -1
- package/dist/src/abis/plugin-setup-processor.js +0 -1293
- package/dist/src/abis/plugin-setup-processor.js.map +0 -1
- package/dist/src/abis/space-setup.d.ts +0 -294
- package/dist/src/abis/space-setup.d.ts.map +0 -1
- package/dist/src/abis/space-setup.js +0 -387
- package/dist/src/abis/space-setup.js.map +0 -1
- package/dist/src/abis/space.d.ts +0 -263
- package/dist/src/abis/space.d.ts.map +0 -1
- package/dist/src/abis/space.js +0 -340
- package/dist/src/abis/space.js.map +0 -1
- package/dist/src/account.d.ts +0 -8
- package/dist/src/account.d.ts.map +0 -1
- package/dist/src/account.js +0 -8
- package/dist/src/account.js.map +0 -1
- package/dist/src/blocks.d.ts +0 -22
- package/dist/src/blocks.d.ts.map +0 -1
- package/dist/src/blocks.js +0 -22
- package/dist/src/blocks.js.map +0 -1
- package/dist/src/core/account.d.ts +0 -28
- package/dist/src/core/account.d.ts.map +0 -1
- package/dist/src/core/account.js +0 -70
- package/dist/src/core/account.js.map +0 -1
- package/dist/src/core/account.test.d.ts +0 -2
- package/dist/src/core/account.test.d.ts.map +0 -1
- package/dist/src/core/account.test.js +0 -25
- package/dist/src/core/account.test.js.map +0 -1
- package/dist/src/core/base58.d.ts +0 -43
- package/dist/src/core/base58.d.ts.map +0 -1
- package/dist/src/core/base58.js +0 -68
- package/dist/src/core/base58.js.map +0 -1
- package/dist/src/core/base58.test.d.ts +0 -2
- package/dist/src/core/base58.test.d.ts.map +0 -1
- package/dist/src/core/base58.test.js +0 -17
- package/dist/src/core/base58.test.js.map +0 -1
- package/dist/src/core/blocks/data.d.ts +0 -34
- package/dist/src/core/blocks/data.d.ts.map +0 -1
- package/dist/src/core/blocks/data.js +0 -71
- package/dist/src/core/blocks/data.js.map +0 -1
- package/dist/src/core/blocks/data.test.d.ts +0 -2
- package/dist/src/core/blocks/data.test.d.ts.map +0 -1
- package/dist/src/core/blocks/data.test.js +0 -58
- package/dist/src/core/blocks/data.test.js.map +0 -1
- package/dist/src/core/blocks/image.d.ts +0 -15
- package/dist/src/core/blocks/image.d.ts.map +0 -1
- package/dist/src/core/blocks/image.js +0 -15
- package/dist/src/core/blocks/image.js.map +0 -1
- package/dist/src/core/blocks/text.d.ts +0 -31
- package/dist/src/core/blocks/text.d.ts.map +0 -1
- package/dist/src/core/blocks/text.js +0 -52
- package/dist/src/core/blocks/text.js.map +0 -1
- package/dist/src/core/blocks/text.test.d.ts +0 -2
- package/dist/src/core/blocks/text.test.d.ts.map +0 -1
- package/dist/src/core/blocks/text.test.js +0 -29
- package/dist/src/core/blocks/text.test.js.map +0 -1
- package/dist/src/core/get-checksum-address.d.ts +0 -10
- package/dist/src/core/get-checksum-address.d.ts.map +0 -1
- package/dist/src/core/get-checksum-address.js +0 -20
- package/dist/src/core/get-checksum-address.js.map +0 -1
- package/dist/src/core/ids/content.d.ts +0 -59
- package/dist/src/core/ids/content.d.ts.map +0 -1
- package/dist/src/core/ids/content.js +0 -59
- package/dist/src/core/ids/content.js.map +0 -1
- package/dist/src/core/ids/network.d.ts +0 -4
- package/dist/src/core/ids/network.d.ts.map +0 -1
- package/dist/src/core/ids/network.js +0 -4
- package/dist/src/core/ids/network.js.map +0 -1
- package/dist/src/core/ids/system.d.ts +0 -212
- package/dist/src/core/ids/system.d.ts.map +0 -1
- package/dist/src/core/ids/system.js +0 -220
- package/dist/src/core/ids/system.js.map +0 -1
- package/dist/src/core/image.d.ts +0 -27
- package/dist/src/core/image.d.ts.map +0 -1
- package/dist/src/core/image.js +0 -47
- package/dist/src/core/image.js.map +0 -1
- package/dist/src/core/image.test.d.ts +0 -2
- package/dist/src/core/image.test.d.ts.map +0 -1
- package/dist/src/core/image.test.js +0 -26
- package/dist/src/core/image.test.js.map +0 -1
- package/dist/src/core/position.d.ts +0 -12
- package/dist/src/core/position.d.ts.map +0 -1
- package/dist/src/core/position.js +0 -12
- package/dist/src/core/position.js.map +0 -1
- package/dist/src/core/relation.d.ts +0 -88
- package/dist/src/core/relation.d.ts.map +0 -1
- package/dist/src/core/relation.js +0 -89
- package/dist/src/core/relation.js.map +0 -1
- package/dist/src/core/relation.test.d.ts +0 -2
- package/dist/src/core/relation.test.d.ts.map +0 -1
- package/dist/src/core/relation.test.js +0 -45
- package/dist/src/core/relation.test.js.map +0 -1
- package/dist/src/core/scheme.d.ts +0 -78
- package/dist/src/core/scheme.d.ts.map +0 -1
- package/dist/src/core/scheme.js +0 -99
- package/dist/src/core/scheme.js.map +0 -1
- package/dist/src/core/scheme.test.d.ts +0 -2
- package/dist/src/core/scheme.test.d.ts.map +0 -1
- package/dist/src/core/scheme.test.js +0 -34
- package/dist/src/core/scheme.test.js.map +0 -1
- package/dist/src/core/triple.d.ts +0 -50
- package/dist/src/core/triple.d.ts.map +0 -1
- package/dist/src/core/triple.js +0 -56
- package/dist/src/core/triple.js.map +0 -1
- package/dist/src/core/triple.test.d.ts +0 -2
- package/dist/src/core/triple.test.d.ts.map +0 -1
- package/dist/src/core/triple.test.js +0 -37
- package/dist/src/core/triple.test.js.map +0 -1
- package/dist/src/encodings/get-accept-editor-arguments.d.ts +0 -11
- package/dist/src/encodings/get-accept-editor-arguments.d.ts.map +0 -1
- package/dist/src/encodings/get-accept-editor-arguments.js +0 -23
- package/dist/src/encodings/get-accept-editor-arguments.js.map +0 -1
- package/dist/src/encodings/get-accept-subspace-arguments.d.ts +0 -11
- package/dist/src/encodings/get-accept-subspace-arguments.d.ts.map +0 -1
- package/dist/src/encodings/get-accept-subspace-arguments.js +0 -23
- package/dist/src/encodings/get-accept-subspace-arguments.js.map +0 -1
- package/dist/src/encodings/get-calldata-for-space-governance-type.d.ts +0 -8
- package/dist/src/encodings/get-calldata-for-space-governance-type.d.ts.map +0 -1
- package/dist/src/encodings/get-calldata-for-space-governance-type.js +0 -19
- package/dist/src/encodings/get-calldata-for-space-governance-type.js.map +0 -1
- package/dist/src/encodings/get-process-geo-proposal-arguments.d.ts +0 -7
- package/dist/src/encodings/get-process-geo-proposal-arguments.d.ts.map +0 -1
- package/dist/src/encodings/get-process-geo-proposal-arguments.js +0 -23
- package/dist/src/encodings/get-process-geo-proposal-arguments.js.map +0 -1
- package/dist/src/encodings/get-remove-editor-arguments.d.ts +0 -11
- package/dist/src/encodings/get-remove-editor-arguments.d.ts.map +0 -1
- package/dist/src/encodings/get-remove-editor-arguments.js +0 -23
- package/dist/src/encodings/get-remove-editor-arguments.js.map +0 -1
- package/dist/src/encodings/get-remove-subspace-arguments.d.ts +0 -11
- package/dist/src/encodings/get-remove-subspace-arguments.d.ts.map +0 -1
- package/dist/src/encodings/get-remove-subspace-arguments.js +0 -23
- package/dist/src/encodings/get-remove-subspace-arguments.js.map +0 -1
- package/dist/src/encodings/index.d.ts +0 -7
- package/dist/src/encodings/index.d.ts.map +0 -1
- package/dist/src/encodings/index.js +0 -7
- package/dist/src/encodings/index.js.map +0 -1
- package/dist/src/id.d.ts +0 -21
- package/dist/src/id.d.ts.map +0 -1
- package/dist/src/id.js +0 -36
- package/dist/src/id.js.map +0 -1
- package/dist/src/id.test.d.ts +0 -2
- package/dist/src/id.test.d.ts.map +0 -1
- package/dist/src/id.test.js +0 -11
- package/dist/src/id.test.js.map +0 -1
- package/dist/src/image.d.ts +0 -8
- package/dist/src/image.d.ts.map +0 -1
- package/dist/src/image.js +0 -8
- package/dist/src/image.js.map +0 -1
- package/dist/src/ipfs.d.ts +0 -32
- package/dist/src/ipfs.d.ts.map +0 -1
- package/dist/src/ipfs.js +0 -58
- package/dist/src/ipfs.js.map +0 -1
- package/dist/src/position.d.ts +0 -7
- package/dist/src/position.d.ts.map +0 -1
- package/dist/src/position.js +0 -7
- package/dist/src/position.js.map +0 -1
- package/dist/src/proto/edit.d.ts +0 -9
- package/dist/src/proto/edit.d.ts.map +0 -1
- package/dist/src/proto/edit.js +0 -54
- package/dist/src/proto/edit.js.map +0 -1
- package/dist/src/proto/edit.test.d.ts +0 -2
- package/dist/src/proto/edit.test.d.ts.map +0 -1
- package/dist/src/proto/edit.test.js +0 -140
- package/dist/src/proto/edit.test.js.map +0 -1
- package/dist/src/proto/gen/src/proto/ipfs_pb.d.ts +0 -404
- package/dist/src/proto/gen/src/proto/ipfs_pb.d.ts.map +0 -1
- package/dist/src/proto/gen/src/proto/ipfs_pb.js +0 -602
- package/dist/src/proto/gen/src/proto/ipfs_pb.js.map +0 -1
- package/dist/src/proto/index.d.ts +0 -2
- package/dist/src/proto/index.d.ts.map +0 -1
- package/dist/src/proto/index.js +0 -2
- package/dist/src/proto/index.js.map +0 -1
- package/dist/src/relation.d.ts +0 -7
- package/dist/src/relation.d.ts.map +0 -1
- package/dist/src/relation.js +0 -7
- package/dist/src/relation.js.map +0 -1
- package/dist/src/scheme.d.ts +0 -7
- package/dist/src/scheme.d.ts.map +0 -1
- package/dist/src/scheme.js +0 -7
- package/dist/src/scheme.js.map +0 -1
- package/dist/src/system-ids.d.ts +0 -9
- package/dist/src/system-ids.d.ts.map +0 -1
- package/dist/src/system-ids.js +0 -9
- package/dist/src/system-ids.js.map +0 -1
- package/dist/src/triple.d.ts +0 -7
- package/dist/src/triple.d.ts.map +0 -1
- package/dist/src/triple.js +0 -7
- package/dist/src/triple.js.map +0 -1
- package/dist/src/types.d.ts +0 -86
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/types.js +0 -13
- package/dist/src/types.js.map +0 -1
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from 'vitest';
|
|
2
|
-
import { Relation } from '../relation.js';
|
|
3
|
-
import { make } from './edit.js';
|
|
4
|
-
import { ActionType, Edit, OpType, ValueType } from './gen/src/proto/ipfs_pb.js';
|
|
5
|
-
describe('create-edit-proposal', () => {
|
|
6
|
-
it('encodes and decodes Edit with SET_TRIPLE ops correctly', () => {
|
|
7
|
-
const editBinary = make({
|
|
8
|
-
name: 'test',
|
|
9
|
-
ops: [
|
|
10
|
-
{
|
|
11
|
-
type: 'SET_TRIPLE',
|
|
12
|
-
triple: {
|
|
13
|
-
attribute: 'test-attribute-id',
|
|
14
|
-
entity: 'test-entity-id',
|
|
15
|
-
value: {
|
|
16
|
-
type: 'TEXT',
|
|
17
|
-
value: 'test value',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
author: '0x1234',
|
|
23
|
-
});
|
|
24
|
-
const result = Edit.fromBinary(editBinary);
|
|
25
|
-
expect(result.name).toBe('test');
|
|
26
|
-
expect(result.type).toBe(ActionType.ADD_EDIT);
|
|
27
|
-
expect(result.version).toBe('1.0.0');
|
|
28
|
-
expect(result.ops.length).toBe(1);
|
|
29
|
-
expect(result.ops).toEqual([
|
|
30
|
-
{
|
|
31
|
-
type: OpType.SET_TRIPLE,
|
|
32
|
-
triples: [],
|
|
33
|
-
triple: {
|
|
34
|
-
attribute: 'test-attribute-id',
|
|
35
|
-
entity: 'test-entity-id',
|
|
36
|
-
value: {
|
|
37
|
-
type: ValueType.TEXT,
|
|
38
|
-
value: 'test value',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
]);
|
|
43
|
-
});
|
|
44
|
-
it('encodes and decodes Edit with DELETE_TRIPLE ops correctly', () => {
|
|
45
|
-
const editBinary = make({
|
|
46
|
-
name: 'test',
|
|
47
|
-
ops: [
|
|
48
|
-
{
|
|
49
|
-
type: 'DELETE_TRIPLE',
|
|
50
|
-
triple: {
|
|
51
|
-
attribute: 'test-attribute-id',
|
|
52
|
-
entity: 'test-entity-id',
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
author: '0x1234',
|
|
57
|
-
});
|
|
58
|
-
const result = Edit.fromBinary(editBinary);
|
|
59
|
-
expect(result.name).toBe('test');
|
|
60
|
-
expect(result.type).toBe(ActionType.ADD_EDIT);
|
|
61
|
-
expect(result.version).toBe('1.0.0');
|
|
62
|
-
expect(result.ops.length).toBe(1);
|
|
63
|
-
expect(result.ops).toEqual([
|
|
64
|
-
{
|
|
65
|
-
type: OpType.DELETE_TRIPLE,
|
|
66
|
-
triples: [],
|
|
67
|
-
triple: {
|
|
68
|
-
attribute: 'test-attribute-id',
|
|
69
|
-
entity: 'test-entity-id',
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
]);
|
|
73
|
-
});
|
|
74
|
-
it('encodes and decoded Edit with CREATE_RELATION ops correctly', () => {
|
|
75
|
-
const editBinary = make({
|
|
76
|
-
name: 'test',
|
|
77
|
-
ops: [
|
|
78
|
-
Relation.make({
|
|
79
|
-
relationId: 'test-relation-id',
|
|
80
|
-
fromId: 'test-entity-id',
|
|
81
|
-
relationTypeId: 'test-relation-type-id',
|
|
82
|
-
toId: 'test-entity-id',
|
|
83
|
-
position: 'test-position',
|
|
84
|
-
}),
|
|
85
|
-
],
|
|
86
|
-
author: '0x1234',
|
|
87
|
-
});
|
|
88
|
-
const result = Edit.fromBinary(editBinary);
|
|
89
|
-
expect(result.name).toBe('test');
|
|
90
|
-
expect(result.type).toBe(ActionType.ADD_EDIT);
|
|
91
|
-
expect(result.version).toBe('1.0.0');
|
|
92
|
-
expect(result.ops.length).toBe(1);
|
|
93
|
-
expect(result.ops).toEqual([
|
|
94
|
-
{
|
|
95
|
-
type: OpType.CREATE_RELATION,
|
|
96
|
-
triples: [],
|
|
97
|
-
relation: {
|
|
98
|
-
id: 'test-relation-id',
|
|
99
|
-
type: 'test-relation-type-id',
|
|
100
|
-
fromEntity: 'test-entity-id',
|
|
101
|
-
toEntity: 'test-entity-id',
|
|
102
|
-
index: 'test-position',
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
]);
|
|
106
|
-
});
|
|
107
|
-
it('encodes and decoded Edit with CREATE_RELATION ops correctly', () => {
|
|
108
|
-
const editBinary = make({
|
|
109
|
-
name: 'test',
|
|
110
|
-
ops: [
|
|
111
|
-
{
|
|
112
|
-
type: 'DELETE_RELATION',
|
|
113
|
-
relation: {
|
|
114
|
-
id: 'test-relation-id',
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
author: '0x1234',
|
|
119
|
-
});
|
|
120
|
-
const result = Edit.fromBinary(editBinary);
|
|
121
|
-
expect(result.name).toBe('test');
|
|
122
|
-
expect(result.type).toBe(ActionType.ADD_EDIT);
|
|
123
|
-
expect(result.version).toBe('1.0.0');
|
|
124
|
-
expect(result.ops.length).toBe(1);
|
|
125
|
-
expect(result.ops).toEqual([
|
|
126
|
-
{
|
|
127
|
-
type: OpType.DELETE_RELATION,
|
|
128
|
-
triples: [],
|
|
129
|
-
relation: {
|
|
130
|
-
id: 'test-relation-id',
|
|
131
|
-
fromEntity: '',
|
|
132
|
-
toEntity: '',
|
|
133
|
-
index: '',
|
|
134
|
-
type: '',
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
]);
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
//# sourceMappingURL=edit.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"edit.test.js","sourceRoot":"","sources":["../../../src/proto/edit.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEjF,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,EAAE,CAAC,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C,OAAO,CAAC,CAAC;QACrC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC;YACzB;gBACE,IAAI,EAAE,MAAM,CAAC,eAAe;gBAC5B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE;oBACR,EAAE,EAAE,kBAAkB;oBACtB,UAAU,EAAE,EAAE;oBACd,QAAQ,EAAE,EAAE;oBACZ,KAAK,EAAE,EAAE;oBACT,IAAI,EAAE,EAAE;iBACT;aACF;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,404 +0,0 @@
|
|
|
1
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from '@bufbuild/protobuf';
|
|
2
|
-
import { Message, proto3 } from '@bufbuild/protobuf';
|
|
3
|
-
/**
|
|
4
|
-
* @generated from enum OpType
|
|
5
|
-
*/
|
|
6
|
-
export declare enum OpType {
|
|
7
|
-
/**
|
|
8
|
-
* @generated from enum value: OP_TYPE_UNKNOWN = 0;
|
|
9
|
-
*/
|
|
10
|
-
OP_TYPE_UNKNOWN = 0,
|
|
11
|
-
/**
|
|
12
|
-
* @generated from enum value: SET_TRIPLE = 1;
|
|
13
|
-
*/
|
|
14
|
-
SET_TRIPLE = 1,
|
|
15
|
-
/**
|
|
16
|
-
* @generated from enum value: DELETE_TRIPLE = 2;
|
|
17
|
-
*/
|
|
18
|
-
DELETE_TRIPLE = 2,
|
|
19
|
-
/**
|
|
20
|
-
* @generated from enum value: SET_TRIPLE_BATCH = 3;
|
|
21
|
-
*/
|
|
22
|
-
SET_TRIPLE_BATCH = 3,
|
|
23
|
-
/**
|
|
24
|
-
* @generated from enum value: DELETE_ENTITY = 4;
|
|
25
|
-
*/
|
|
26
|
-
DELETE_ENTITY = 4,
|
|
27
|
-
/**
|
|
28
|
-
* @generated from enum value: CREATE_RELATION = 5;
|
|
29
|
-
*/
|
|
30
|
-
CREATE_RELATION = 5,
|
|
31
|
-
/**
|
|
32
|
-
* @generated from enum value: DELETE_RELATION = 6;
|
|
33
|
-
*/
|
|
34
|
-
DELETE_RELATION = 6
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @generated from enum ValueType
|
|
38
|
-
*/
|
|
39
|
-
export declare enum ValueType {
|
|
40
|
-
/**
|
|
41
|
-
* @generated from enum value: VALUE_TYPE_UNKNOWN = 0;
|
|
42
|
-
*/
|
|
43
|
-
VALUE_TYPE_UNKNOWN = 0,
|
|
44
|
-
/**
|
|
45
|
-
* @generated from enum value: TEXT = 1;
|
|
46
|
-
*/
|
|
47
|
-
TEXT = 1,
|
|
48
|
-
/**
|
|
49
|
-
* @generated from enum value: NUMBER = 2;
|
|
50
|
-
*/
|
|
51
|
-
NUMBER = 2,
|
|
52
|
-
/**
|
|
53
|
-
* @generated from enum value: CHECKBOX = 3;
|
|
54
|
-
*/
|
|
55
|
-
CHECKBOX = 3,
|
|
56
|
-
/**
|
|
57
|
-
* @generated from enum value: URL = 4;
|
|
58
|
-
*/
|
|
59
|
-
URL = 4,
|
|
60
|
-
/**
|
|
61
|
-
* @generated from enum value: TIME = 5;
|
|
62
|
-
*/
|
|
63
|
-
TIME = 5,
|
|
64
|
-
/**
|
|
65
|
-
* @generated from enum value: POINT = 6;
|
|
66
|
-
*/
|
|
67
|
-
POINT = 6
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* @generated from enum ActionType
|
|
71
|
-
*/
|
|
72
|
-
export declare enum ActionType {
|
|
73
|
-
/**
|
|
74
|
-
* @generated from enum value: ACTION_TYPE_UNKNOWN = 0;
|
|
75
|
-
*/
|
|
76
|
-
ACTION_TYPE_UNKNOWN = 0,
|
|
77
|
-
/**
|
|
78
|
-
* @generated from enum value: ADD_EDIT = 1;
|
|
79
|
-
*/
|
|
80
|
-
ADD_EDIT = 1,
|
|
81
|
-
/**
|
|
82
|
-
* @generated from enum value: ADD_SUBSPACE = 2;
|
|
83
|
-
*/
|
|
84
|
-
ADD_SUBSPACE = 2,
|
|
85
|
-
/**
|
|
86
|
-
* @generated from enum value: REMOVE_SUBSPACE = 3;
|
|
87
|
-
*/
|
|
88
|
-
REMOVE_SUBSPACE = 3,
|
|
89
|
-
/**
|
|
90
|
-
* @generated from enum value: IMPORT_SPACE = 4;
|
|
91
|
-
*/
|
|
92
|
-
IMPORT_SPACE = 4,
|
|
93
|
-
/**
|
|
94
|
-
* @generated from enum value: ARCHIVE_SPACE = 5;
|
|
95
|
-
*/
|
|
96
|
-
ARCHIVE_SPACE = 5
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* @generated from message IpfsMetadata
|
|
100
|
-
*/
|
|
101
|
-
export declare class IpfsMetadata extends Message<IpfsMetadata> {
|
|
102
|
-
/**
|
|
103
|
-
* We version the data structured used to represent proposal metadata. Each
|
|
104
|
-
* proposal type has their own metadata and versioning that we can change
|
|
105
|
-
* independently of other proposal types.
|
|
106
|
-
*
|
|
107
|
-
* @generated from field: string version = 1;
|
|
108
|
-
*/
|
|
109
|
-
version: string;
|
|
110
|
-
/**
|
|
111
|
-
* @generated from field: ActionType type = 2;
|
|
112
|
-
*/
|
|
113
|
-
type: ActionType;
|
|
114
|
-
constructor(data?: PartialMessage<IpfsMetadata>);
|
|
115
|
-
static readonly runtime: typeof proto3;
|
|
116
|
-
static readonly typeName = "IpfsMetadata";
|
|
117
|
-
static readonly fields: FieldList;
|
|
118
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IpfsMetadata;
|
|
119
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IpfsMetadata;
|
|
120
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IpfsMetadata;
|
|
121
|
-
static equals(a: IpfsMetadata | PlainMessage<IpfsMetadata> | undefined, b: IpfsMetadata | PlainMessage<IpfsMetadata> | undefined): boolean;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* @generated from message Edit
|
|
125
|
-
*/
|
|
126
|
-
export declare class Edit extends Message<Edit> {
|
|
127
|
-
/**
|
|
128
|
-
* @generated from field: string version = 1;
|
|
129
|
-
*/
|
|
130
|
-
version: string;
|
|
131
|
-
/**
|
|
132
|
-
* @generated from field: ActionType type = 2;
|
|
133
|
-
*/
|
|
134
|
-
type: ActionType;
|
|
135
|
-
/**
|
|
136
|
-
* @generated from field: string id = 3;
|
|
137
|
-
*/
|
|
138
|
-
id: string;
|
|
139
|
-
/**
|
|
140
|
-
* @generated from field: string name = 4;
|
|
141
|
-
*/
|
|
142
|
-
name: string;
|
|
143
|
-
/**
|
|
144
|
-
* @generated from field: repeated Op ops = 5;
|
|
145
|
-
*/
|
|
146
|
-
ops: Op[];
|
|
147
|
-
/**
|
|
148
|
-
* @generated from field: repeated string authors = 6;
|
|
149
|
-
*/
|
|
150
|
-
authors: string[];
|
|
151
|
-
constructor(data?: PartialMessage<Edit>);
|
|
152
|
-
static readonly runtime: typeof proto3;
|
|
153
|
-
static readonly typeName = "Edit";
|
|
154
|
-
static readonly fields: FieldList;
|
|
155
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Edit;
|
|
156
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Edit;
|
|
157
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Edit;
|
|
158
|
-
static equals(a: Edit | PlainMessage<Edit> | undefined, b: Edit | PlainMessage<Edit> | undefined): boolean;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* @generated from message ImportEdit
|
|
162
|
-
*/
|
|
163
|
-
export declare class ImportEdit extends Message<ImportEdit> {
|
|
164
|
-
/**
|
|
165
|
-
* @generated from field: string version = 1;
|
|
166
|
-
*/
|
|
167
|
-
version: string;
|
|
168
|
-
/**
|
|
169
|
-
* @generated from field: ActionType type = 2;
|
|
170
|
-
*/
|
|
171
|
-
type: ActionType;
|
|
172
|
-
/**
|
|
173
|
-
* @generated from field: string id = 3;
|
|
174
|
-
*/
|
|
175
|
-
id: string;
|
|
176
|
-
/**
|
|
177
|
-
* @generated from field: string name = 4;
|
|
178
|
-
*/
|
|
179
|
-
name: string;
|
|
180
|
-
/**
|
|
181
|
-
* @generated from field: repeated Op ops = 5;
|
|
182
|
-
*/
|
|
183
|
-
ops: Op[];
|
|
184
|
-
/**
|
|
185
|
-
* @generated from field: repeated string authors = 6;
|
|
186
|
-
*/
|
|
187
|
-
authors: string[];
|
|
188
|
-
/**
|
|
189
|
-
* @generated from field: string created_by = 7;
|
|
190
|
-
*/
|
|
191
|
-
createdBy: string;
|
|
192
|
-
/**
|
|
193
|
-
* @generated from field: string created_at = 8;
|
|
194
|
-
*/
|
|
195
|
-
createdAt: string;
|
|
196
|
-
/**
|
|
197
|
-
* @generated from field: string block_hash = 9;
|
|
198
|
-
*/
|
|
199
|
-
blockHash: string;
|
|
200
|
-
/**
|
|
201
|
-
* @generated from field: string block_number = 10;
|
|
202
|
-
*/
|
|
203
|
-
blockNumber: string;
|
|
204
|
-
/**
|
|
205
|
-
* @generated from field: string transaction_hash = 11;
|
|
206
|
-
*/
|
|
207
|
-
transactionHash: string;
|
|
208
|
-
constructor(data?: PartialMessage<ImportEdit>);
|
|
209
|
-
static readonly runtime: typeof proto3;
|
|
210
|
-
static readonly typeName = "ImportEdit";
|
|
211
|
-
static readonly fields: FieldList;
|
|
212
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImportEdit;
|
|
213
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImportEdit;
|
|
214
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImportEdit;
|
|
215
|
-
static equals(a: ImportEdit | PlainMessage<ImportEdit> | undefined, b: ImportEdit | PlainMessage<ImportEdit> | undefined): boolean;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* @generated from message Op
|
|
219
|
-
*/
|
|
220
|
-
export declare class Op extends Message<Op> {
|
|
221
|
-
/**
|
|
222
|
-
* @generated from field: OpType type = 1;
|
|
223
|
-
*/
|
|
224
|
-
type: OpType;
|
|
225
|
-
/**
|
|
226
|
-
* @generated from field: Triple triple = 2;
|
|
227
|
-
*/
|
|
228
|
-
triple?: Triple;
|
|
229
|
-
/**
|
|
230
|
-
* @generated from field: Entity entity = 3;
|
|
231
|
-
*/
|
|
232
|
-
entity?: Entity;
|
|
233
|
-
/**
|
|
234
|
-
* @generated from field: Relation relation = 4;
|
|
235
|
-
*/
|
|
236
|
-
relation?: Relation;
|
|
237
|
-
/**
|
|
238
|
-
* @generated from field: repeated Triple triples = 5;
|
|
239
|
-
*/
|
|
240
|
-
triples: Triple[];
|
|
241
|
-
constructor(data?: PartialMessage<Op>);
|
|
242
|
-
static readonly runtime: typeof proto3;
|
|
243
|
-
static readonly typeName = "Op";
|
|
244
|
-
static readonly fields: FieldList;
|
|
245
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Op;
|
|
246
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Op;
|
|
247
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Op;
|
|
248
|
-
static equals(a: Op | PlainMessage<Op> | undefined, b: Op | PlainMessage<Op> | undefined): boolean;
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* @generated from message Triple
|
|
252
|
-
*/
|
|
253
|
-
export declare class Triple extends Message<Triple> {
|
|
254
|
-
/**
|
|
255
|
-
* @generated from field: string entity = 1;
|
|
256
|
-
*/
|
|
257
|
-
entity: string;
|
|
258
|
-
/**
|
|
259
|
-
* @generated from field: string attribute = 2;
|
|
260
|
-
*/
|
|
261
|
-
attribute: string;
|
|
262
|
-
/**
|
|
263
|
-
* @generated from field: Value value = 3;
|
|
264
|
-
*/
|
|
265
|
-
value?: Value;
|
|
266
|
-
constructor(data?: PartialMessage<Triple>);
|
|
267
|
-
static readonly runtime: typeof proto3;
|
|
268
|
-
static readonly typeName = "Triple";
|
|
269
|
-
static readonly fields: FieldList;
|
|
270
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Triple;
|
|
271
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Triple;
|
|
272
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Triple;
|
|
273
|
-
static equals(a: Triple | PlainMessage<Triple> | undefined, b: Triple | PlainMessage<Triple> | undefined): boolean;
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* @generated from message Value
|
|
277
|
-
*/
|
|
278
|
-
export declare class Value extends Message<Value> {
|
|
279
|
-
/**
|
|
280
|
-
* @generated from field: ValueType type = 1;
|
|
281
|
-
*/
|
|
282
|
-
type: ValueType;
|
|
283
|
-
/**
|
|
284
|
-
* @generated from field: string value = 2;
|
|
285
|
-
*/
|
|
286
|
-
value: string;
|
|
287
|
-
constructor(data?: PartialMessage<Value>);
|
|
288
|
-
static readonly runtime: typeof proto3;
|
|
289
|
-
static readonly typeName = "Value";
|
|
290
|
-
static readonly fields: FieldList;
|
|
291
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Value;
|
|
292
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Value;
|
|
293
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Value;
|
|
294
|
-
static equals(a: Value | PlainMessage<Value> | undefined, b: Value | PlainMessage<Value> | undefined): boolean;
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* @generated from message Relation
|
|
298
|
-
*/
|
|
299
|
-
export declare class Relation extends Message<Relation> {
|
|
300
|
-
/**
|
|
301
|
-
* @generated from field: string id = 1;
|
|
302
|
-
*/
|
|
303
|
-
id: string;
|
|
304
|
-
/**
|
|
305
|
-
* @generated from field: string type = 2;
|
|
306
|
-
*/
|
|
307
|
-
type: string;
|
|
308
|
-
/**
|
|
309
|
-
* @generated from field: string from_entity = 3;
|
|
310
|
-
*/
|
|
311
|
-
fromEntity: string;
|
|
312
|
-
/**
|
|
313
|
-
* @generated from field: string to_entity = 4;
|
|
314
|
-
*/
|
|
315
|
-
toEntity: string;
|
|
316
|
-
/**
|
|
317
|
-
* @generated from field: string index = 5;
|
|
318
|
-
*/
|
|
319
|
-
index: string;
|
|
320
|
-
constructor(data?: PartialMessage<Relation>);
|
|
321
|
-
static readonly runtime: typeof proto3;
|
|
322
|
-
static readonly typeName = "Relation";
|
|
323
|
-
static readonly fields: FieldList;
|
|
324
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Relation;
|
|
325
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Relation;
|
|
326
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Relation;
|
|
327
|
-
static equals(a: Relation | PlainMessage<Relation> | undefined, b: Relation | PlainMessage<Relation> | undefined): boolean;
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* @generated from message Entity
|
|
331
|
-
*/
|
|
332
|
-
export declare class Entity extends Message<Entity> {
|
|
333
|
-
/**
|
|
334
|
-
* @generated from field: string id = 1;
|
|
335
|
-
*/
|
|
336
|
-
id: string;
|
|
337
|
-
/**
|
|
338
|
-
* @generated from field: repeated string types = 2;
|
|
339
|
-
*/
|
|
340
|
-
types: string[];
|
|
341
|
-
constructor(data?: PartialMessage<Entity>);
|
|
342
|
-
static readonly runtime: typeof proto3;
|
|
343
|
-
static readonly typeName = "Entity";
|
|
344
|
-
static readonly fields: FieldList;
|
|
345
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Entity;
|
|
346
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Entity;
|
|
347
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Entity;
|
|
348
|
-
static equals(a: Entity | PlainMessage<Entity> | undefined, b: Entity | PlainMessage<Entity> | undefined): boolean;
|
|
349
|
-
}
|
|
350
|
-
/**
|
|
351
|
-
* @generated from message Import
|
|
352
|
-
*/
|
|
353
|
-
export declare class Import extends Message<Import> {
|
|
354
|
-
/**
|
|
355
|
-
* @generated from field: string version = 1;
|
|
356
|
-
*/
|
|
357
|
-
version: string;
|
|
358
|
-
/**
|
|
359
|
-
* @generated from field: ActionType type = 2;
|
|
360
|
-
*/
|
|
361
|
-
type: ActionType;
|
|
362
|
-
/**
|
|
363
|
-
* @generated from field: string previous_network = 3;
|
|
364
|
-
*/
|
|
365
|
-
previousNetwork: string;
|
|
366
|
-
/**
|
|
367
|
-
* @generated from field: string previous_contract_address = 4;
|
|
368
|
-
*/
|
|
369
|
-
previousContractAddress: string;
|
|
370
|
-
/**
|
|
371
|
-
* @generated from field: repeated string edits = 5;
|
|
372
|
-
*/
|
|
373
|
-
edits: string[];
|
|
374
|
-
constructor(data?: PartialMessage<Import>);
|
|
375
|
-
static readonly runtime: typeof proto3;
|
|
376
|
-
static readonly typeName = "Import";
|
|
377
|
-
static readonly fields: FieldList;
|
|
378
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Import;
|
|
379
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Import;
|
|
380
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Import;
|
|
381
|
-
static equals(a: Import | PlainMessage<Import> | undefined, b: Import | PlainMessage<Import> | undefined): boolean;
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* @generated from message Options
|
|
385
|
-
*/
|
|
386
|
-
export declare class Options extends Message<Options> {
|
|
387
|
-
/**
|
|
388
|
-
* @generated from field: string format = 1;
|
|
389
|
-
*/
|
|
390
|
-
format: string;
|
|
391
|
-
/**
|
|
392
|
-
* @generated from field: string crop = 2;
|
|
393
|
-
*/
|
|
394
|
-
crop: string;
|
|
395
|
-
constructor(data?: PartialMessage<Options>);
|
|
396
|
-
static readonly runtime: typeof proto3;
|
|
397
|
-
static readonly typeName = "Options";
|
|
398
|
-
static readonly fields: FieldList;
|
|
399
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Options;
|
|
400
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Options;
|
|
401
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Options;
|
|
402
|
-
static equals(a: Options | PlainMessage<Options> | undefined, b: Options | PlainMessage<Options> | undefined): boolean;
|
|
403
|
-
}
|
|
404
|
-
//# sourceMappingURL=ipfs_pb.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ipfs_pb.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/src/proto/ipfs_pb.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,cAAc,EACd,YAAY,EACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AACH,oBAAY,MAAM;IAChB;;OAEG;IACH,eAAe,IAAI;IAEnB;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,aAAa,IAAI;IAEjB;;OAEG;IACH,gBAAgB,IAAI;IAEpB;;OAEG;IACH,aAAa,IAAI;IAEjB;;OAEG;IACH,eAAe,IAAI;IAEnB;;OAEG;IACH,eAAe,IAAI;CACpB;AAYD;;GAEG;AACH,oBAAY,SAAS;IACnB;;OAEG;IACH,kBAAkB,IAAI;IAEtB;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,MAAM,IAAI;IAEV;;OAEG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,GAAG,IAAI;IAEP;;OAEG;IACH,IAAI,IAAI;IAER;;OAEG;IACH,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