Sfoglia il codice sorgente

generated metadata & types

ignazio-bovo 3 anni fa
parent
commit
cccaccbed0
3 ha cambiato i file con 7 aggiunte e 2 eliminazioni
  1. 0 0
      chain-metadata.json
  2. 2 2
      types/augment/all/defs.json
  3. 5 0
      types/augment/all/types.ts

File diff suppressed because it is too large
+ 0 - 0
chain-metadata.json


+ 2 - 2
types/augment/all/defs.json

@@ -759,9 +759,9 @@
     },
     "ContentActor": {
         "_enum": {
+            "Collaborator": "MemberId",
             "Curator": "(CuratorGroupId,CuratorId)",
             "Member": "MemberId",
-	    "Collaborator": "MemberId",
             "Lead": "Null"
         }
     },
@@ -895,4 +895,4 @@
     "MaxNumber": "u32",
     "IsCensored": "bool",
     "AccountInfo": "AccountInfoWithRefCount"
-}
+}

+ 5 - 0
types/augment/all/types.ts

@@ -211,6 +211,7 @@ export interface Channel extends Struct {
   readonly is_censored: bool;
   readonly reward_account: Option<GenericAccountId>;
   readonly deletion_prize_source_account_id: GenericAccountId;
+  readonly collaborators: BTreeSet<MemberId>;
 }
 
 /** @name ChannelCategory */
@@ -237,6 +238,7 @@ export interface ChannelCreationParameters extends Struct {
   readonly assets: Option<StorageAssets>;
   readonly meta: Option<Bytes>;
   readonly reward_account: Option<GenericAccountId>;
+  readonly collaborators: BTreeSet<MemberId>;
 }
 
 /** @name ChannelCurationStatus */
@@ -273,6 +275,7 @@ export interface ChannelUpdateParameters extends Struct {
   readonly new_meta: Option<Bytes>;
   readonly reward_account: Option<Option<GenericAccountId>>;
   readonly assets_to_remove: BTreeSet<DataObjectId>;
+  readonly collaborators: Option<BTreeSet<MemberId>>;
 }
 
 /** @name ChildPositionInParentCategory */
@@ -304,6 +307,8 @@ export interface ClassPropertyValue extends Null {}
 
 /** @name ContentActor */
 export interface ContentActor extends Enum {
+  readonly isCollaborator: boolean;
+  readonly asCollaborator: MemberId;
   readonly isCurator: boolean;
   readonly asCurator: ITuple<[CuratorGroupId, CuratorId]>;
   readonly isMember: boolean;

Some files were not shown because too many files changed in this diff