TESSA Web API
    Preparing search index...

    Interface ICardNewStrategy

    Стратегия создания карточки.

    interface ICardNewStrategy {
        createResponse(
            context: ICardNewStrategyContext,
        ): Promise<CardNewResponse>;
        createSectionRows(
            context: ICardNewStrategyContext,
        ): Promise<StorageMap<CardRow, IStorage>>;
        fillEntryFields(
            section: CardSection,
            sectionMetadata: ICardMetadataSection,
            mode: CardNewMode,
        ): Promise<void>;
        setUserInfo(response: CardNewResponse, user: IUser): Promise<boolean>;
    }

    Implemented by

    Index

    Methods

    • Parameters

      Returns Promise<boolean>