UNPKG

@pocinnovation/alumi

Version:

Dynamic pulumi provider for Aleph

18 lines (17 loc) 617 B
import { Aggregate } from './Aggregate'; import type { ItemType } from '@aleph-sdk/message'; export type SecurityKeyTypes = 'POST' | 'AGGREGATE' | 'STORE'; export type SecurityKeyAuthorization = { address: string; types?: Array<SecurityKeyTypes>; post_types?: Array<string>; aggregate_keys?: Array<string>; chains?: Array<string>; channels?: Array<string>; }; export interface SecurityKeyConf { authorizations: Array<SecurityKeyAuthorization>; storageEngine: ItemType; accountEnvName: string; } export declare const securityKey: (name: string, conf: SecurityKeyConf) => Aggregate;