Member Junction
    Preparing search index...

    Dialog body component (<vs-archetype-editor>) for creating a company copy of any video archetype or editing an existing company archetype.

    Plan rules (§4.3, §12): shipped archetypes (CompanyID === null) are read-only templates; a company makes its own by copying one. Name is unique per company scope; Category is one of the 7 CHECK values; beats are persisted as a valid VideoBeatTemplate[] (Key, Label, Purpose, MinDurationSeconds, MaxDurationSeconds, DefaultDurationSeconds, optional Guidance and RequiresDataBinding); Pacing is VideoPacing. Saves go through the MJ: Video Archetypes entity object and refresh VideoStudioEngine.

    Hierarchy (View Summary)

    Implements

    • OnInit
    Index

    Constructors

    Properties

    Archetypes: readonly ArchetypeEditorSourceItem[] | null = null
    AvailableArchetypes: ArchetypeEditorSourceItem[] = []
    AvailableCompanies: ArchetypeEditorCompanyOption[] = []
    AvailableFormats: readonly ("16:9" | "9:16" | "1:1" | "4:5")[] = STUDIO_VIDEO_FORMATS
    Cancelled: EventEmitter<void> = ...
    Category:
        | "Briefing"
        | "Announcement"
        | "DataStory"
        | "Explainer"
        | "Product"
        | "Social"
        | "Tutorial" = 'Explainer'
    CategoryOptions: readonly ArchetypeCategoryDropdownOption[] = ...
    Companies: readonly ArchetypeEditorCompanyOption[] | null = null
    CompanyID: string = ''
    DefaultDurationSeconds: number = 60
    DefaultInteractionMode: string = 'Autonomous'
    Description: string = ''
    EditingArchetypeId: string | null = null
    Guidance: string = ''
    InitialCompanyId: string | null = null
    IsAdvancedOpen: boolean = false
    IsSaving: boolean = false
    MaxDurationSeconds: number = 120
    MinDurationSeconds: number = 30
    Mode: ArchetypeEditorMode = 'copy'
    Name: string = ''
    PacingAvgSeconds: number = 5
    PacingHoldRules: string = ''
    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    Saved: EventEmitter<string> = ...
    SaveError: string | null = null
    SelectedFormats: ("16:9" | "9:16" | "1:1" | "4:5")[] = ...
    SelectedSourceId: string = ''
    SourceArchetypeId: string | null = null
    StartFromOptions: ArchetypeStartFromOption[] = []
    "ɵdir": unknown
    "ɵfac": ɵɵFactoryDeclaration<BaseAngularComponent, never>

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns Promise<void>