custom-store-options.d.ts
890 Bytes
export declare class CustomStoreOptions {
/**
* URL | API ที่ต้องยิงไป
*/
url: string;
/**
* กรณีมี field เพิ่มเติมที่ต้องการส่งค่าไปพร้อมกับ URL
*/
filter?: object;
/**
* เปลี่ยนรูปแบบการโหลด data ของ customstore
*/
loadMode?: 'processed' | 'raw';
constructor(
/**
* URL | API ที่ต้องยิงไป
*/
url: string,
/**
* กรณีมี field เพิ่มเติมที่ต้องการส่งค่าไปพร้อมกับ URL
*/
filter?: object,
/**
* เปลี่ยนรูปแบบการโหลด data ของ customstore
*/
loadMode?: 'processed' | 'raw');
}