UNPKG

@darkpay/dark-types

Version:

JavaScript type definitions for Darkdot blockchain.

386 lines (385 loc) 9.12 kB
import * as InterfaceTypes from './interfaceRegistry'; export { InterfaceTypes }; export declare const types: { AccountInfo: string; IpfsCid: string; SwapId: string; Swap: { id: string; created: string; updated: string; amount: string; d4rktx: string; claimer: string; claimed: string; }; SwapUpdate: { claimed: string; }; SwapSettings: { swaps_allowed: string; min_amount: string; max_amount: string; }; SwapSettingsUpdate: { swaps_allowed: string; min_amount: string; max_amount: string; }; RedeemId: string; Redeem: { id: string; created: string; updated: string; amount: string; d4rktx: string; d4rkaddr: string; redeemed: string; }; RedeemUpdate: { d4rktx: string; redeemed: string; }; RedeemSettings: { redeems_allowed: string; min_amount: string; max_amount: string; }; RedeemSettingsUpdate: { redeems_allowed: string; min_amount: string; max_amount: string; }; DonationId: string; DonationRecipient: { _enum: { Account: string; Storefront: string; Product: string; }; }; Donation: { id: string; created: string; recipient: string; donation_wallet: string; amount: string; comment_id: string; }; DonationSettings: { donations_allowed: string; min_amount: string; max_amount: string; }; DonationSettingsUpdate: { donations_allowed: string; min_amount: string; max_amount: string; }; DropId: string; Drop: { id: string; first_drop_at: string; total_dropped: string; }; FaucetSettings: { period: string; period_limit: string; }; FaucetSettingsUpdate: { period: string; period_limit: string; }; ReportId: string; EntityId: { _enum: { Content: string; Account: string; Storefront: string; Product: string; Ordering: string; }; }; EntityStatus: { _enum: string[]; }; Report: { id: string; created: string; reported_entity: string; reported_within: string; reason: string; }; SuggestedStatus: { suggested: string; status: string; report_id: string; }; StorefrontModerationSettings: { autoblock_threshold: string; }; StorefrontModerationSettingsUpdate: { autoblock_threshold: string; }; StorefrontPermissionSet: string; StorefrontPermission: { _enum: string[]; }; StorefrontPermissions: { none: string; everyone: string; follower: string; storefront_owner: string; }; StorefrontPermissionsContext: { storefront_id: string; is_storefront_owner: string; is_storefront_follower: string; storefront_perms: string; }; ProductHistoryRecord: { edited: string; old_data: string; }; ProductId: string; Product: { id: string; created: string; updated: string; owner: string; extension: string; storefront_id: string; content: string; price_usd: string; tax_pct: string; discount_pct: string; buyer_esc_pct: string; seller_esc_pct: string; hidden: string; replies_count: string; hidden_replies_count: string; shares_count: string; upvotes_count: string; downvotes_count: string; score: string; }; ProductUpdate: { storefront_id: string; content: string; price_usd: string; tax_pct: string; discount_pct: string; buyer_esc_pct: string; seller_esc_pct: string; hidden: string; }; ProductExtension: { _enum: { RegularProduct: string; Comment: string; SharedProduct: string; }; }; Prices: string; OrderingId: string; Ordering: { id: string; created: string; updated: string; owner: string; storefront_id: string; content: string; ordering_total: string; seller: string; buyer_escrow: string; seller_escrow: string; ordering_state: string; }; OrderingUpdate: { content: string; ordering_state: string; }; OrderingState: { _enum: string[]; }; OrderingHistoryRecord: { edited: string; old_data: string; }; Comment: { parent_id: string; root_product_id: string; }; ProfileHistoryRecord: { edited: string; old_data: string; }; SocialAccount: { followers_count: string; following_accounts_count: string; following_storefronts_count: string; reputation: string; profile: string; }; Profile: { created: string; updated: string; content: string; gpg: string; }; ProfileUpdate: { content: string; gpg: string; }; ReactionId: string; ReactionKind: { _enum: string[]; }; Reaction: { id: string; created: string; updated: string; kind: string; }; RoleId: string; Role: { created: string; updated: string; id: string; storefront_id: string; disabled: string; expires_at: string; content: string; permissions: string; }; RoleUpdate: { disabled: string; content: string; permissions: string; }; ScoringAction: { _enum: string[]; }; SessionKey: { created: string; updated: string; expires_at: string; limit: string; spent: string; }; StorefrontHistoryRecord: { edited: string; old_data: string; }; Storefront: { id: string; created: string; updated: string; owner: string; parent_id: string; handle: string; content: string; hidden: string; products_count: string; hidden_products_count: string; followers_count: string; score: string; permissions: string; }; StorefrontUpdate: { parent_id: string; handle: string; content: string; hidden: string; permissions: string; }; SubscriptionPlanId: string; SubscriptionId: string; SubscriptionPeriod: { _enum: { Daily: string; Weekly: string; Monthly: string; Quarterly: string; Yearly: string; Custom: string; }; }; SubscriptionPlan: { id: string; created: string; updated: string; is_active: string; content: string; storefront_id: string; wallet: string; price: string; period: string; }; Subscription: { id: string; created: string; updated: string; is_active: string; wallet: string; plan_id: string; }; StorefrontId: string; WhoAndWhen: { account: string; block: string; time: string; }; User: { _enum: { Account: string; Storefront: string; }; }; Content: { _enum: { None: string; Raw: string; IPFS: string; Hyper: string; }; }; Faucet: { enabled: string; period: string; period_limit: string; drip_limit: string; next_period_at: string; dripped_in_current_period: string; }; FaucetUpdate: { enabled: string; period: string; period_limit: string; drip_limit: string; }; ChangeId: string; StorefrontOwners: { created: string; storefront_id: string; owners: string; threshold: string; changes_count: string; }; Change: { created: string; id: string; storefront_id: string; add_owners: string; remove_owners: string; new_threshold: string; notes: string; confirmed_by: string; expires_at: string; }; }; export { types as registryTypes } from './preparedTypes'; export { registerDarkdotTypes } from './register'; export declare type PalletName = 'ocwModule' | 'permissions' | 'products' | 'orderings' | 'profileFollows' | 'profiles' | 'reactions' | 'roles' | 'scores' | 'storefrontFollows' | 'storefrontOwnership' | 'storefronts' | 'swap' | 'utils'; export * from './interfaces/utils'; export * as classes from './classes';