@graphprotocol/grc-20 0.11.4 → 0.12.0
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/README.md +7 -48
- package/dist/convert-ids.d.ts +2 -0
- package/dist/convert-ids.d.ts.map +1 -0
- package/dist/convert-ids.js +42 -0
- package/dist/convert-ids.js.map +1 -0
- package/dist/index.d.ts +1 -25
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -25
- package/dist/index.js.map +1 -1
- package/dist/proto.d.ts +0 -4
- package/dist/proto.d.ts.map +1 -1
- package/dist/proto.js +0 -4
- package/dist/proto.js.map +1 -1
- package/dist/protov2.d.ts +11 -0
- package/dist/protov2.d.ts.map +1 -0
- package/dist/protov2.js +11 -0
- package/dist/protov2.js.map +1 -0
- package/dist/src/blocks.d.ts +0 -7
- package/dist/src/blocks.d.ts.map +1 -1
- package/dist/src/blocks.js +0 -7
- package/dist/src/blocks.js.map +1 -1
- package/dist/src/core/account.d.ts +2 -2
- package/dist/src/core/account.d.ts.map +1 -1
- package/dist/src/core/account.js +27 -38
- package/dist/src/core/account.js.map +1 -1
- package/dist/src/core/account.test.js +25 -17
- package/dist/src/core/account.test.js.map +1 -1
- package/dist/src/core/blocks/data.d.ts +2 -2
- package/dist/src/core/blocks/data.d.ts.map +1 -1
- package/dist/src/core/blocks/data.js +25 -24
- package/dist/src/core/blocks/data.js.map +1 -1
- package/dist/src/core/blocks/data.test.js +20 -20
- package/dist/src/core/blocks/data.test.js.map +1 -1
- package/dist/src/core/blocks/text.d.ts.map +1 -1
- package/dist/src/core/blocks/text.js +22 -22
- package/dist/src/core/blocks/text.js.map +1 -1
- package/dist/src/core/blocks/text.test.js +11 -11
- package/dist/src/core/blocks/text.test.js.map +1 -1
- package/dist/src/core/ids/content.d.ts +1 -37
- package/dist/src/core/ids/content.d.ts.map +1 -1
- package/dist/src/core/ids/content.js +55 -199
- package/dist/src/core/ids/content.js.map +1 -1
- package/dist/src/core/ids/network.d.ts.map +1 -1
- package/dist/src/core/ids/network.js +3 -3
- package/dist/src/core/ids/network.js.map +1 -1
- package/dist/src/core/ids/system.d.ts +6 -51
- package/dist/src/core/ids/system.d.ts.map +1 -1
- package/dist/src/core/ids/system.js +142 -310
- package/dist/src/core/ids/system.js.map +1 -1
- package/dist/src/core/idsv2/content.d.ts +59 -0
- package/dist/src/core/idsv2/content.d.ts.map +1 -0
- package/dist/src/core/idsv2/content.js +59 -0
- package/dist/src/core/idsv2/content.js.map +1 -0
- package/dist/src/core/idsv2/network.d.ts +5 -0
- package/dist/src/core/idsv2/network.d.ts.map +1 -0
- package/dist/src/core/idsv2/network.js +5 -0
- package/dist/src/core/idsv2/network.js.map +1 -0
- package/dist/src/core/idsv2/system.d.ts +222 -0
- package/dist/src/core/idsv2/system.d.ts.map +1 -0
- package/dist/src/core/idsv2/system.js +230 -0
- package/dist/src/core/idsv2/system.js.map +1 -0
- package/dist/src/core/scheme.d.ts +1 -1
- package/dist/src/core/scheme.d.ts.map +1 -1
- package/dist/src/graph/create-entity.d.ts +21 -18
- package/dist/src/graph/create-entity.d.ts.map +1 -1
- package/dist/src/graph/create-entity.js +96 -27
- package/dist/src/graph/create-entity.js.map +1 -1
- package/dist/src/graph/create-entity.test.js +101 -245
- package/dist/src/graph/create-entity.test.js.map +1 -1
- package/dist/src/graph/create-image.d.ts +1 -14
- package/dist/src/graph/create-image.d.ts.map +1 -1
- package/dist/src/graph/create-image.js +34 -7
- package/dist/src/graph/create-image.js.map +1 -1
- package/dist/src/graph/create-image.test.js +38 -47
- package/dist/src/graph/create-image.test.js.map +1 -1
- package/dist/src/graph/create-property.d.ts +1 -9
- package/dist/src/graph/create-property.d.ts.map +1 -1
- package/dist/src/graph/create-property.js +52 -36
- package/dist/src/graph/create-property.js.map +1 -1
- package/dist/src/graph/create-property.test.js +10 -12
- package/dist/src/graph/create-property.test.js.map +1 -1
- package/dist/src/graph/create-relation.d.ts +33 -0
- package/dist/src/graph/create-relation.d.ts.map +1 -0
- package/dist/src/graph/create-relation.js +66 -0
- package/dist/src/graph/create-relation.js.map +1 -0
- package/dist/src/graph/create-relation.test.d.ts +2 -0
- package/dist/src/graph/create-relation.test.d.ts.map +1 -0
- package/dist/src/graph/create-relation.test.js +208 -0
- package/dist/src/graph/create-relation.test.js.map +1 -0
- package/dist/src/graph/create-type.d.ts +3 -8
- package/dist/src/graph/create-type.d.ts.map +1 -1
- package/dist/src/graph/create-type.js +29 -17
- package/dist/src/graph/create-type.js.map +1 -1
- package/dist/src/graph/create-type.test.js +37 -35
- package/dist/src/graph/create-type.test.js.map +1 -1
- package/dist/src/graph/delete-entity.d.ts +4 -10
- package/dist/src/graph/delete-entity.d.ts.map +1 -1
- package/dist/src/graph/delete-entity.js +10 -35
- package/dist/src/graph/delete-entity.js.map +1 -1
- package/dist/src/graph/delete-entity.test.js +17 -35
- package/dist/src/graph/delete-entity.test.js.map +1 -1
- package/dist/src/graph/delete-relation.d.ts +14 -0
- package/dist/src/graph/delete-relation.d.ts.map +1 -0
- package/dist/src/graph/delete-relation.js +21 -0
- package/dist/src/graph/delete-relation.js.map +1 -0
- package/dist/src/graph/delete-relation.test.d.ts +2 -0
- package/dist/src/graph/delete-relation.test.d.ts.map +1 -0
- package/dist/src/graph/delete-relation.test.js +24 -0
- package/dist/src/graph/delete-relation.test.js.map +1 -0
- package/dist/src/graph/index.d.ts +5 -0
- package/dist/src/graph/index.d.ts.map +1 -1
- package/dist/src/graph/index.js +5 -0
- package/dist/src/graph/index.js.map +1 -1
- package/dist/src/graph/unset-entity-values.d.ts +21 -0
- package/dist/src/graph/unset-entity-values.d.ts.map +1 -0
- package/dist/src/graph/unset-entity-values.js +26 -0
- package/dist/src/graph/unset-entity-values.js.map +1 -0
- package/dist/src/graph/unset-entity-values.test.d.ts +2 -0
- package/dist/src/graph/unset-entity-values.test.d.ts.map +1 -0
- package/dist/src/graph/unset-entity-values.test.js +40 -0
- package/dist/src/graph/unset-entity-values.test.js.map +1 -0
- package/dist/src/graph/unset-relation-fields.d.ts +25 -0
- package/dist/src/graph/unset-relation-fields.d.ts.map +1 -0
- package/dist/src/graph/unset-relation-fields.js +34 -0
- package/dist/src/graph/unset-relation-fields.js.map +1 -0
- package/dist/src/graph/unset-relation-fields.test.d.ts +2 -0
- package/dist/src/graph/unset-relation-fields.test.d.ts.map +1 -0
- package/dist/src/graph/unset-relation-fields.test.js +64 -0
- package/dist/src/graph/unset-relation-fields.test.js.map +1 -0
- package/dist/src/graph/update-entity.d.ts +28 -0
- package/dist/src/graph/update-entity.d.ts.map +1 -0
- package/dist/src/graph/update-entity.js +73 -0
- package/dist/src/graph/update-entity.js.map +1 -0
- package/dist/src/graph/update-entity.test.d.ts +2 -0
- package/dist/src/graph/update-entity.test.d.ts.map +1 -0
- package/dist/src/graph/update-entity.test.js +116 -0
- package/dist/src/graph/update-entity.test.js.map +1 -0
- package/dist/src/graph/update-relation.d.ts +21 -0
- package/dist/src/graph/update-relation.d.ts.map +1 -0
- package/dist/src/graph/update-relation.js +37 -0
- package/dist/src/graph/update-relation.js.map +1 -0
- package/dist/src/graphv2/constants.d.ts +2 -0
- package/dist/src/graphv2/constants.d.ts.map +1 -0
- package/dist/src/graphv2/constants.js +2 -0
- package/dist/src/graphv2/constants.js.map +1 -0
- package/dist/src/graphv2/create-entity.d.ts +52 -0
- package/dist/src/graphv2/create-entity.d.ts.map +1 -0
- package/dist/src/graphv2/create-entity.js +140 -0
- package/dist/src/graphv2/create-entity.js.map +1 -0
- package/dist/src/graphv2/create-entity.test.d.ts +2 -0
- package/dist/src/graphv2/create-entity.test.d.ts.map +1 -0
- package/dist/src/graphv2/create-entity.test.js +158 -0
- package/dist/src/graphv2/create-entity.test.js.map +1 -0
- package/dist/src/graphv2/create-image.d.ts +28 -0
- package/dist/src/graphv2/create-image.d.ts.map +1 -0
- package/dist/src/graphv2/create-image.js +71 -0
- package/dist/src/graphv2/create-image.js.map +1 -0
- package/dist/src/graphv2/create-image.test.d.ts +2 -0
- package/dist/src/graphv2/create-image.test.d.ts.map +1 -0
- package/dist/src/graphv2/create-image.test.js +142 -0
- package/dist/src/graphv2/create-image.test.js.map +1 -0
- package/dist/src/graphv2/create-property.d.ts +22 -0
- package/dist/src/graphv2/create-property.d.ts.map +1 -0
- package/dist/src/graphv2/create-property.js +129 -0
- package/dist/src/graphv2/create-property.js.map +1 -0
- package/dist/src/graphv2/create-property.test.d.ts +2 -0
- package/dist/src/graphv2/create-property.test.d.ts.map +1 -0
- package/dist/src/graphv2/create-property.test.js +82 -0
- package/dist/src/graphv2/create-property.test.js.map +1 -0
- package/dist/src/graphv2/create-relation.d.ts +33 -0
- package/dist/src/graphv2/create-relation.d.ts.map +1 -0
- package/dist/src/graphv2/create-relation.js +66 -0
- package/dist/src/graphv2/create-relation.js.map +1 -0
- package/dist/src/graphv2/create-relation.test.d.ts +2 -0
- package/dist/src/graphv2/create-relation.test.d.ts.map +1 -0
- package/dist/src/graphv2/create-relation.test.js +208 -0
- package/dist/src/graphv2/create-relation.test.js.map +1 -0
- package/dist/src/graphv2/create-space.d.ts +13 -0
- package/dist/src/graphv2/create-space.d.ts.map +1 -0
- package/dist/src/graphv2/create-space.js +21 -0
- package/dist/src/graphv2/create-space.js.map +1 -0
- package/dist/src/graphv2/create-type.d.ts +22 -0
- package/dist/src/graphv2/create-type.d.ts.map +1 -0
- package/dist/src/graphv2/create-type.js +64 -0
- package/dist/src/graphv2/create-type.js.map +1 -0
- package/dist/src/graphv2/create-type.test.d.ts +2 -0
- package/dist/src/graphv2/create-type.test.d.ts.map +1 -0
- package/dist/src/graphv2/create-type.test.js +109 -0
- package/dist/src/graphv2/create-type.test.js.map +1 -0
- package/dist/src/graphv2/delete-entity.d.ts +14 -0
- package/dist/src/graphv2/delete-entity.d.ts.map +1 -0
- package/dist/src/graphv2/delete-entity.js +21 -0
- package/dist/src/graphv2/delete-entity.js.map +1 -0
- package/dist/src/graphv2/delete-entity.test.d.ts +2 -0
- package/dist/src/graphv2/delete-entity.test.d.ts.map +1 -0
- package/dist/src/graphv2/delete-entity.test.js +24 -0
- package/dist/src/graphv2/delete-entity.test.js.map +1 -0
- package/dist/src/graphv2/delete-relation.d.ts +14 -0
- package/dist/src/graphv2/delete-relation.d.ts.map +1 -0
- package/dist/src/graphv2/delete-relation.js +21 -0
- package/dist/src/graphv2/delete-relation.js.map +1 -0
- package/dist/src/graphv2/delete-relation.test.d.ts +2 -0
- package/dist/src/graphv2/delete-relation.test.d.ts.map +1 -0
- package/dist/src/graphv2/delete-relation.test.js +24 -0
- package/dist/src/graphv2/delete-relation.test.js.map +1 -0
- package/dist/src/graphv2/index.d.ts +12 -0
- package/dist/src/graphv2/index.d.ts.map +1 -0
- package/dist/src/graphv2/index.js +12 -0
- package/dist/src/graphv2/index.js.map +1 -0
- package/dist/src/graphv2/remove-entity-properties.d.ts +25 -0
- package/dist/src/graphv2/remove-entity-properties.d.ts.map +1 -0
- package/dist/src/graphv2/remove-entity-properties.js +24 -0
- package/dist/src/graphv2/remove-entity-properties.js.map +1 -0
- package/dist/src/graphv2/unset-entity-values.d.ts +21 -0
- package/dist/src/graphv2/unset-entity-values.d.ts.map +1 -0
- package/dist/src/graphv2/unset-entity-values.js +26 -0
- package/dist/src/graphv2/unset-entity-values.js.map +1 -0
- package/dist/src/graphv2/unset-entity-values.test.d.ts +2 -0
- package/dist/src/graphv2/unset-entity-values.test.d.ts.map +1 -0
- package/dist/src/graphv2/unset-entity-values.test.js +40 -0
- package/dist/src/graphv2/unset-entity-values.test.js.map +1 -0
- package/dist/src/graphv2/unset-relation-fields.d.ts +25 -0
- package/dist/src/graphv2/unset-relation-fields.d.ts.map +1 -0
- package/dist/src/graphv2/unset-relation-fields.js +34 -0
- package/dist/src/graphv2/unset-relation-fields.js.map +1 -0
- package/dist/src/graphv2/unset-relation-fields.test.d.ts +2 -0
- package/dist/src/graphv2/unset-relation-fields.test.d.ts.map +1 -0
- package/dist/src/graphv2/unset-relation-fields.test.js +64 -0
- package/dist/src/graphv2/unset-relation-fields.test.js.map +1 -0
- package/dist/src/graphv2/update-entity.d.ts +28 -0
- package/dist/src/graphv2/update-entity.d.ts.map +1 -0
- package/dist/src/graphv2/update-entity.js +73 -0
- package/dist/src/graphv2/update-entity.js.map +1 -0
- package/dist/src/graphv2/update-entity.test.d.ts +2 -0
- package/dist/src/graphv2/update-entity.test.d.ts.map +1 -0
- package/dist/src/graphv2/update-entity.test.js +116 -0
- package/dist/src/graphv2/update-entity.test.js.map +1 -0
- package/dist/src/graphv2/update-relation.d.ts +21 -0
- package/dist/src/graphv2/update-relation.d.ts.map +1 -0
- package/dist/src/graphv2/update-relation.js +37 -0
- package/dist/src/graphv2/update-relation.js.map +1 -0
- package/dist/src/id.d.ts +9 -2
- package/dist/src/id.d.ts.map +1 -1
- package/dist/src/id.js +55 -22
- package/dist/src/id.js.map +1 -1
- package/dist/src/id.test.js +13 -10
- package/dist/src/id.test.js.map +1 -1
- package/dist/src/idv2.d.ts +27 -0
- package/dist/src/idv2.d.ts.map +1 -0
- package/dist/src/idv2.js +88 -0
- package/dist/src/idv2.js.map +1 -0
- package/dist/src/idv2.test.d.ts +2 -0
- package/dist/src/idv2.test.d.ts.map +1 -0
- package/dist/src/idv2.test.js +26 -0
- package/dist/src/idv2.test.js.map +1 -0
- package/dist/src/ipfs.d.ts +2 -2
- package/dist/src/ipfs.d.ts.map +1 -1
- package/dist/src/ipfs.js +2 -2
- package/dist/src/ipfs.js.map +1 -1
- package/dist/src/ipfs.test.d.ts +2 -0
- package/dist/src/ipfs.test.d.ts.map +1 -0
- package/dist/src/ipfs.test.js +22 -0
- package/dist/src/ipfs.test.js.map +1 -0
- package/dist/src/ipfsv2.d.ts +96 -0
- package/dist/src/ipfsv2.d.ts.map +1 -0
- package/dist/src/ipfsv2.js +163 -0
- package/dist/src/ipfsv2.js.map +1 -0
- package/dist/src/ipfsv2.test.d.ts +2 -0
- package/dist/src/ipfsv2.test.d.ts.map +1 -0
- package/dist/src/ipfsv2.test.js +22 -0
- package/dist/src/ipfsv2.test.js.map +1 -0
- package/dist/src/proto/edit.d.ts +4 -2
- package/dist/src/proto/edit.d.ts.map +1 -1
- package/dist/src/proto/edit.js +53 -32
- package/dist/src/proto/edit.js.map +1 -1
- package/dist/src/proto/edit.test.js +139 -152
- package/dist/src/proto/edit.test.js.map +1 -1
- package/dist/src/proto/editv2.d.ts +11 -0
- package/dist/src/proto/editv2.d.ts.map +1 -0
- package/dist/src/proto/editv2.js +81 -0
- package/dist/src/proto/editv2.js.map +1 -0
- package/dist/src/proto/editv2.test.d.ts +2 -0
- package/dist/src/proto/editv2.test.d.ts.map +1 -0
- package/dist/src/proto/editv2.test.js +211 -0
- package/dist/src/proto/editv2.test.js.map +1 -0
- package/dist/src/proto/gen/src/proto/ipfs_pb.d.ts +249 -369
- package/dist/src/proto/gen/src/proto/ipfs_pb.d.ts.map +1 -1
- package/dist/src/proto/gen/src/proto/ipfs_pb.js +244 -484
- package/dist/src/proto/gen/src/proto/ipfs_pb.js.map +1 -1
- package/dist/src/proto/gen/src/proto/ipfsv2_pb.d.ts +410 -0
- package/dist/src/proto/gen/src/proto/ipfsv2_pb.d.ts.map +1 -0
- package/dist/src/proto/gen/src/proto/ipfsv2_pb.js +536 -0
- package/dist/src/proto/gen/src/proto/ipfsv2_pb.js.map +1 -0
- package/dist/src/smart-wallet-2.test-invalid.d.ts +2 -0
- package/dist/src/smart-wallet-2.test-invalid.d.ts.map +1 -0
- package/dist/src/smart-wallet-2.test-invalid.js +49 -0
- package/dist/src/smart-wallet-2.test-invalid.js.map +1 -0
- package/dist/src/smart-wallet-2.test.d.ts +2 -0
- package/dist/src/smart-wallet-2.test.d.ts.map +1 -0
- package/dist/src/smart-wallet-2.test.js +49 -0
- package/dist/src/smart-wallet-2.test.js.map +1 -0
- package/dist/src/system-ids-v2.d.ts +7 -0
- package/dist/src/system-ids-v2.d.ts.map +1 -0
- package/dist/src/system-ids-v2.js +7 -0
- package/dist/src/system-ids-v2.js.map +1 -0
- package/dist/src/system-ids.d.ts +0 -2
- package/dist/src/system-ids.d.ts.map +1 -1
- package/dist/src/system-ids.js +0 -2
- package/dist/src/system-ids.js.map +1 -1
- package/dist/src/types-backup.d.ts +134 -0
- package/dist/src/types-backup.d.ts.map +1 -0
- package/dist/src/types-backup.js +13 -0
- package/dist/src/types-backup.js.map +1 -0
- package/dist/src/types.d.ts +126 -103
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +0 -5
- package/dist/src/types.js.map +1 -1
- package/dist/src/typesv2.d.ts +173 -0
- package/dist/src/typesv2.d.ts.map +1 -0
- package/dist/src/typesv2.js +8 -0
- package/dist/src/typesv2.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,220 +1,44 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file src/proto/ipfs.proto (syntax proto3)
|
|
2
|
+
// @generated from file src/proto/ipfs.proto (package ipfs, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
6
|
/**
|
|
7
|
-
* @generated from
|
|
8
|
-
*/
|
|
9
|
-
export var OpType;
|
|
10
|
-
(function (OpType) {
|
|
11
|
-
/**
|
|
12
|
-
* @generated from enum value: OP_TYPE_UNKNOWN = 0;
|
|
13
|
-
*/
|
|
14
|
-
OpType[OpType["OP_TYPE_UNKNOWN"] = 0] = "OP_TYPE_UNKNOWN";
|
|
15
|
-
/**
|
|
16
|
-
* @generated from enum value: SET_TRIPLE = 1;
|
|
17
|
-
*/
|
|
18
|
-
OpType[OpType["SET_TRIPLE"] = 1] = "SET_TRIPLE";
|
|
19
|
-
/**
|
|
20
|
-
* @generated from enum value: DELETE_TRIPLE = 2;
|
|
21
|
-
*/
|
|
22
|
-
OpType[OpType["DELETE_TRIPLE"] = 2] = "DELETE_TRIPLE";
|
|
23
|
-
/**
|
|
24
|
-
* @generated from enum value: SET_TRIPLE_BATCH = 3;
|
|
25
|
-
*/
|
|
26
|
-
OpType[OpType["SET_TRIPLE_BATCH"] = 3] = "SET_TRIPLE_BATCH";
|
|
27
|
-
/**
|
|
28
|
-
* @generated from enum value: DELETE_ENTITY = 4;
|
|
29
|
-
*/
|
|
30
|
-
OpType[OpType["DELETE_ENTITY"] = 4] = "DELETE_ENTITY";
|
|
31
|
-
/**
|
|
32
|
-
* @generated from enum value: CREATE_RELATION = 5;
|
|
33
|
-
*/
|
|
34
|
-
OpType[OpType["CREATE_RELATION"] = 5] = "CREATE_RELATION";
|
|
35
|
-
/**
|
|
36
|
-
* @generated from enum value: DELETE_RELATION = 6;
|
|
37
|
-
*/
|
|
38
|
-
OpType[OpType["DELETE_RELATION"] = 6] = "DELETE_RELATION";
|
|
39
|
-
/**
|
|
40
|
-
* @generated from enum value: IMPORT_FILE = 7;
|
|
41
|
-
*/
|
|
42
|
-
OpType[OpType["IMPORT_FILE"] = 7] = "IMPORT_FILE";
|
|
43
|
-
})(OpType || (OpType = {}));
|
|
44
|
-
// Retrieve enum metadata with: proto3.getEnumType(OpType)
|
|
45
|
-
proto3.util.setEnumType(OpType, "OpType", [
|
|
46
|
-
{ no: 0, name: "OP_TYPE_UNKNOWN" },
|
|
47
|
-
{ no: 1, name: "SET_TRIPLE" },
|
|
48
|
-
{ no: 2, name: "DELETE_TRIPLE" },
|
|
49
|
-
{ no: 3, name: "SET_TRIPLE_BATCH" },
|
|
50
|
-
{ no: 4, name: "DELETE_ENTITY" },
|
|
51
|
-
{ no: 5, name: "CREATE_RELATION" },
|
|
52
|
-
{ no: 6, name: "DELETE_RELATION" },
|
|
53
|
-
{ no: 7, name: "IMPORT_FILE" },
|
|
54
|
-
]);
|
|
55
|
-
/**
|
|
56
|
-
* @generated from enum ValueType
|
|
57
|
-
*/
|
|
58
|
-
export var ValueType;
|
|
59
|
-
(function (ValueType) {
|
|
60
|
-
/**
|
|
61
|
-
* @generated from enum value: VALUE_TYPE_UNKNOWN = 0;
|
|
62
|
-
*/
|
|
63
|
-
ValueType[ValueType["VALUE_TYPE_UNKNOWN"] = 0] = "VALUE_TYPE_UNKNOWN";
|
|
64
|
-
/**
|
|
65
|
-
* @generated from enum value: TEXT = 1;
|
|
66
|
-
*/
|
|
67
|
-
ValueType[ValueType["TEXT"] = 1] = "TEXT";
|
|
68
|
-
/**
|
|
69
|
-
* @generated from enum value: NUMBER = 2;
|
|
70
|
-
*/
|
|
71
|
-
ValueType[ValueType["NUMBER"] = 2] = "NUMBER";
|
|
72
|
-
/**
|
|
73
|
-
* @generated from enum value: CHECKBOX = 3;
|
|
74
|
-
*/
|
|
75
|
-
ValueType[ValueType["CHECKBOX"] = 3] = "CHECKBOX";
|
|
76
|
-
/**
|
|
77
|
-
* @generated from enum value: URL = 4;
|
|
78
|
-
*/
|
|
79
|
-
ValueType[ValueType["URL"] = 4] = "URL";
|
|
80
|
-
/**
|
|
81
|
-
* @generated from enum value: TIME = 5;
|
|
82
|
-
*/
|
|
83
|
-
ValueType[ValueType["TIME"] = 5] = "TIME";
|
|
84
|
-
/**
|
|
85
|
-
* @generated from enum value: POINT = 6;
|
|
86
|
-
*/
|
|
87
|
-
ValueType[ValueType["POINT"] = 6] = "POINT";
|
|
88
|
-
})(ValueType || (ValueType = {}));
|
|
89
|
-
// Retrieve enum metadata with: proto3.getEnumType(ValueType)
|
|
90
|
-
proto3.util.setEnumType(ValueType, "ValueType", [
|
|
91
|
-
{ no: 0, name: "VALUE_TYPE_UNKNOWN" },
|
|
92
|
-
{ no: 1, name: "TEXT" },
|
|
93
|
-
{ no: 2, name: "NUMBER" },
|
|
94
|
-
{ no: 3, name: "CHECKBOX" },
|
|
95
|
-
{ no: 4, name: "URL" },
|
|
96
|
-
{ no: 5, name: "TIME" },
|
|
97
|
-
{ no: 6, name: "POINT" },
|
|
98
|
-
]);
|
|
99
|
-
/**
|
|
100
|
-
* @generated from enum ActionType
|
|
101
|
-
*/
|
|
102
|
-
export var ActionType;
|
|
103
|
-
(function (ActionType) {
|
|
104
|
-
/**
|
|
105
|
-
* @generated from enum value: ACTION_TYPE_UNKNOWN = 0;
|
|
106
|
-
*/
|
|
107
|
-
ActionType[ActionType["ACTION_TYPE_UNKNOWN"] = 0] = "ACTION_TYPE_UNKNOWN";
|
|
108
|
-
/**
|
|
109
|
-
* @generated from enum value: ADD_EDIT = 1;
|
|
110
|
-
*/
|
|
111
|
-
ActionType[ActionType["ADD_EDIT"] = 1] = "ADD_EDIT";
|
|
112
|
-
/**
|
|
113
|
-
* @generated from enum value: ADD_SUBSPACE = 2;
|
|
114
|
-
*/
|
|
115
|
-
ActionType[ActionType["ADD_SUBSPACE"] = 2] = "ADD_SUBSPACE";
|
|
116
|
-
/**
|
|
117
|
-
* @generated from enum value: REMOVE_SUBSPACE = 3;
|
|
118
|
-
*/
|
|
119
|
-
ActionType[ActionType["REMOVE_SUBSPACE"] = 3] = "REMOVE_SUBSPACE";
|
|
120
|
-
/**
|
|
121
|
-
* @generated from enum value: IMPORT_SPACE = 4;
|
|
122
|
-
*/
|
|
123
|
-
ActionType[ActionType["IMPORT_SPACE"] = 4] = "IMPORT_SPACE";
|
|
124
|
-
/**
|
|
125
|
-
* @generated from enum value: ARCHIVE_SPACE = 5;
|
|
126
|
-
*/
|
|
127
|
-
ActionType[ActionType["ARCHIVE_SPACE"] = 5] = "ARCHIVE_SPACE";
|
|
128
|
-
})(ActionType || (ActionType = {}));
|
|
129
|
-
// Retrieve enum metadata with: proto3.getEnumType(ActionType)
|
|
130
|
-
proto3.util.setEnumType(ActionType, "ActionType", [
|
|
131
|
-
{ no: 0, name: "ACTION_TYPE_UNKNOWN" },
|
|
132
|
-
{ no: 1, name: "ADD_EDIT" },
|
|
133
|
-
{ no: 2, name: "ADD_SUBSPACE" },
|
|
134
|
-
{ no: 3, name: "REMOVE_SUBSPACE" },
|
|
135
|
-
{ no: 4, name: "IMPORT_SPACE" },
|
|
136
|
-
{ no: 5, name: "ARCHIVE_SPACE" },
|
|
137
|
-
]);
|
|
138
|
-
/**
|
|
139
|
-
* @generated from message IpfsMetadata
|
|
140
|
-
*/
|
|
141
|
-
export class IpfsMetadata extends Message {
|
|
142
|
-
/**
|
|
143
|
-
* We version the data structured used to represent proposal metadata. Each
|
|
144
|
-
* proposal type has their own metadata and versioning that we can change
|
|
145
|
-
* independently of other proposal types.
|
|
146
|
-
*
|
|
147
|
-
* @generated from field: string version = 1;
|
|
148
|
-
*/
|
|
149
|
-
version = "";
|
|
150
|
-
/**
|
|
151
|
-
* @generated from field: ActionType type = 2;
|
|
152
|
-
*/
|
|
153
|
-
type = ActionType.ACTION_TYPE_UNKNOWN;
|
|
154
|
-
constructor(data) {
|
|
155
|
-
super();
|
|
156
|
-
proto3.util.initPartial(data, this);
|
|
157
|
-
}
|
|
158
|
-
static runtime = proto3;
|
|
159
|
-
static typeName = "IpfsMetadata";
|
|
160
|
-
static fields = proto3.util.newFieldList(() => [
|
|
161
|
-
{ no: 1, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
|
-
{ no: 2, name: "type", kind: "enum", T: proto3.getEnumType(ActionType) },
|
|
163
|
-
]);
|
|
164
|
-
static fromBinary(bytes, options) {
|
|
165
|
-
return new IpfsMetadata().fromBinary(bytes, options);
|
|
166
|
-
}
|
|
167
|
-
static fromJson(jsonValue, options) {
|
|
168
|
-
return new IpfsMetadata().fromJson(jsonValue, options);
|
|
169
|
-
}
|
|
170
|
-
static fromJsonString(jsonString, options) {
|
|
171
|
-
return new IpfsMetadata().fromJsonString(jsonString, options);
|
|
172
|
-
}
|
|
173
|
-
static equals(a, b) {
|
|
174
|
-
return proto3.util.equals(IpfsMetadata, a, b);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* @generated from message Edit
|
|
7
|
+
* @generated from message ipfs.Edit
|
|
179
8
|
*/
|
|
180
9
|
export class Edit extends Message {
|
|
181
10
|
/**
|
|
182
|
-
* @generated from field:
|
|
183
|
-
*/
|
|
184
|
-
version = "";
|
|
185
|
-
/**
|
|
186
|
-
* @generated from field: ActionType type = 2;
|
|
187
|
-
*/
|
|
188
|
-
type = ActionType.ACTION_TYPE_UNKNOWN;
|
|
189
|
-
/**
|
|
190
|
-
* @generated from field: string id = 3;
|
|
11
|
+
* @generated from field: bytes id = 1;
|
|
191
12
|
*/
|
|
192
|
-
id =
|
|
13
|
+
id = new Uint8Array(0);
|
|
193
14
|
/**
|
|
194
|
-
* @generated from field: string name =
|
|
15
|
+
* @generated from field: string name = 2;
|
|
195
16
|
*/
|
|
196
17
|
name = "";
|
|
197
18
|
/**
|
|
198
|
-
* @generated from field: repeated Op ops =
|
|
19
|
+
* @generated from field: repeated ipfs.Op ops = 3;
|
|
199
20
|
*/
|
|
200
21
|
ops = [];
|
|
201
22
|
/**
|
|
202
|
-
* @generated from field: repeated
|
|
23
|
+
* @generated from field: repeated bytes authors = 4;
|
|
203
24
|
*/
|
|
204
25
|
authors = [];
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: optional bytes language = 5;
|
|
28
|
+
*/
|
|
29
|
+
language;
|
|
205
30
|
constructor(data) {
|
|
206
31
|
super();
|
|
207
32
|
proto3.util.initPartial(data, this);
|
|
208
33
|
}
|
|
209
34
|
static runtime = proto3;
|
|
210
|
-
static typeName = "Edit";
|
|
35
|
+
static typeName = "ipfs.Edit";
|
|
211
36
|
static fields = proto3.util.newFieldList(() => [
|
|
212
|
-
{ no: 1, name: "
|
|
213
|
-
{ no: 2, name: "
|
|
214
|
-
{ no: 3, name: "
|
|
215
|
-
{ no: 4, name: "
|
|
216
|
-
{ no: 5, name: "
|
|
217
|
-
{ no: 6, name: "authors", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
37
|
+
{ no: 1, name: "id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
38
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
39
|
+
{ no: 3, name: "ops", kind: "message", T: Op, repeated: true },
|
|
40
|
+
{ no: 4, name: "authors", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
|
|
41
|
+
{ no: 5, name: "language", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
218
42
|
]);
|
|
219
43
|
static fromBinary(bytes, options) {
|
|
220
44
|
return new Edit().fromBinary(bytes, options);
|
|
@@ -230,71 +54,61 @@ export class Edit extends Message {
|
|
|
230
54
|
}
|
|
231
55
|
}
|
|
232
56
|
/**
|
|
233
|
-
* @generated from message ImportEdit
|
|
57
|
+
* @generated from message ipfs.ImportEdit
|
|
234
58
|
*/
|
|
235
59
|
export class ImportEdit extends Message {
|
|
236
60
|
/**
|
|
237
|
-
* @generated from field:
|
|
61
|
+
* @generated from field: bytes id = 1;
|
|
238
62
|
*/
|
|
239
|
-
|
|
63
|
+
id = new Uint8Array(0);
|
|
240
64
|
/**
|
|
241
|
-
* @generated from field:
|
|
242
|
-
*/
|
|
243
|
-
type = ActionType.ACTION_TYPE_UNKNOWN;
|
|
244
|
-
/**
|
|
245
|
-
* @generated from field: string id = 3;
|
|
246
|
-
*/
|
|
247
|
-
id = "";
|
|
248
|
-
/**
|
|
249
|
-
* @generated from field: string name = 4;
|
|
65
|
+
* @generated from field: string name = 2;
|
|
250
66
|
*/
|
|
251
67
|
name = "";
|
|
252
68
|
/**
|
|
253
|
-
* @generated from field: repeated Op ops =
|
|
69
|
+
* @generated from field: repeated ipfs.Op ops = 3;
|
|
254
70
|
*/
|
|
255
71
|
ops = [];
|
|
256
72
|
/**
|
|
257
|
-
* @generated from field: repeated
|
|
73
|
+
* @generated from field: repeated bytes authors = 4;
|
|
258
74
|
*/
|
|
259
75
|
authors = [];
|
|
260
76
|
/**
|
|
261
|
-
* @generated from field:
|
|
77
|
+
* @generated from field: bytes created_by = 5;
|
|
262
78
|
*/
|
|
263
|
-
createdBy =
|
|
79
|
+
createdBy = new Uint8Array(0);
|
|
264
80
|
/**
|
|
265
|
-
* @generated from field: string created_at =
|
|
81
|
+
* @generated from field: string created_at = 6;
|
|
266
82
|
*/
|
|
267
83
|
createdAt = "";
|
|
268
84
|
/**
|
|
269
|
-
* @generated from field:
|
|
85
|
+
* @generated from field: bytes block_hash = 7;
|
|
270
86
|
*/
|
|
271
|
-
blockHash =
|
|
87
|
+
blockHash = new Uint8Array(0);
|
|
272
88
|
/**
|
|
273
|
-
* @generated from field: string block_number =
|
|
89
|
+
* @generated from field: string block_number = 8;
|
|
274
90
|
*/
|
|
275
91
|
blockNumber = "";
|
|
276
92
|
/**
|
|
277
|
-
* @generated from field:
|
|
93
|
+
* @generated from field: bytes transaction_hash = 9;
|
|
278
94
|
*/
|
|
279
|
-
transactionHash =
|
|
95
|
+
transactionHash = new Uint8Array(0);
|
|
280
96
|
constructor(data) {
|
|
281
97
|
super();
|
|
282
98
|
proto3.util.initPartial(data, this);
|
|
283
99
|
}
|
|
284
100
|
static runtime = proto3;
|
|
285
|
-
static typeName = "ImportEdit";
|
|
101
|
+
static typeName = "ipfs.ImportEdit";
|
|
286
102
|
static fields = proto3.util.newFieldList(() => [
|
|
287
|
-
{ no: 1, name: "
|
|
288
|
-
{ no: 2, name: "
|
|
289
|
-
{ no: 3, name: "
|
|
290
|
-
{ no: 4, name: "
|
|
291
|
-
{ no: 5, name: "
|
|
292
|
-
{ no: 6, name: "
|
|
293
|
-
{ no: 7, name: "
|
|
294
|
-
{ no: 8, name: "
|
|
295
|
-
{ no: 9, name: "
|
|
296
|
-
{ no: 10, name: "block_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
297
|
-
{ no: 11, name: "transaction_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
103
|
+
{ no: 1, name: "id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
104
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
105
|
+
{ no: 3, name: "ops", kind: "message", T: Op, repeated: true },
|
|
106
|
+
{ no: 4, name: "authors", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
|
|
107
|
+
{ no: 5, name: "created_by", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
108
|
+
{ no: 6, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
109
|
+
{ no: 7, name: "block_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
110
|
+
{ no: 8, name: "block_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
111
|
+
{ no: 9, name: "transaction_hash", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
298
112
|
]);
|
|
299
113
|
static fromBinary(bytes, options) {
|
|
300
114
|
return new ImportEdit().fromBinary(bytes, options);
|
|
@@ -310,200 +124,96 @@ export class ImportEdit extends Message {
|
|
|
310
124
|
}
|
|
311
125
|
}
|
|
312
126
|
/**
|
|
313
|
-
* @generated from message
|
|
127
|
+
* @generated from message ipfs.Import
|
|
314
128
|
*/
|
|
315
|
-
export class
|
|
316
|
-
/**
|
|
317
|
-
* @generated from field: string type = 1;
|
|
318
|
-
*/
|
|
319
|
-
type = "";
|
|
129
|
+
export class Import extends Message {
|
|
320
130
|
/**
|
|
321
|
-
*
|
|
131
|
+
* these strings are IPFS cids representing the import edit message
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: repeated string edits = 1;
|
|
322
134
|
*/
|
|
323
|
-
|
|
135
|
+
edits = [];
|
|
324
136
|
constructor(data) {
|
|
325
137
|
super();
|
|
326
138
|
proto3.util.initPartial(data, this);
|
|
327
139
|
}
|
|
328
140
|
static runtime = proto3;
|
|
329
|
-
static typeName = "
|
|
141
|
+
static typeName = "ipfs.Import";
|
|
330
142
|
static fields = proto3.util.newFieldList(() => [
|
|
331
|
-
{ no: 1, name: "
|
|
332
|
-
{ no: 2, name: "columns", kind: "message", T: ImportCsvColumnMetadata, repeated: true },
|
|
143
|
+
{ no: 1, name: "edits", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
333
144
|
]);
|
|
334
145
|
static fromBinary(bytes, options) {
|
|
335
|
-
return new
|
|
146
|
+
return new Import().fromBinary(bytes, options);
|
|
336
147
|
}
|
|
337
148
|
static fromJson(jsonValue, options) {
|
|
338
|
-
return new
|
|
149
|
+
return new Import().fromJson(jsonValue, options);
|
|
339
150
|
}
|
|
340
151
|
static fromJsonString(jsonString, options) {
|
|
341
|
-
return new
|
|
152
|
+
return new Import().fromJsonString(jsonString, options);
|
|
342
153
|
}
|
|
343
154
|
static equals(a, b) {
|
|
344
|
-
return proto3.util.equals(
|
|
155
|
+
return proto3.util.equals(Import, a, b);
|
|
345
156
|
}
|
|
346
157
|
}
|
|
347
158
|
/**
|
|
348
|
-
* @generated from message
|
|
159
|
+
* @generated from message ipfs.IpfsFile
|
|
349
160
|
*/
|
|
350
|
-
export class
|
|
351
|
-
/**
|
|
352
|
-
* @generated from field: string id = 1;
|
|
353
|
-
*/
|
|
354
|
-
id = "";
|
|
355
|
-
/**
|
|
356
|
-
* @generated from field: ImportCsvColumnMetadata.CsvMetadataColumnType type = 2;
|
|
357
|
-
*/
|
|
358
|
-
type = ImportCsvColumnMetadata_CsvMetadataColumnType.UNKNOWN;
|
|
161
|
+
export class IpfsFile extends Message {
|
|
359
162
|
/**
|
|
360
|
-
* @generated from field:
|
|
361
|
-
*/
|
|
362
|
-
relationType;
|
|
363
|
-
/**
|
|
364
|
-
* @generated from field: optional bool is_id = 4;
|
|
163
|
+
* @generated from field: string version = 1;
|
|
365
164
|
*/
|
|
366
|
-
|
|
165
|
+
version = "";
|
|
367
166
|
/**
|
|
368
|
-
* @generated from
|
|
167
|
+
* @generated from oneof ipfs.IpfsFile.payload
|
|
369
168
|
*/
|
|
370
|
-
|
|
169
|
+
payload = { case: undefined };
|
|
371
170
|
constructor(data) {
|
|
372
171
|
super();
|
|
373
172
|
proto3.util.initPartial(data, this);
|
|
374
173
|
}
|
|
375
174
|
static runtime = proto3;
|
|
376
|
-
static typeName = "
|
|
175
|
+
static typeName = "ipfs.IpfsFile";
|
|
377
176
|
static fields = proto3.util.newFieldList(() => [
|
|
378
|
-
{ no: 1, name: "
|
|
379
|
-
{ no: 2, name: "
|
|
380
|
-
{ no: 3, name: "
|
|
381
|
-
{ no: 4, name: "
|
|
382
|
-
{ no: 5, name: "options", kind: "message", T: Options, opt: true },
|
|
177
|
+
{ no: 1, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
178
|
+
{ no: 2, name: "add_edit", kind: "message", T: Edit, oneof: "payload" },
|
|
179
|
+
{ no: 3, name: "import_space", kind: "message", T: Import, oneof: "payload" },
|
|
180
|
+
{ no: 4, name: "archive_space", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "payload" },
|
|
383
181
|
]);
|
|
384
182
|
static fromBinary(bytes, options) {
|
|
385
|
-
return new
|
|
183
|
+
return new IpfsFile().fromBinary(bytes, options);
|
|
386
184
|
}
|
|
387
185
|
static fromJson(jsonValue, options) {
|
|
388
|
-
return new
|
|
186
|
+
return new IpfsFile().fromJson(jsonValue, options);
|
|
389
187
|
}
|
|
390
188
|
static fromJsonString(jsonString, options) {
|
|
391
|
-
return new
|
|
189
|
+
return new IpfsFile().fromJsonString(jsonString, options);
|
|
392
190
|
}
|
|
393
191
|
static equals(a, b) {
|
|
394
|
-
return proto3.util.equals(
|
|
192
|
+
return proto3.util.equals(IpfsFile, a, b);
|
|
395
193
|
}
|
|
396
194
|
}
|
|
397
195
|
/**
|
|
398
|
-
* @generated from
|
|
399
|
-
*/
|
|
400
|
-
export var ImportCsvColumnMetadata_CsvMetadataColumnType;
|
|
401
|
-
(function (ImportCsvColumnMetadata_CsvMetadataColumnType) {
|
|
402
|
-
/**
|
|
403
|
-
* @generated from enum value: UNKNOWN = 0;
|
|
404
|
-
*/
|
|
405
|
-
ImportCsvColumnMetadata_CsvMetadataColumnType[ImportCsvColumnMetadata_CsvMetadataColumnType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
406
|
-
/**
|
|
407
|
-
* @generated from enum value: TEXT = 1;
|
|
408
|
-
*/
|
|
409
|
-
ImportCsvColumnMetadata_CsvMetadataColumnType[ImportCsvColumnMetadata_CsvMetadataColumnType["TEXT"] = 1] = "TEXT";
|
|
410
|
-
/**
|
|
411
|
-
* @generated from enum value: NUMBER = 2;
|
|
412
|
-
*/
|
|
413
|
-
ImportCsvColumnMetadata_CsvMetadataColumnType[ImportCsvColumnMetadata_CsvMetadataColumnType["NUMBER"] = 2] = "NUMBER";
|
|
414
|
-
/**
|
|
415
|
-
* @generated from enum value: CHECKBOX = 3;
|
|
416
|
-
*/
|
|
417
|
-
ImportCsvColumnMetadata_CsvMetadataColumnType[ImportCsvColumnMetadata_CsvMetadataColumnType["CHECKBOX"] = 3] = "CHECKBOX";
|
|
418
|
-
/**
|
|
419
|
-
* @generated from enum value: URL = 4;
|
|
420
|
-
*/
|
|
421
|
-
ImportCsvColumnMetadata_CsvMetadataColumnType[ImportCsvColumnMetadata_CsvMetadataColumnType["URL"] = 4] = "URL";
|
|
422
|
-
/**
|
|
423
|
-
* @generated from enum value: TIME = 5;
|
|
424
|
-
*/
|
|
425
|
-
ImportCsvColumnMetadata_CsvMetadataColumnType[ImportCsvColumnMetadata_CsvMetadataColumnType["TIME"] = 5] = "TIME";
|
|
426
|
-
/**
|
|
427
|
-
* @generated from enum value: POINT = 6;
|
|
428
|
-
*/
|
|
429
|
-
ImportCsvColumnMetadata_CsvMetadataColumnType[ImportCsvColumnMetadata_CsvMetadataColumnType["POINT"] = 6] = "POINT";
|
|
430
|
-
/**
|
|
431
|
-
* @generated from enum value: RELATION = 7;
|
|
432
|
-
*/
|
|
433
|
-
ImportCsvColumnMetadata_CsvMetadataColumnType[ImportCsvColumnMetadata_CsvMetadataColumnType["RELATION"] = 7] = "RELATION";
|
|
434
|
-
})(ImportCsvColumnMetadata_CsvMetadataColumnType || (ImportCsvColumnMetadata_CsvMetadataColumnType = {}));
|
|
435
|
-
// Retrieve enum metadata with: proto3.getEnumType(ImportCsvColumnMetadata_CsvMetadataColumnType)
|
|
436
|
-
proto3.util.setEnumType(ImportCsvColumnMetadata_CsvMetadataColumnType, "ImportCsvColumnMetadata.CsvMetadataColumnType", [
|
|
437
|
-
{ no: 0, name: "UNKNOWN" },
|
|
438
|
-
{ no: 1, name: "TEXT" },
|
|
439
|
-
{ no: 2, name: "NUMBER" },
|
|
440
|
-
{ no: 3, name: "CHECKBOX" },
|
|
441
|
-
{ no: 4, name: "URL" },
|
|
442
|
-
{ no: 5, name: "TIME" },
|
|
443
|
-
{ no: 6, name: "POINT" },
|
|
444
|
-
{ no: 7, name: "RELATION" },
|
|
445
|
-
]);
|
|
446
|
-
/**
|
|
447
|
-
* @generated from message Op
|
|
196
|
+
* @generated from message ipfs.Op
|
|
448
197
|
*/
|
|
449
198
|
export class Op extends Message {
|
|
450
199
|
/**
|
|
451
|
-
* @generated from
|
|
452
|
-
*/
|
|
453
|
-
type = OpType.OP_TYPE_UNKNOWN;
|
|
454
|
-
/**
|
|
455
|
-
* *
|
|
456
|
-
* Used when setting a single triple
|
|
457
|
-
*
|
|
458
|
-
* @generated from field: optional Triple triple = 2;
|
|
459
|
-
*/
|
|
460
|
-
triple;
|
|
461
|
-
/**
|
|
462
|
-
* *
|
|
463
|
-
* Used when setting batch ops or deleting an entity
|
|
464
|
-
*
|
|
465
|
-
* @generated from field: optional Entity entity = 3;
|
|
466
|
-
*/
|
|
467
|
-
entity;
|
|
468
|
-
/**
|
|
469
|
-
* *
|
|
470
|
-
* Used when creating or deleting a relation
|
|
471
|
-
*
|
|
472
|
-
* @generated from field: optional Relation relation = 4;
|
|
473
|
-
*/
|
|
474
|
-
relation;
|
|
475
|
-
/**
|
|
476
|
-
* *
|
|
477
|
-
* Used when setting batch ops
|
|
478
|
-
*
|
|
479
|
-
* @generated from field: repeated Triple triples = 5;
|
|
480
|
-
*/
|
|
481
|
-
triples = [];
|
|
482
|
-
/**
|
|
483
|
-
* *
|
|
484
|
-
* Used when importing a csv file
|
|
485
|
-
*
|
|
486
|
-
* @generated from field: optional string url = 6;
|
|
487
|
-
*/
|
|
488
|
-
url;
|
|
489
|
-
/**
|
|
490
|
-
* @generated from field: optional ImportCsvMetadata metadata = 7;
|
|
200
|
+
* @generated from oneof ipfs.Op.payload
|
|
491
201
|
*/
|
|
492
|
-
|
|
202
|
+
payload = { case: undefined };
|
|
493
203
|
constructor(data) {
|
|
494
204
|
super();
|
|
495
205
|
proto3.util.initPartial(data, this);
|
|
496
206
|
}
|
|
497
207
|
static runtime = proto3;
|
|
498
|
-
static typeName = "Op";
|
|
208
|
+
static typeName = "ipfs.Op";
|
|
499
209
|
static fields = proto3.util.newFieldList(() => [
|
|
500
|
-
{ no: 1, name: "
|
|
501
|
-
{ no: 2, name: "
|
|
502
|
-
{ no: 3, name: "
|
|
503
|
-
{ no: 4, name: "
|
|
504
|
-
{ no: 5, name: "
|
|
505
|
-
{ no: 6, name: "
|
|
506
|
-
{ no: 7, name: "
|
|
210
|
+
{ no: 1, name: "update_entity", kind: "message", T: Entity, oneof: "payload" },
|
|
211
|
+
{ no: 2, name: "delete_entity", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "payload" },
|
|
212
|
+
{ no: 3, name: "create_relation", kind: "message", T: Relation, oneof: "payload" },
|
|
213
|
+
{ no: 4, name: "update_relation", kind: "message", T: RelationUpdate, oneof: "payload" },
|
|
214
|
+
{ no: 5, name: "delete_relation", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "payload" },
|
|
215
|
+
{ no: 6, name: "unset_entity_values", kind: "message", T: UnsetEntityValues, oneof: "payload" },
|
|
216
|
+
{ no: 7, name: "unset_relation_fields", kind: "message", T: UnsetRelationFields, oneof: "payload" },
|
|
507
217
|
]);
|
|
508
218
|
static fromBinary(bytes, options) {
|
|
509
219
|
return new Op().fromBinary(bytes, options);
|
|
@@ -519,258 +229,308 @@ export class Op extends Message {
|
|
|
519
229
|
}
|
|
520
230
|
}
|
|
521
231
|
/**
|
|
522
|
-
* @generated from message
|
|
232
|
+
* @generated from message ipfs.UnsetEntityValues
|
|
523
233
|
*/
|
|
524
|
-
export class
|
|
234
|
+
export class UnsetEntityValues extends Message {
|
|
525
235
|
/**
|
|
526
|
-
* @generated from field:
|
|
236
|
+
* @generated from field: bytes id = 1;
|
|
527
237
|
*/
|
|
528
|
-
|
|
238
|
+
id = new Uint8Array(0);
|
|
529
239
|
/**
|
|
530
|
-
* @generated from field:
|
|
240
|
+
* @generated from field: repeated bytes properties = 2;
|
|
531
241
|
*/
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* @generated from field: Value value = 3;
|
|
535
|
-
*/
|
|
536
|
-
value;
|
|
242
|
+
properties = [];
|
|
537
243
|
constructor(data) {
|
|
538
244
|
super();
|
|
539
245
|
proto3.util.initPartial(data, this);
|
|
540
246
|
}
|
|
541
247
|
static runtime = proto3;
|
|
542
|
-
static typeName = "
|
|
248
|
+
static typeName = "ipfs.UnsetEntityValues";
|
|
543
249
|
static fields = proto3.util.newFieldList(() => [
|
|
544
|
-
{ no: 1, name: "
|
|
545
|
-
{ no: 2, name: "
|
|
546
|
-
{ no: 3, name: "value", kind: "message", T: Value },
|
|
250
|
+
{ no: 1, name: "id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
251
|
+
{ no: 2, name: "properties", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
|
|
547
252
|
]);
|
|
548
253
|
static fromBinary(bytes, options) {
|
|
549
|
-
return new
|
|
254
|
+
return new UnsetEntityValues().fromBinary(bytes, options);
|
|
550
255
|
}
|
|
551
256
|
static fromJson(jsonValue, options) {
|
|
552
|
-
return new
|
|
257
|
+
return new UnsetEntityValues().fromJson(jsonValue, options);
|
|
553
258
|
}
|
|
554
259
|
static fromJsonString(jsonString, options) {
|
|
555
|
-
return new
|
|
260
|
+
return new UnsetEntityValues().fromJsonString(jsonString, options);
|
|
556
261
|
}
|
|
557
262
|
static equals(a, b) {
|
|
558
|
-
return proto3.util.equals(
|
|
263
|
+
return proto3.util.equals(UnsetEntityValues, a, b);
|
|
559
264
|
}
|
|
560
265
|
}
|
|
561
266
|
/**
|
|
562
|
-
* @generated from message
|
|
267
|
+
* @generated from message ipfs.Relation
|
|
563
268
|
*/
|
|
564
|
-
export class
|
|
269
|
+
export class Relation extends Message {
|
|
565
270
|
/**
|
|
566
|
-
* @generated from field:
|
|
271
|
+
* @generated from field: bytes id = 1;
|
|
567
272
|
*/
|
|
568
|
-
|
|
273
|
+
id = new Uint8Array(0);
|
|
569
274
|
/**
|
|
570
|
-
* @generated from field:
|
|
275
|
+
* @generated from field: bytes type = 2;
|
|
571
276
|
*/
|
|
572
|
-
|
|
277
|
+
type = new Uint8Array(0);
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: bytes from_entity = 3;
|
|
280
|
+
*/
|
|
281
|
+
fromEntity = new Uint8Array(0);
|
|
573
282
|
/**
|
|
574
|
-
* @generated from field: optional
|
|
283
|
+
* @generated from field: optional bytes from_space = 4;
|
|
575
284
|
*/
|
|
576
|
-
|
|
285
|
+
fromSpace;
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: optional bytes from_version = 5;
|
|
288
|
+
*/
|
|
289
|
+
fromVersion;
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: bytes to_entity = 6;
|
|
292
|
+
*/
|
|
293
|
+
toEntity = new Uint8Array(0);
|
|
294
|
+
/**
|
|
295
|
+
* @generated from field: optional bytes to_space = 7;
|
|
296
|
+
*/
|
|
297
|
+
toSpace;
|
|
298
|
+
/**
|
|
299
|
+
* @generated from field: optional bytes to_version = 8;
|
|
300
|
+
*/
|
|
301
|
+
toVersion;
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: bytes entity = 9;
|
|
304
|
+
*/
|
|
305
|
+
entity = new Uint8Array(0);
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: optional string position = 10;
|
|
308
|
+
*/
|
|
309
|
+
position;
|
|
310
|
+
/**
|
|
311
|
+
* @generated from field: optional bool verified = 11;
|
|
312
|
+
*/
|
|
313
|
+
verified;
|
|
577
314
|
constructor(data) {
|
|
578
315
|
super();
|
|
579
316
|
proto3.util.initPartial(data, this);
|
|
580
317
|
}
|
|
581
318
|
static runtime = proto3;
|
|
582
|
-
static typeName = "
|
|
319
|
+
static typeName = "ipfs.Relation";
|
|
583
320
|
static fields = proto3.util.newFieldList(() => [
|
|
584
|
-
{ no: 1, name: "
|
|
585
|
-
{ no: 2, name: "
|
|
586
|
-
{ no: 3, name: "
|
|
321
|
+
{ no: 1, name: "id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
322
|
+
{ no: 2, name: "type", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
323
|
+
{ no: 3, name: "from_entity", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
324
|
+
{ no: 4, name: "from_space", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
325
|
+
{ no: 5, name: "from_version", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
326
|
+
{ no: 6, name: "to_entity", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
327
|
+
{ no: 7, name: "to_space", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
328
|
+
{ no: 8, name: "to_version", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
329
|
+
{ no: 9, name: "entity", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
330
|
+
{ no: 10, name: "position", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
331
|
+
{ no: 11, name: "verified", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
587
332
|
]);
|
|
588
333
|
static fromBinary(bytes, options) {
|
|
589
|
-
return new
|
|
334
|
+
return new Relation().fromBinary(bytes, options);
|
|
590
335
|
}
|
|
591
336
|
static fromJson(jsonValue, options) {
|
|
592
|
-
return new
|
|
337
|
+
return new Relation().fromJson(jsonValue, options);
|
|
593
338
|
}
|
|
594
339
|
static fromJsonString(jsonString, options) {
|
|
595
|
-
return new
|
|
340
|
+
return new Relation().fromJsonString(jsonString, options);
|
|
596
341
|
}
|
|
597
342
|
static equals(a, b) {
|
|
598
|
-
return proto3.util.equals(
|
|
343
|
+
return proto3.util.equals(Relation, a, b);
|
|
599
344
|
}
|
|
600
345
|
}
|
|
601
346
|
/**
|
|
602
|
-
* @generated from message
|
|
347
|
+
* @generated from message ipfs.RelationUpdate
|
|
603
348
|
*/
|
|
604
|
-
export class
|
|
349
|
+
export class RelationUpdate extends Message {
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: bytes id = 1;
|
|
352
|
+
*/
|
|
353
|
+
id = new Uint8Array(0);
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: optional bytes from_space = 2;
|
|
356
|
+
*/
|
|
357
|
+
fromSpace;
|
|
605
358
|
/**
|
|
606
|
-
* @generated from field:
|
|
359
|
+
* @generated from field: optional bytes from_version = 3;
|
|
607
360
|
*/
|
|
608
|
-
|
|
361
|
+
fromVersion;
|
|
609
362
|
/**
|
|
610
|
-
* @generated from field:
|
|
363
|
+
* @generated from field: optional bytes to_space = 4;
|
|
611
364
|
*/
|
|
612
|
-
|
|
365
|
+
toSpace;
|
|
613
366
|
/**
|
|
614
|
-
* @generated from field:
|
|
367
|
+
* @generated from field: optional bytes to_version = 5;
|
|
615
368
|
*/
|
|
616
|
-
|
|
369
|
+
toVersion;
|
|
617
370
|
/**
|
|
618
|
-
* @generated from field: string
|
|
371
|
+
* @generated from field: optional string position = 6;
|
|
619
372
|
*/
|
|
620
|
-
|
|
373
|
+
position;
|
|
621
374
|
/**
|
|
622
|
-
* @generated from field:
|
|
375
|
+
* @generated from field: optional bool verified = 7;
|
|
623
376
|
*/
|
|
624
|
-
|
|
377
|
+
verified;
|
|
625
378
|
constructor(data) {
|
|
626
379
|
super();
|
|
627
380
|
proto3.util.initPartial(data, this);
|
|
628
381
|
}
|
|
629
382
|
static runtime = proto3;
|
|
630
|
-
static typeName = "
|
|
383
|
+
static typeName = "ipfs.RelationUpdate";
|
|
631
384
|
static fields = proto3.util.newFieldList(() => [
|
|
632
|
-
{ no: 1, name: "id", kind: "scalar", T:
|
|
633
|
-
{ no: 2, name: "
|
|
634
|
-
{ no: 3, name: "
|
|
635
|
-
{ no: 4, name: "
|
|
636
|
-
{ no: 5, name: "
|
|
385
|
+
{ no: 1, name: "id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
386
|
+
{ no: 2, name: "from_space", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
387
|
+
{ no: 3, name: "from_version", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
388
|
+
{ no: 4, name: "to_space", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
389
|
+
{ no: 5, name: "to_version", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
390
|
+
{ no: 6, name: "position", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
391
|
+
{ no: 7, name: "verified", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
637
392
|
]);
|
|
638
393
|
static fromBinary(bytes, options) {
|
|
639
|
-
return new
|
|
394
|
+
return new RelationUpdate().fromBinary(bytes, options);
|
|
640
395
|
}
|
|
641
396
|
static fromJson(jsonValue, options) {
|
|
642
|
-
return new
|
|
397
|
+
return new RelationUpdate().fromJson(jsonValue, options);
|
|
643
398
|
}
|
|
644
399
|
static fromJsonString(jsonString, options) {
|
|
645
|
-
return new
|
|
400
|
+
return new RelationUpdate().fromJsonString(jsonString, options);
|
|
646
401
|
}
|
|
647
402
|
static equals(a, b) {
|
|
648
|
-
return proto3.util.equals(
|
|
403
|
+
return proto3.util.equals(RelationUpdate, a, b);
|
|
649
404
|
}
|
|
650
405
|
}
|
|
651
406
|
/**
|
|
652
|
-
* @generated from message
|
|
407
|
+
* @generated from message ipfs.UnsetRelationFields
|
|
653
408
|
*/
|
|
654
|
-
export class
|
|
409
|
+
export class UnsetRelationFields extends Message {
|
|
655
410
|
/**
|
|
656
|
-
* @generated from field:
|
|
411
|
+
* @generated from field: bytes id = 1;
|
|
657
412
|
*/
|
|
658
|
-
id =
|
|
413
|
+
id = new Uint8Array(0);
|
|
659
414
|
/**
|
|
660
|
-
* @generated from field:
|
|
415
|
+
* @generated from field: optional bool from_space = 2;
|
|
661
416
|
*/
|
|
662
|
-
|
|
417
|
+
fromSpace;
|
|
418
|
+
/**
|
|
419
|
+
* @generated from field: optional bool from_version = 3;
|
|
420
|
+
*/
|
|
421
|
+
fromVersion;
|
|
422
|
+
/**
|
|
423
|
+
* @generated from field: optional bool to_space = 4;
|
|
424
|
+
*/
|
|
425
|
+
toSpace;
|
|
426
|
+
/**
|
|
427
|
+
* @generated from field: optional bool to_version = 5;
|
|
428
|
+
*/
|
|
429
|
+
toVersion;
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: optional bool position = 6;
|
|
432
|
+
*/
|
|
433
|
+
position;
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: optional bool verified = 7;
|
|
436
|
+
*/
|
|
437
|
+
verified;
|
|
663
438
|
constructor(data) {
|
|
664
439
|
super();
|
|
665
440
|
proto3.util.initPartial(data, this);
|
|
666
441
|
}
|
|
667
442
|
static runtime = proto3;
|
|
668
|
-
static typeName = "
|
|
443
|
+
static typeName = "ipfs.UnsetRelationFields";
|
|
669
444
|
static fields = proto3.util.newFieldList(() => [
|
|
670
|
-
{ no: 1, name: "id", kind: "scalar", T:
|
|
671
|
-
{ no: 2, name: "
|
|
445
|
+
{ no: 1, name: "id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
446
|
+
{ no: 2, name: "from_space", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
447
|
+
{ no: 3, name: "from_version", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
448
|
+
{ no: 4, name: "to_space", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
449
|
+
{ no: 5, name: "to_version", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
450
|
+
{ no: 6, name: "position", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
451
|
+
{ no: 7, name: "verified", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
672
452
|
]);
|
|
673
453
|
static fromBinary(bytes, options) {
|
|
674
|
-
return new
|
|
454
|
+
return new UnsetRelationFields().fromBinary(bytes, options);
|
|
675
455
|
}
|
|
676
456
|
static fromJson(jsonValue, options) {
|
|
677
|
-
return new
|
|
457
|
+
return new UnsetRelationFields().fromJson(jsonValue, options);
|
|
678
458
|
}
|
|
679
459
|
static fromJsonString(jsonString, options) {
|
|
680
|
-
return new
|
|
460
|
+
return new UnsetRelationFields().fromJsonString(jsonString, options);
|
|
681
461
|
}
|
|
682
462
|
static equals(a, b) {
|
|
683
|
-
return proto3.util.equals(
|
|
463
|
+
return proto3.util.equals(UnsetRelationFields, a, b);
|
|
684
464
|
}
|
|
685
465
|
}
|
|
686
466
|
/**
|
|
687
|
-
* @generated from message
|
|
467
|
+
* @generated from message ipfs.Entity
|
|
688
468
|
*/
|
|
689
|
-
export class
|
|
690
|
-
/**
|
|
691
|
-
* @generated from field: string version = 1;
|
|
692
|
-
*/
|
|
693
|
-
version = "";
|
|
694
|
-
/**
|
|
695
|
-
* @generated from field: ActionType type = 2;
|
|
696
|
-
*/
|
|
697
|
-
type = ActionType.ACTION_TYPE_UNKNOWN;
|
|
698
|
-
/**
|
|
699
|
-
* @generated from field: string previous_network = 3;
|
|
700
|
-
*/
|
|
701
|
-
previousNetwork = "";
|
|
469
|
+
export class Entity extends Message {
|
|
702
470
|
/**
|
|
703
|
-
* @generated from field:
|
|
471
|
+
* @generated from field: bytes id = 1;
|
|
704
472
|
*/
|
|
705
|
-
|
|
473
|
+
id = new Uint8Array(0);
|
|
706
474
|
/**
|
|
707
|
-
* @generated from field: repeated
|
|
475
|
+
* @generated from field: repeated ipfs.Value values = 2;
|
|
708
476
|
*/
|
|
709
|
-
|
|
477
|
+
values = [];
|
|
710
478
|
constructor(data) {
|
|
711
479
|
super();
|
|
712
480
|
proto3.util.initPartial(data, this);
|
|
713
481
|
}
|
|
714
482
|
static runtime = proto3;
|
|
715
|
-
static typeName = "
|
|
483
|
+
static typeName = "ipfs.Entity";
|
|
716
484
|
static fields = proto3.util.newFieldList(() => [
|
|
717
|
-
{ no: 1, name: "
|
|
718
|
-
{ no: 2, name: "
|
|
719
|
-
{ no: 3, name: "previous_network", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
720
|
-
{ no: 4, name: "previous_contract_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
721
|
-
{ no: 5, name: "edits", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
485
|
+
{ no: 1, name: "id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
486
|
+
{ no: 2, name: "values", kind: "message", T: Value, repeated: true },
|
|
722
487
|
]);
|
|
723
488
|
static fromBinary(bytes, options) {
|
|
724
|
-
return new
|
|
489
|
+
return new Entity().fromBinary(bytes, options);
|
|
725
490
|
}
|
|
726
491
|
static fromJson(jsonValue, options) {
|
|
727
|
-
return new
|
|
492
|
+
return new Entity().fromJson(jsonValue, options);
|
|
728
493
|
}
|
|
729
494
|
static fromJsonString(jsonString, options) {
|
|
730
|
-
return new
|
|
495
|
+
return new Entity().fromJsonString(jsonString, options);
|
|
731
496
|
}
|
|
732
497
|
static equals(a, b) {
|
|
733
|
-
return proto3.util.equals(
|
|
498
|
+
return proto3.util.equals(Entity, a, b);
|
|
734
499
|
}
|
|
735
500
|
}
|
|
736
501
|
/**
|
|
737
|
-
* @generated from message
|
|
502
|
+
* @generated from message ipfs.Value
|
|
738
503
|
*/
|
|
739
|
-
export class
|
|
740
|
-
/**
|
|
741
|
-
* @generated from field: optional string format = 1;
|
|
742
|
-
*/
|
|
743
|
-
format;
|
|
504
|
+
export class Value extends Message {
|
|
744
505
|
/**
|
|
745
|
-
* @generated from field:
|
|
506
|
+
* @generated from field: bytes property_id = 1;
|
|
746
507
|
*/
|
|
747
|
-
|
|
508
|
+
propertyId = new Uint8Array(0);
|
|
748
509
|
/**
|
|
749
|
-
* @generated from field:
|
|
510
|
+
* @generated from field: string value = 2;
|
|
750
511
|
*/
|
|
751
|
-
|
|
512
|
+
value = "";
|
|
752
513
|
constructor(data) {
|
|
753
514
|
super();
|
|
754
515
|
proto3.util.initPartial(data, this);
|
|
755
516
|
}
|
|
756
517
|
static runtime = proto3;
|
|
757
|
-
static typeName = "
|
|
518
|
+
static typeName = "ipfs.Value";
|
|
758
519
|
static fields = proto3.util.newFieldList(() => [
|
|
759
|
-
{ no: 1, name: "
|
|
760
|
-
{ no: 2, name: "
|
|
761
|
-
{ no: 3, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
520
|
+
{ no: 1, name: "property_id", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
521
|
+
{ no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
762
522
|
]);
|
|
763
523
|
static fromBinary(bytes, options) {
|
|
764
|
-
return new
|
|
524
|
+
return new Value().fromBinary(bytes, options);
|
|
765
525
|
}
|
|
766
526
|
static fromJson(jsonValue, options) {
|
|
767
|
-
return new
|
|
527
|
+
return new Value().fromJson(jsonValue, options);
|
|
768
528
|
}
|
|
769
529
|
static fromJsonString(jsonString, options) {
|
|
770
|
-
return new
|
|
530
|
+
return new Value().fromJsonString(jsonString, options);
|
|
771
531
|
}
|
|
772
532
|
static equals(a, b) {
|
|
773
|
-
return proto3.util.equals(
|
|
533
|
+
return proto3.util.equals(Value, a, b);
|
|
774
534
|
}
|
|
775
535
|
}
|
|
776
536
|
//# sourceMappingURL=ipfs_pb.js.map
|