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

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

Implemented by

Methods

MMNEPVFCICPMFPCPTTAAATR