Continue Upload Script.
Pause during rewrite of RHPZ Server code.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {Uploader_Data} from "./class-uploader-data";
|
||||
import {Server_Api} from "./class-server-api";
|
||||
|
||||
export const { __, _x, _n, _nx } = wp.i18n;
|
||||
|
||||
@@ -8,10 +9,14 @@ export const FORBIDDEN_CARS: Array<string> = [
|
||||
|
||||
export const I : Uploader_Data = new Uploader_Data();
|
||||
I.add_field( 'is_edit', false, true );
|
||||
I.add_field( 'custom_post_type', undefined, true );
|
||||
I.add_field( 'reserved_post_id', undefined, false );
|
||||
I.add_field( 'during_upload', false, false );
|
||||
I.add_field( 'upload', undefined, false );
|
||||
I.add_field( 'drop_container', undefined, true );
|
||||
I.add_field( 'favorite_server_set', false, false );
|
||||
|
||||
export const API : Server_Api = new Server_Api();
|
||||
|
||||
export interface Can_Upload_Detail {
|
||||
file: File;
|
||||
|
||||
Reference in New Issue
Block a user