UNPKG

@pocinnovation/alumi

Version:

Dynamic pulumi provider for Aleph

51 lines (50 loc) 1.8 kB
import * as pulumi from '@pulumi/pulumi'; import type { ItemType } from '@aleph-sdk/message'; import type { JSONDict } from './types'; export interface PostInputs { content: pulumi.Input<JSONDict>; postType: pulumi.Input<string>; channel: pulumi.Input<string>; storageEngine: pulumi.Input<ItemType>; ref: pulumi.Input<string>; accountEnvName: pulumi.Input<string>; } export interface PostOutputs { content: JSONDict; postType: string; storageEngine: ItemType; accountEnvName: string; chain: string; sender: string; type: string; channel: string; signature: string; time: number; item_type: string; item_hash: string; content_address: string; content_type: string; content_content: JSONDict; content_time: number; aleph_explorer_url: string; } export declare class Post extends pulumi.dynamic.Resource { readonly content: pulumi.Output<JSONDict>; readonly postType: pulumi.Output<string>; readonly storageEngine: pulumi.Output<string>; readonly accountEnvName: pulumi.Output<string>; readonly chain: pulumi.Output<string>; readonly sender: pulumi.Output<string>; readonly type: pulumi.Output<string>; readonly channel: pulumi.Output<string>; readonly signature: pulumi.Output<string>; readonly time: pulumi.Output<number>; readonly item_type: pulumi.Output<string>; readonly item_hash: pulumi.Output<string>; readonly content_address: pulumi.Output<string>; readonly content_type: pulumi.Output<string>; readonly content_content: pulumi.Output<JSONDict>; readonly content_time: pulumi.Output<number>; readonly aleph_explorer_url: pulumi.Output<string>; constructor(name: string, props: PostInputs, opts?: pulumi.CustomResourceOptions); }