@drupflare/workforce - v0.3.0
    Preparing search index...

    Interface UploadInput

    interface UploadInput {
        appliedMigrationTag?: string;
        main?: string;
        metadata?: Omit<UploadMetadata, "main_module">;
        source: ModuleSet;
        types?: Record<string, ModuleType>;
    }
    Index
    appliedMigrationTag?: string

    The migration tag the deployed Worker already carries, for an update. Migrations up to it are left out, and the rest go with old_tag set. Leave it unset for a first upload.

    main?: string

    the entry point, as the module set names it. Defaults to the only .js when there is one

    metadata?: Omit<UploadMetadata, "main_module">
    source: ModuleSet

    the modules, from any source

    types?: Record<string, ModuleType>

    override the inferred type for a path, for a bundle that ships CommonJS or a raw blob