Blame view

lib/model/custom-store-options.d.ts 890 Bytes
75f29219   Anan Sangthongtum   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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');
}