types.ts 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253
  1. // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
  2. /* eslint-disable */
  3. import type { BTreeMap, BTreeSet, Bytes, Enum, GenericAccountId, Option, Struct, Text, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
  4. import type { ITuple } from '@polkadot/types/types';
  5. import type { AccountId, Balance, Hash } from '@polkadot/types/interfaces/runtime';
  6. import type { ValidatorPrefsWithCommission } from '@polkadot/types/interfaces/staking';
  7. import type { AccountInfoWithRefCount } from '@polkadot/types/interfaces/system';
  8. /** @name AccountInfo */
  9. export interface AccountInfo extends AccountInfoWithRefCount {}
  10. /** @name ActorId */
  11. export interface ActorId extends u64 {}
  12. /** @name Address */
  13. export interface Address extends AccountId {}
  14. /** @name Application */
  15. export interface Application extends Struct {
  16. readonly role_account_id: AccountId;
  17. readonly reward_account_id: AccountId;
  18. readonly staking_account_id: AccountId;
  19. readonly member_id: MemberId;
  20. readonly description_hash: Bytes;
  21. readonly opening_id: OpeningId;
  22. }
  23. /** @name ApplicationId */
  24. export interface ApplicationId extends u64 {}
  25. /** @name ApplicationIdSet */
  26. export interface ApplicationIdSet extends BTreeSet<ApplicationId> {}
  27. /** @name ApplicationIdToWorkerIdMap */
  28. export interface ApplicationIdToWorkerIdMap extends BTreeMap<ApplicationId, WorkerId> {}
  29. /** @name ApplicationInfo */
  30. export interface ApplicationInfo extends Struct {
  31. readonly application_id: ApplicationId;
  32. readonly application: Application;
  33. }
  34. /** @name ApplyOnOpeningParameters */
  35. export interface ApplyOnOpeningParameters extends Struct {
  36. readonly member_id: MemberId;
  37. readonly opening_id: OpeningId;
  38. readonly role_account_id: AccountId;
  39. readonly reward_account_id: AccountId;
  40. readonly description: Bytes;
  41. readonly stake_parameters: StakeParameters;
  42. }
  43. /** @name Approved */
  44. export interface Approved extends Enum {
  45. readonly isPendingExecution: boolean;
  46. readonly isPendingConstitutionality: boolean;
  47. }
  48. /** @name AssuranceContractType */
  49. export interface AssuranceContractType extends Enum {
  50. readonly isOpen: boolean;
  51. readonly isClosed: boolean;
  52. readonly asClosed: AssuranceContractType_Closed;
  53. }
  54. /** @name AssuranceContractType_Closed */
  55. export interface AssuranceContractType_Closed extends BTreeSet<MemberId> {}
  56. /** @name Auction */
  57. export interface Auction extends Struct {
  58. readonly starting_price: u128;
  59. readonly buy_now_price: Option<u128>;
  60. readonly auction_type: AuctionType;
  61. readonly minimal_bid_step: u128;
  62. readonly last_bid: Option<Bid>;
  63. readonly starts_at: u32;
  64. readonly whitelist: BTreeSet<MemberId>;
  65. }
  66. /** @name AuctionParams */
  67. export interface AuctionParams extends Struct {
  68. readonly auction_type: AuctionType;
  69. readonly starting_price: u128;
  70. readonly minimal_bid_step: u128;
  71. readonly buy_now_price: Option<u128>;
  72. readonly starts_at: Option<u32>;
  73. readonly whitelist: BTreeSet<MemberId>;
  74. }
  75. /** @name AuctionType */
  76. export interface AuctionType extends Enum {
  77. readonly isEnglish: boolean;
  78. readonly asEnglish: EnglishAuctionDetails;
  79. readonly isOpen: boolean;
  80. readonly asOpen: OpenAuctionDetails;
  81. }
  82. /** @name Bag */
  83. export interface Bag extends Struct {
  84. readonly stored_by: BTreeSet<StorageBucketId>;
  85. readonly distributed_by: BTreeSet<DistributionBucketId>;
  86. readonly deletion_prize: Option<u128>;
  87. readonly objects_total_size: u64;
  88. readonly objects_number: u64;
  89. }
  90. /** @name BagId */
  91. export interface BagId extends Enum {
  92. readonly isStatic: boolean;
  93. readonly asStatic: Static;
  94. readonly isDynamic: boolean;
  95. readonly asDynamic: Dynamic;
  96. }
  97. /** @name BagIdType */
  98. export interface BagIdType extends Enum {
  99. readonly isStatic: boolean;
  100. readonly asStatic: Static;
  101. readonly isDynamic: boolean;
  102. readonly asDynamic: Dynamic;
  103. }
  104. /** @name BalanceKind */
  105. export interface BalanceKind extends Enum {
  106. readonly isPositive: boolean;
  107. readonly isNegative: boolean;
  108. }
  109. /** @name Bid */
  110. export interface Bid extends Struct {
  111. readonly bidder: MemberId;
  112. readonly bidder_account_id: GenericAccountId;
  113. readonly amount: u128;
  114. readonly made_at_block: u32;
  115. }
  116. /** @name BlockAndTime */
  117. export interface BlockAndTime extends Struct {
  118. readonly block: u32;
  119. readonly time: u64;
  120. }
  121. /** @name Bounty */
  122. export interface Bounty extends Struct {
  123. readonly creation_params: BountyCreationParameters;
  124. readonly total_funding: u128;
  125. readonly milestone: BountyMilestone;
  126. readonly active_work_entry_count: u32;
  127. }
  128. /** @name BountyActor */
  129. export interface BountyActor extends Enum {
  130. readonly isCouncil: boolean;
  131. readonly isMember: boolean;
  132. readonly asMember: MemberId;
  133. }
  134. /** @name BountyCreationParameters */
  135. export interface BountyCreationParameters extends Struct {
  136. readonly oracle: BountyActor;
  137. readonly contract_type: AssuranceContractType;
  138. readonly creator: BountyActor;
  139. readonly cherry: u128;
  140. readonly entrant_stake: u128;
  141. readonly funding_type: FundingType;
  142. readonly work_period: u32;
  143. readonly judging_period: u32;
  144. }
  145. /** @name BountyId */
  146. export interface BountyId extends u64 {}
  147. /** @name BountyMilestone */
  148. export interface BountyMilestone extends Enum {
  149. readonly isCreated: boolean;
  150. readonly asCreated: BountyMilestone_Created;
  151. readonly isBountyMaxFundingReached: boolean;
  152. readonly asBountyMaxFundingReached: BountyMilestone_BountyMaxFundingReached;
  153. readonly isWorkSubmitted: boolean;
  154. readonly asWorkSubmitted: BountyMilestone_WorkSubmitted;
  155. readonly isJudgmentSubmitted: boolean;
  156. readonly asJudgmentSubmitted: BountyMilestone_JudgmentSubmitted;
  157. }
  158. /** @name BountyMilestone_BountyMaxFundingReached */
  159. export interface BountyMilestone_BountyMaxFundingReached extends Struct {
  160. readonly max_funding_reached_at: u32;
  161. }
  162. /** @name BountyMilestone_Created */
  163. export interface BountyMilestone_Created extends Struct {
  164. readonly created_at: u32;
  165. readonly has_contributions: bool;
  166. }
  167. /** @name BountyMilestone_JudgmentSubmitted */
  168. export interface BountyMilestone_JudgmentSubmitted extends Struct {
  169. readonly successful_bounty: bool;
  170. }
  171. /** @name BountyMilestone_WorkSubmitted */
  172. export interface BountyMilestone_WorkSubmitted extends Struct {
  173. readonly work_period_started_at: u32;
  174. }
  175. /** @name BuyMembershipParameters */
  176. export interface BuyMembershipParameters extends Struct {
  177. readonly root_account: AccountId;
  178. readonly controller_account: AccountId;
  179. readonly handle: Option<Text>;
  180. readonly metadata: Bytes;
  181. readonly referrer_id: Option<MemberId>;
  182. }
  183. /** @name Candidate */
  184. export interface Candidate extends Struct {
  185. readonly staking_account_id: AccountId;
  186. readonly reward_account_id: AccountId;
  187. readonly cycle_id: u64;
  188. readonly stake: u32;
  189. readonly vote_power: VotePower;
  190. readonly note_hash: Option<Hash>;
  191. }
  192. /** @name CastVoteOf */
  193. export interface CastVoteOf extends Struct {
  194. readonly commitment: Hash;
  195. readonly cycle_id: u64;
  196. readonly stake: u128;
  197. readonly vote_for: Option<MemberId>;
  198. }
  199. /** @name Category */
  200. export interface Category extends Struct {
  201. readonly title_hash: Hash;
  202. readonly description_hash: Hash;
  203. readonly archived: bool;
  204. readonly num_direct_subcategories: u32;
  205. readonly num_direct_threads: u32;
  206. readonly num_direct_moderators: u32;
  207. readonly parent_category_id: Option<CategoryId>;
  208. readonly sticky_thread_ids: Vec<ThreadId>;
  209. }
  210. /** @name CategoryId */
  211. export interface CategoryId extends u64 {}
  212. /** @name Channel */
  213. export interface Channel extends Struct {
  214. readonly owner: ChannelOwner;
  215. readonly num_videos: u64;
  216. readonly is_censored: bool;
  217. readonly reward_account: Option<GenericAccountId>;
  218. readonly collaborators: BTreeSet<MemberId>;
  219. readonly moderators: BTreeSet<MemberId>;
  220. readonly cumulative_payout_earned: u128;
  221. }
  222. /** @name ChannelCategory */
  223. export interface ChannelCategory extends Struct {}
  224. /** @name ChannelCategoryCreationParameters */
  225. export interface ChannelCategoryCreationParameters extends Struct {
  226. readonly meta: Bytes;
  227. }
  228. /** @name ChannelCategoryId */
  229. export interface ChannelCategoryId extends u64 {}
  230. /** @name ChannelCategoryUpdateParameters */
  231. export interface ChannelCategoryUpdateParameters extends Struct {
  232. readonly new_meta: Bytes;
  233. }
  234. /** @name ChannelCreationParameters */
  235. export interface ChannelCreationParameters extends Struct {
  236. readonly assets: Option<StorageAssets>;
  237. readonly meta: Option<Bytes>;
  238. readonly reward_account: Option<GenericAccountId>;
  239. readonly collaborators: BTreeSet<MemberId>;
  240. readonly moderators: BTreeSet<MemberId>;
  241. }
  242. /** @name ChannelId */
  243. export interface ChannelId extends u64 {}
  244. /** @name ChannelOwner */
  245. export interface ChannelOwner extends Enum {
  246. readonly isMember: boolean;
  247. readonly asMember: MemberId;
  248. readonly isCurators: boolean;
  249. readonly asCurators: CuratorGroupId;
  250. }
  251. /** @name ChannelUpdateParameters */
  252. export interface ChannelUpdateParameters extends Struct {
  253. readonly assets_to_upload: Option<StorageAssets>;
  254. readonly new_meta: Option<Bytes>;
  255. readonly reward_account: Option<Option<GenericAccountId>>;
  256. readonly assets_to_remove: BTreeSet<DataObjectId>;
  257. readonly collaborators: Option<BTreeSet<MemberId>>;
  258. }
  259. /** @name Cid */
  260. export interface Cid extends Bytes {}
  261. /** @name ConstitutionInfo */
  262. export interface ConstitutionInfo extends Struct {
  263. readonly text_hash: Hash;
  264. }
  265. /** @name ContentActor */
  266. export interface ContentActor extends Enum {
  267. readonly isCurator: boolean;
  268. readonly asCurator: ITuple<[CuratorGroupId, CuratorId]>;
  269. readonly isMember: boolean;
  270. readonly asMember: MemberId;
  271. readonly isLead: boolean;
  272. }
  273. /** @name ContentIdSet */
  274. export interface ContentIdSet extends BTreeSet<Cid> {}
  275. /** @name CouncilMemberOf */
  276. export interface CouncilMemberOf extends Struct {
  277. readonly staking_account_id: AccountId;
  278. readonly reward_account_id: AccountId;
  279. readonly membership_id: MemberId;
  280. readonly stake: u128;
  281. readonly last_payment_block: u32;
  282. readonly unpaid_reward: u128;
  283. }
  284. /** @name CouncilStage */
  285. export interface CouncilStage extends Enum {
  286. readonly isAnnouncing: boolean;
  287. readonly asAnnouncing: CouncilStageAnnouncing;
  288. readonly isElection: boolean;
  289. readonly asElection: CouncilStageElection;
  290. readonly isIdle: boolean;
  291. }
  292. /** @name CouncilStageAnnouncing */
  293. export interface CouncilStageAnnouncing extends Struct {
  294. readonly candidatesCount: u64;
  295. }
  296. /** @name CouncilStageElection */
  297. export interface CouncilStageElection extends Struct {
  298. readonly candidatesCount: u64;
  299. }
  300. /** @name CouncilStageUpdate */
  301. export interface CouncilStageUpdate extends Struct {
  302. readonly stage: CouncilStage;
  303. readonly changed_at: u32;
  304. }
  305. /** @name CreateOpeningParameters */
  306. export interface CreateOpeningParameters extends Struct {
  307. readonly description: Bytes;
  308. readonly stake_policy: StakePolicy;
  309. readonly reward_per_block: Option<u128>;
  310. readonly working_group: WorkingGroup;
  311. }
  312. /** @name CuratorGroup */
  313. export interface CuratorGroup extends Struct {
  314. readonly curators: BTreeSet<CuratorId>;
  315. readonly active: bool;
  316. }
  317. /** @name CuratorGroupId */
  318. export interface CuratorGroupId extends u64 {}
  319. /** @name CuratorId */
  320. export interface CuratorId extends u64 {}
  321. /** @name CurrencyAmount */
  322. export interface CurrencyAmount extends u128 {}
  323. /** @name CurrencyOf */
  324. export interface CurrencyOf extends u128 {}
  325. /** @name DataObject */
  326. export interface DataObject extends Struct {
  327. readonly accepted: bool;
  328. readonly deletion_prize: u128;
  329. readonly ipfsContentId: Bytes;
  330. }
  331. /** @name DataObjectCreationParameters */
  332. export interface DataObjectCreationParameters extends Struct {
  333. readonly ipfsContentId: Bytes;
  334. }
  335. /** @name DataObjectId */
  336. export interface DataObjectId extends u64 {}
  337. /** @name DataObjectIdMap */
  338. export interface DataObjectIdMap extends BTreeMap<DataObjectId, DataObject> {}
  339. /** @name DataObjectIdSet */
  340. export interface DataObjectIdSet extends BTreeSet<DataObjectId> {}
  341. /** @name DiscussionPost */
  342. export interface DiscussionPost extends Struct {
  343. readonly author_id: u64;
  344. }
  345. /** @name DiscussionThread */
  346. export interface DiscussionThread extends Struct {
  347. readonly activated_at: u32;
  348. readonly author_id: u64;
  349. readonly mode: ThreadMode;
  350. }
  351. /** @name DistributionBucket */
  352. export interface DistributionBucket extends Struct {
  353. readonly accepting_new_bags: bool;
  354. readonly distributing: bool;
  355. readonly pending_invitations: BTreeSet<WorkerId>;
  356. readonly operators: BTreeSet<WorkerId>;
  357. readonly assigned_bags: u64;
  358. }
  359. /** @name DistributionBucketFamily */
  360. export interface DistributionBucketFamily extends Struct {
  361. readonly next_distribution_bucket_index: DistributionBucketIndex;
  362. }
  363. /** @name DistributionBucketFamilyId */
  364. export interface DistributionBucketFamilyId extends u64 {}
  365. /** @name DistributionBucketId */
  366. export interface DistributionBucketId extends Struct {
  367. readonly distribution_bucket_family_id: DistributionBucketFamilyId;
  368. readonly distribution_bucket_index: DistributionBucketIndex;
  369. }
  370. /** @name DistributionBucketIndex */
  371. export interface DistributionBucketIndex extends u64 {}
  372. /** @name DistributionBucketIndexSet */
  373. export interface DistributionBucketIndexSet extends BTreeSet<DistributionBucketIndex> {}
  374. /** @name Dynamic */
  375. export interface Dynamic extends Enum {
  376. readonly isMember: boolean;
  377. readonly asMember: MemberId;
  378. readonly isChannel: boolean;
  379. readonly asChannel: u64;
  380. }
  381. /** @name DynamicBagCreationPolicy */
  382. export interface DynamicBagCreationPolicy extends Struct {
  383. readonly numberOfStorageBuckets: u64;
  384. readonly families: BTreeMap<DistributionBucketFamilyId, u32>;
  385. }
  386. /** @name DynamicBagCreationPolicyDistributorFamiliesMap */
  387. export interface DynamicBagCreationPolicyDistributorFamiliesMap extends BTreeMap<DistributionBucketFamilyId, u32> {}
  388. /** @name DynamicBagDeletionPrize */
  389. export interface DynamicBagDeletionPrize extends Struct {
  390. readonly account_id: GenericAccountId;
  391. readonly prize: u128;
  392. }
  393. /** @name DynamicBagDeletionPrizeRecord */
  394. export interface DynamicBagDeletionPrizeRecord extends Struct {
  395. readonly account_id: GenericAccountId;
  396. readonly prize: u128;
  397. }
  398. /** @name DynamicBagId */
  399. export interface DynamicBagId extends Enum {
  400. readonly isMember: boolean;
  401. readonly asMember: MemberId;
  402. readonly isChannel: boolean;
  403. readonly asChannel: u64;
  404. }
  405. /** @name DynamicBagType */
  406. export interface DynamicBagType extends Enum {
  407. readonly isMember: boolean;
  408. readonly isChannel: boolean;
  409. }
  410. /** @name EnglishAuctionDetails */
  411. export interface EnglishAuctionDetails extends Struct {
  412. readonly extension_period: u32;
  413. readonly auction_duration: u32;
  414. }
  415. /** @name Entry */
  416. export interface Entry extends Struct {
  417. readonly member_id: MemberId;
  418. readonly staking_account_id: AccountId;
  419. readonly submitted_at: u32;
  420. readonly work_submitted: bool;
  421. readonly oracle_judgment_result: Option<OracleWorkEntryJudgment>;
  422. }
  423. /** @name EntryId */
  424. export interface EntryId extends u64 {}
  425. /** @name ExecutionFailed */
  426. export interface ExecutionFailed extends Struct {
  427. readonly error: Text;
  428. }
  429. /** @name ExecutionStatus */
  430. export interface ExecutionStatus extends Enum {
  431. readonly isExecuted: boolean;
  432. readonly isExecutionFailed: boolean;
  433. readonly asExecutionFailed: ExecutionFailed;
  434. }
  435. /** @name ExtendedPostId */
  436. export interface ExtendedPostId extends Struct {
  437. readonly category_id: CategoryId;
  438. readonly thread_id: ThreadId;
  439. readonly post_id: PostId;
  440. }
  441. /** @name FillOpeningParameters */
  442. export interface FillOpeningParameters extends Struct {
  443. readonly opening_id: OpeningId;
  444. readonly successful_application_id: ApplicationId;
  445. readonly working_group: WorkingGroup;
  446. }
  447. /** @name ForumUserId */
  448. export interface ForumUserId extends u64 {}
  449. /** @name FundingRequestParameters */
  450. export interface FundingRequestParameters extends Struct {
  451. readonly account: AccountId;
  452. readonly amount: u128;
  453. }
  454. /** @name FundingType */
  455. export interface FundingType extends Enum {
  456. readonly isPerpetual: boolean;
  457. readonly asPerpetual: FundingType_Perpetual;
  458. readonly isLimited: boolean;
  459. readonly asLimited: FundingType_Limited;
  460. }
  461. /** @name FundingType_Limited */
  462. export interface FundingType_Limited extends Struct {
  463. readonly min_funding_amount: u128;
  464. readonly max_funding_amount: u128;
  465. readonly funding_period: u32;
  466. }
  467. /** @name FundingType_Perpetual */
  468. export interface FundingType_Perpetual extends Struct {
  469. readonly target: u128;
  470. }
  471. /** @name GeneralProposalParameters */
  472. export interface GeneralProposalParameters extends Struct {
  473. readonly member_id: MemberId;
  474. readonly title: Text;
  475. readonly description: Text;
  476. readonly staking_account_id: Option<AccountId>;
  477. readonly exact_execution_block: Option<u32>;
  478. }
  479. /** @name InitTransactionalStatus */
  480. export interface InitTransactionalStatus extends Enum {
  481. readonly isIdle: boolean;
  482. readonly isInitiatedOfferToMember: boolean;
  483. readonly asInitiatedOfferToMember: ITuple<[MemberId, Option<u128>]>;
  484. readonly isAuction: boolean;
  485. readonly asAuction: AuctionParams;
  486. }
  487. /** @name InputValidationLengthConstraint */
  488. export interface InputValidationLengthConstraint extends Struct {
  489. readonly min: u16;
  490. readonly max_min_diff: u16;
  491. }
  492. /** @name InviteMembershipParameters */
  493. export interface InviteMembershipParameters extends Struct {
  494. readonly inviting_member_id: MemberId;
  495. readonly root_account: AccountId;
  496. readonly controller_account: AccountId;
  497. readonly handle: Option<Text>;
  498. readonly metadata: Bytes;
  499. }
  500. /** @name IsCensored */
  501. export interface IsCensored extends bool {}
  502. /** @name IsExtended */
  503. export interface IsExtended extends bool {}
  504. /** @name LookupSource */
  505. export interface LookupSource extends AccountId {}
  506. /** @name MaxNumber */
  507. export interface MaxNumber extends u32 {}
  508. /** @name MemberId */
  509. export interface MemberId extends u64 {}
  510. /** @name Membership */
  511. export interface Membership extends Struct {
  512. readonly handle_hash: Bytes;
  513. readonly root_account: AccountId;
  514. readonly controller_account: AccountId;
  515. readonly verified: bool;
  516. readonly invites: u32;
  517. }
  518. /** @name ModeratorId */
  519. export interface ModeratorId extends u64 {}
  520. /** @name ModeratorSet */
  521. export interface ModeratorSet extends BTreeSet<MemberId> {}
  522. /** @name NftIssuanceParameters */
  523. export interface NftIssuanceParameters extends Struct {
  524. readonly royalty: Option<Royalty>;
  525. readonly nft_metadata: Bytes;
  526. readonly non_channel_owner: Option<MemberId>;
  527. readonly init_transactional_status: InitTransactionalStatus;
  528. }
  529. /** @name NftMetadata */
  530. export interface NftMetadata extends Bytes {}
  531. /** @name NftOwner */
  532. export interface NftOwner extends Enum {
  533. readonly isChannelOwner: boolean;
  534. readonly isMember: boolean;
  535. readonly asMember: MemberId;
  536. }
  537. /** @name OpenAuctionDetails */
  538. export interface OpenAuctionDetails extends Struct {
  539. readonly bid_lock_duration: u32;
  540. }
  541. /** @name Opening */
  542. export interface Opening extends Struct {
  543. readonly opening_type: OpeningType;
  544. readonly created: u32;
  545. readonly description_hash: Bytes;
  546. readonly stake_policy: StakePolicy;
  547. readonly reward_per_block: Option<u128>;
  548. readonly creation_stake: u128;
  549. }
  550. /** @name OpeningId */
  551. export interface OpeningId extends u64 {}
  552. /** @name OpeningType */
  553. export interface OpeningType extends Enum {
  554. readonly isLeader: boolean;
  555. readonly isRegular: boolean;
  556. }
  557. /** @name OptionResult */
  558. export interface OptionResult extends Struct {
  559. readonly option_id: MemberId;
  560. readonly vote_power: VotePower;
  561. }
  562. /** @name OracleJudgment */
  563. export interface OracleJudgment extends BTreeMap<EntryId, OracleWorkEntryJudgment> {}
  564. /** @name OracleWorkEntryJudgment */
  565. export interface OracleWorkEntryJudgment extends Enum {
  566. readonly isWinner: boolean;
  567. readonly asWinner: OracleWorkEntryJudgment_Winner;
  568. readonly isRejected: boolean;
  569. }
  570. /** @name OracleWorkEntryJudgment_Winner */
  571. export interface OracleWorkEntryJudgment_Winner extends Struct {
  572. readonly reward: u128;
  573. }
  574. /** @name OwnedNft */
  575. export interface OwnedNft extends Struct {
  576. readonly owner: NftOwner;
  577. readonly transactional_status: TransactionalStatus;
  578. readonly creator_royalty: Option<Royalty>;
  579. }
  580. /** @name ParticipantId */
  581. export interface ParticipantId extends u64 {}
  582. /** @name Penalty */
  583. export interface Penalty extends Struct {
  584. readonly slashing_text: Text;
  585. readonly slashing_amount: u128;
  586. }
  587. /** @name Poll */
  588. export interface Poll extends Struct {
  589. readonly description_hash: Hash;
  590. readonly end_time: u64;
  591. readonly poll_alternatives: Vec<PollAlternative>;
  592. }
  593. /** @name PollAlternative */
  594. export interface PollAlternative extends Struct {
  595. readonly alternative_text_hash: Hash;
  596. readonly vote_count: u32;
  597. }
  598. /** @name PollInput */
  599. export interface PollInput extends Struct {
  600. readonly description: Bytes;
  601. readonly end_time: u64;
  602. readonly poll_alternatives: Vec<Bytes>;
  603. }
  604. /** @name Post */
  605. export interface Post extends Struct {
  606. readonly thread_id: ThreadId;
  607. readonly text_hash: Hash;
  608. readonly author_id: ForumUserId;
  609. readonly cleanup_pay_off: u128;
  610. readonly last_edited: u32;
  611. }
  612. /** @name PostId */
  613. export interface PostId extends u64 {}
  614. /** @name PostReactionId */
  615. export interface PostReactionId extends u64 {}
  616. /** @name PrivilegedActor */
  617. export interface PrivilegedActor extends Enum {
  618. readonly isLead: boolean;
  619. readonly isModerator: boolean;
  620. readonly asModerator: ModeratorId;
  621. }
  622. /** @name ProofElement */
  623. export interface ProofElement extends Struct {
  624. readonly side: Side;
  625. }
  626. /** @name ProposalDecision */
  627. export interface ProposalDecision extends Enum {
  628. readonly isCanceled: boolean;
  629. readonly isCanceledByRuntime: boolean;
  630. readonly isVetoed: boolean;
  631. readonly isRejected: boolean;
  632. readonly isSlashed: boolean;
  633. readonly isExpired: boolean;
  634. readonly isApproved: boolean;
  635. readonly asApproved: Approved;
  636. }
  637. /** @name ProposalDetails */
  638. export interface ProposalDetails extends Enum {
  639. readonly isSignal: boolean;
  640. readonly asSignal: Text;
  641. readonly isRuntimeUpgrade: boolean;
  642. readonly asRuntimeUpgrade: Bytes;
  643. readonly isFundingRequest: boolean;
  644. readonly asFundingRequest: Vec<FundingRequestParameters>;
  645. readonly isSetMaxValidatorCount: boolean;
  646. readonly asSetMaxValidatorCount: u32;
  647. readonly isCreateWorkingGroupLeadOpening: boolean;
  648. readonly asCreateWorkingGroupLeadOpening: CreateOpeningParameters;
  649. readonly isFillWorkingGroupLeadOpening: boolean;
  650. readonly asFillWorkingGroupLeadOpening: FillOpeningParameters;
  651. readonly isUpdateWorkingGroupBudget: boolean;
  652. readonly asUpdateWorkingGroupBudget: ITuple<[Balance, WorkingGroup, BalanceKind]>;
  653. readonly isDecreaseWorkingGroupLeadStake: boolean;
  654. readonly asDecreaseWorkingGroupLeadStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
  655. readonly isSlashWorkingGroupLead: boolean;
  656. readonly asSlashWorkingGroupLead: ITuple<[WorkerId, Balance, WorkingGroup]>;
  657. readonly isSetWorkingGroupLeadReward: boolean;
  658. readonly asSetWorkingGroupLeadReward: ITuple<[WorkerId, Option<Balance>, WorkingGroup]>;
  659. readonly isTerminateWorkingGroupLead: boolean;
  660. readonly asTerminateWorkingGroupLead: TerminateRoleParameters;
  661. readonly isAmendConstitution: boolean;
  662. readonly asAmendConstitution: Text;
  663. readonly isCancelWorkingGroupLeadOpening: boolean;
  664. readonly asCancelWorkingGroupLeadOpening: ITuple<[OpeningId, WorkingGroup]>;
  665. readonly isSetMembershipPrice: boolean;
  666. readonly asSetMembershipPrice: u128;
  667. readonly isSetCouncilBudgetIncrement: boolean;
  668. readonly asSetCouncilBudgetIncrement: u128;
  669. readonly isSetCouncilorReward: boolean;
  670. readonly asSetCouncilorReward: u128;
  671. readonly isSetInitialInvitationBalance: boolean;
  672. readonly asSetInitialInvitationBalance: u128;
  673. readonly isSetInitialInvitationCount: boolean;
  674. readonly asSetInitialInvitationCount: u32;
  675. readonly isSetMembershipLeadInvitationQuota: boolean;
  676. readonly asSetMembershipLeadInvitationQuota: u32;
  677. readonly isSetReferralCut: boolean;
  678. readonly asSetReferralCut: u8;
  679. readonly isCreateBlogPost: boolean;
  680. readonly asCreateBlogPost: ITuple<[Text, Text]>;
  681. readonly isEditBlogPost: boolean;
  682. readonly asEditBlogPost: ITuple<[PostId, Option<Text>, Option<Text>]>;
  683. readonly isLockBlogPost: boolean;
  684. readonly asLockBlogPost: PostId;
  685. readonly isUnlockBlogPost: boolean;
  686. readonly asUnlockBlogPost: PostId;
  687. readonly isVetoProposal: boolean;
  688. readonly asVetoProposal: ProposalId;
  689. }
  690. /** @name ProposalDetailsOf */
  691. export interface ProposalDetailsOf extends Enum {
  692. readonly isSignal: boolean;
  693. readonly asSignal: Text;
  694. readonly isRuntimeUpgrade: boolean;
  695. readonly asRuntimeUpgrade: Bytes;
  696. readonly isFundingRequest: boolean;
  697. readonly asFundingRequest: Vec<FundingRequestParameters>;
  698. readonly isSetMaxValidatorCount: boolean;
  699. readonly asSetMaxValidatorCount: u32;
  700. readonly isCreateWorkingGroupLeadOpening: boolean;
  701. readonly asCreateWorkingGroupLeadOpening: CreateOpeningParameters;
  702. readonly isFillWorkingGroupLeadOpening: boolean;
  703. readonly asFillWorkingGroupLeadOpening: FillOpeningParameters;
  704. readonly isUpdateWorkingGroupBudget: boolean;
  705. readonly asUpdateWorkingGroupBudget: ITuple<[Balance, WorkingGroup, BalanceKind]>;
  706. readonly isDecreaseWorkingGroupLeadStake: boolean;
  707. readonly asDecreaseWorkingGroupLeadStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
  708. readonly isSlashWorkingGroupLead: boolean;
  709. readonly asSlashWorkingGroupLead: ITuple<[WorkerId, Balance, WorkingGroup]>;
  710. readonly isSetWorkingGroupLeadReward: boolean;
  711. readonly asSetWorkingGroupLeadReward: ITuple<[WorkerId, Option<Balance>, WorkingGroup]>;
  712. readonly isTerminateWorkingGroupLead: boolean;
  713. readonly asTerminateWorkingGroupLead: TerminateRoleParameters;
  714. readonly isAmendConstitution: boolean;
  715. readonly asAmendConstitution: Text;
  716. readonly isCancelWorkingGroupLeadOpening: boolean;
  717. readonly asCancelWorkingGroupLeadOpening: ITuple<[OpeningId, WorkingGroup]>;
  718. readonly isSetMembershipPrice: boolean;
  719. readonly asSetMembershipPrice: u128;
  720. readonly isSetCouncilBudgetIncrement: boolean;
  721. readonly asSetCouncilBudgetIncrement: u128;
  722. readonly isSetCouncilorReward: boolean;
  723. readonly asSetCouncilorReward: u128;
  724. readonly isSetInitialInvitationBalance: boolean;
  725. readonly asSetInitialInvitationBalance: u128;
  726. readonly isSetInitialInvitationCount: boolean;
  727. readonly asSetInitialInvitationCount: u32;
  728. readonly isSetMembershipLeadInvitationQuota: boolean;
  729. readonly asSetMembershipLeadInvitationQuota: u32;
  730. readonly isSetReferralCut: boolean;
  731. readonly asSetReferralCut: u8;
  732. readonly isCreateBlogPost: boolean;
  733. readonly asCreateBlogPost: ITuple<[Text, Text]>;
  734. readonly isEditBlogPost: boolean;
  735. readonly asEditBlogPost: ITuple<[PostId, Option<Text>, Option<Text>]>;
  736. readonly isLockBlogPost: boolean;
  737. readonly asLockBlogPost: PostId;
  738. readonly isUnlockBlogPost: boolean;
  739. readonly asUnlockBlogPost: PostId;
  740. readonly isVetoProposal: boolean;
  741. readonly asVetoProposal: ProposalId;
  742. }
  743. /** @name ProposalId */
  744. export interface ProposalId extends u32 {}
  745. /** @name ProposalOf */
  746. export interface ProposalOf extends Struct {
  747. readonly parameters: ProposalParameters;
  748. readonly proposerId: MemberId;
  749. readonly activatedAt: u32;
  750. readonly status: ProposalStatus;
  751. readonly votingResults: VotingResults;
  752. readonly exactExecutionBlock: Option<u32>;
  753. readonly nrOfCouncilConfirmations: u32;
  754. readonly stakingAccountId: Option<AccountId>;
  755. }
  756. /** @name ProposalParameters */
  757. export interface ProposalParameters extends Struct {
  758. readonly votingPeriod: u32;
  759. readonly gracePeriod: u32;
  760. readonly approvalQuorumPercentage: u32;
  761. readonly approvalThresholdPercentage: u32;
  762. readonly slashingQuorumPercentage: u32;
  763. readonly slashingThresholdPercentage: u32;
  764. readonly requiredStake: Option<u128>;
  765. readonly constitutionality: u32;
  766. }
  767. /** @name ProposalStatus */
  768. export interface ProposalStatus extends Enum {
  769. readonly isActive: boolean;
  770. readonly isPendingExecution: boolean;
  771. readonly asPendingExecution: u32;
  772. readonly isPendingConstitutionality: boolean;
  773. }
  774. /** @name PullPayment */
  775. export interface PullPayment extends Struct {
  776. readonly channel_id: ChannelId;
  777. readonly cumulative_payout_claimed: u128;
  778. readonly reason: Hash;
  779. }
  780. /** @name ReactionId */
  781. export interface ReactionId extends u64 {}
  782. /** @name ReferendumStage */
  783. export interface ReferendumStage extends Enum {
  784. readonly isInactive: boolean;
  785. readonly isVoting: boolean;
  786. readonly asVoting: ReferendumStageVoting;
  787. readonly isRevealing: boolean;
  788. readonly asRevealing: ReferendumStageRevealing;
  789. }
  790. /** @name ReferendumStageRevealing */
  791. export interface ReferendumStageRevealing extends Struct {
  792. readonly started: u32;
  793. readonly winning_target_count: u64;
  794. readonly intermediate_winners: Vec<OptionResult>;
  795. readonly current_cycle_id: u64;
  796. }
  797. /** @name ReferendumStageVoting */
  798. export interface ReferendumStageVoting extends Struct {
  799. readonly started: u32;
  800. readonly winning_target_count: u64;
  801. readonly current_cycle_id: u64;
  802. }
  803. /** @name Reply */
  804. export interface Reply extends Struct {
  805. readonly text_hash: Hash;
  806. readonly owner: ParticipantId;
  807. readonly parent_id: PostId;
  808. }
  809. /** @name ReplyId */
  810. export interface ReplyId extends u64 {}
  811. /** @name ReplyToDelete */
  812. export interface ReplyToDelete extends Struct {
  813. readonly post_id: PostId;
  814. readonly reply_id: ReplyId;
  815. readonly hide: bool;
  816. }
  817. /** @name RewardPaymentType */
  818. export interface RewardPaymentType extends Enum {
  819. readonly isMissedReward: boolean;
  820. readonly isRegularReward: boolean;
  821. }
  822. /** @name Royalty */
  823. export interface Royalty extends u64 {}
  824. /** @name SetLeadParams */
  825. export interface SetLeadParams extends ITuple<[MemberId, AccountId]> {}
  826. /** @name Side */
  827. export interface Side extends Enum {
  828. readonly isLeft: boolean;
  829. readonly isRight: boolean;
  830. }
  831. /** @name StakeParameters */
  832. export interface StakeParameters extends Struct {
  833. readonly stake: u128;
  834. readonly staking_account_id: AccountId;
  835. }
  836. /** @name StakePolicy */
  837. export interface StakePolicy extends Struct {
  838. readonly stake_amount: u128;
  839. readonly leaving_unstaking_period: u32;
  840. }
  841. /** @name StakingAccountMemberBinding */
  842. export interface StakingAccountMemberBinding extends Struct {
  843. readonly member_id: MemberId;
  844. readonly confirmed: bool;
  845. }
  846. /** @name Static */
  847. export interface Static extends Enum {
  848. readonly isCouncil: boolean;
  849. readonly isWorkingGroup: boolean;
  850. readonly asWorkingGroup: WorkingGroup;
  851. }
  852. /** @name StaticBagId */
  853. export interface StaticBagId extends Enum {
  854. readonly isCouncil: boolean;
  855. readonly isWorkingGroup: boolean;
  856. readonly asWorkingGroup: WorkingGroup;
  857. }
  858. /** @name StorageAssets */
  859. export interface StorageAssets extends Struct {
  860. readonly object_creation_list: Vec<DataObjectCreationParameters>;
  861. readonly expected_data_size_fee: u128;
  862. }
  863. /** @name StorageBucket */
  864. export interface StorageBucket extends Struct {
  865. readonly operator_status: StorageBucketOperatorStatus;
  866. readonly accepting_new_bags: bool;
  867. readonly voucher: Voucher;
  868. readonly assigned_bags: u64;
  869. }
  870. /** @name StorageBucketId */
  871. export interface StorageBucketId extends u64 {}
  872. /** @name StorageBucketIdSet */
  873. export interface StorageBucketIdSet extends BTreeSet<StorageBucketId> {}
  874. /** @name StorageBucketOperatorStatus */
  875. export interface StorageBucketOperatorStatus extends Enum {
  876. readonly isMissing: boolean;
  877. readonly isInvitedStorageWorker: boolean;
  878. readonly asInvitedStorageWorker: WorkerId;
  879. readonly isStorageWorker: boolean;
  880. readonly asStorageWorker: ITuple<[WorkerId, GenericAccountId]>;
  881. }
  882. /** @name StorageBucketsPerBagValueConstraint */
  883. export interface StorageBucketsPerBagValueConstraint extends Struct {
  884. readonly min: u64;
  885. readonly max_min_diff: u64;
  886. }
  887. /** @name StorageProviderId */
  888. export interface StorageProviderId extends u64 {}
  889. /** @name TerminateRoleParameters */
  890. export interface TerminateRoleParameters extends Struct {
  891. readonly worker_id: WorkerId;
  892. readonly slashing_amount: Option<u128>;
  893. readonly working_group: WorkingGroup;
  894. }
  895. /** @name Thread */
  896. export interface Thread extends Struct {
  897. readonly category_id: CategoryId;
  898. readonly author_id: ForumUserId;
  899. readonly poll: Option<Poll>;
  900. readonly cleanup_pay_off: u128;
  901. readonly number_of_posts: u64;
  902. }
  903. /** @name ThreadId */
  904. export interface ThreadId extends u64 {}
  905. /** @name ThreadMode */
  906. export interface ThreadMode extends Enum {
  907. readonly isOpen: boolean;
  908. readonly isClosed: boolean;
  909. readonly asClosed: Vec<MemberId>;
  910. }
  911. /** @name ThreadOf */
  912. export interface ThreadOf extends Struct {
  913. readonly category_id: CategoryId;
  914. readonly author_id: ForumUserId;
  915. readonly poll: Option<Poll>;
  916. readonly cleanup_pay_off: u128;
  917. readonly number_of_posts: u64;
  918. }
  919. /** @name Title */
  920. export interface Title extends Text {}
  921. /** @name TransactionalStatus */
  922. export interface TransactionalStatus extends Enum {
  923. readonly isIdle: boolean;
  924. readonly isInitiatedOfferToMember: boolean;
  925. readonly asInitiatedOfferToMember: ITuple<[MemberId, Option<u128>]>;
  926. readonly isAuction: boolean;
  927. readonly asAuction: Auction;
  928. readonly isBuyNow: boolean;
  929. readonly asBuyNow: u128;
  930. }
  931. /** @name UpdatedBody */
  932. export interface UpdatedBody extends Option<Text> {}
  933. /** @name UpdatedTitle */
  934. export interface UpdatedTitle extends Option<Text> {}
  935. /** @name UploadParameters */
  936. export interface UploadParameters extends Struct {
  937. readonly bagId: BagId;
  938. readonly objectCreationList: Vec<DataObjectCreationParameters>;
  939. readonly deletionPrizeSourceAccountId: GenericAccountId;
  940. readonly expectedDataSizeFee: u128;
  941. }
  942. /** @name Url */
  943. export interface Url extends Text {}
  944. /** @name ValidatorPrefs */
  945. export interface ValidatorPrefs extends ValidatorPrefsWithCommission {}
  946. /** @name Video */
  947. export interface Video extends Struct {
  948. readonly in_channel: ChannelId;
  949. readonly is_censored: bool;
  950. readonly enable_comments: bool;
  951. readonly video_post_id: Option<VideoPostId>;
  952. readonly nft_status: Option<OwnedNft>;
  953. }
  954. /** @name VideoCategory */
  955. export interface VideoCategory extends Struct {}
  956. /** @name VideoCategoryCreationParameters */
  957. export interface VideoCategoryCreationParameters extends Struct {
  958. readonly meta: Bytes;
  959. }
  960. /** @name VideoCategoryId */
  961. export interface VideoCategoryId extends u64 {}
  962. /** @name VideoCategoryUpdateParameters */
  963. export interface VideoCategoryUpdateParameters extends Struct {
  964. readonly new_meta: Bytes;
  965. }
  966. /** @name VideoCreationParameters */
  967. export interface VideoCreationParameters extends Struct {
  968. readonly assets: Option<StorageAssets>;
  969. readonly meta: Option<Bytes>;
  970. readonly enable_comments: bool;
  971. readonly auto_issue_nft: Option<NftIssuanceParameters>;
  972. }
  973. /** @name VideoId */
  974. export interface VideoId extends u64 {}
  975. /** @name VideoPost */
  976. export interface VideoPost extends Struct {
  977. readonly author: ContentActor;
  978. readonly bloat_bond: u128;
  979. readonly replies_count: VideoPostId;
  980. readonly post_type: VideoPostType;
  981. readonly video_reference: VideoId;
  982. }
  983. /** @name VideoPostCreationParameters */
  984. export interface VideoPostCreationParameters extends Struct {
  985. readonly post_type: VideoPostType;
  986. readonly video_reference: VideoId;
  987. }
  988. /** @name VideoPostDeletionParameters */
  989. export interface VideoPostDeletionParameters extends Struct {
  990. readonly witness: Option<Hash>;
  991. readonly rationale: Option<Bytes>;
  992. }
  993. /** @name VideoPostId */
  994. export interface VideoPostId extends u64 {}
  995. /** @name VideoPostType */
  996. export interface VideoPostType extends Enum {
  997. readonly isDescription: boolean;
  998. readonly isComment: boolean;
  999. readonly asComment: VideoPostId;
  1000. }
  1001. /** @name VideoUpdateParameters */
  1002. export interface VideoUpdateParameters extends Struct {
  1003. readonly assets_to_upload: Option<StorageAssets>;
  1004. readonly new_meta: Option<Bytes>;
  1005. readonly assets_to_remove: BTreeSet<DataObjectId>;
  1006. readonly enable_comments: Option<bool>;
  1007. }
  1008. /** @name VoteKind */
  1009. export interface VoteKind extends Enum {
  1010. readonly isApprove: boolean;
  1011. readonly isReject: boolean;
  1012. readonly isSlash: boolean;
  1013. readonly isAbstain: boolean;
  1014. }
  1015. /** @name VotePower */
  1016. export interface VotePower extends u128 {}
  1017. /** @name VotingResults */
  1018. export interface VotingResults extends Struct {
  1019. readonly abstensions: u32;
  1020. readonly approvals: u32;
  1021. readonly rejections: u32;
  1022. readonly slashes: u32;
  1023. }
  1024. /** @name Voucher */
  1025. export interface Voucher extends Struct {
  1026. readonly sizeLimit: u64;
  1027. readonly objectsLimit: u64;
  1028. readonly sizeUsed: u64;
  1029. readonly objectsUsed: u64;
  1030. }
  1031. /** @name Worker */
  1032. export interface Worker extends Struct {
  1033. readonly member_id: MemberId;
  1034. readonly role_account_id: AccountId;
  1035. readonly staking_account_id: AccountId;
  1036. readonly reward_account_id: AccountId;
  1037. readonly started_leaving_at: Option<u32>;
  1038. readonly job_unstaking_period: u32;
  1039. readonly reward_per_block: Option<u128>;
  1040. readonly missed_reward: Option<u128>;
  1041. readonly created_at: u32;
  1042. }
  1043. /** @name WorkerId */
  1044. export interface WorkerId extends u64 {}
  1045. /** @name WorkerInfo */
  1046. export interface WorkerInfo extends Struct {
  1047. readonly worker_id: WorkerId;
  1048. readonly worker: Worker;
  1049. }
  1050. /** @name WorkingGroup */
  1051. export interface WorkingGroup extends Enum {
  1052. readonly isForum: boolean;
  1053. readonly isStorage: boolean;
  1054. readonly isContent: boolean;
  1055. readonly isOperationsAlpha: boolean;
  1056. readonly isGateway: boolean;
  1057. readonly isDistribution: boolean;
  1058. readonly isOperationsBeta: boolean;
  1059. readonly isOperationsGamma: boolean;
  1060. readonly isMembership: boolean;
  1061. }
  1062. export type PHANTOM_ALL = 'all';