@evlop/commons 1.0.196 → 1.0.198
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/data-sources/collection.d.ts.map +1 -1
- package/dist/src/data-sources/collection.js +17 -10
- package/dist/src/data-sources/collection.js.map +1 -1
- package/dist/src/data-sources/collectionRecord.d.ts +4 -0
- package/dist/src/data-sources/collectionRecord.d.ts.map +1 -0
- package/dist/src/data-sources/collectionRecord.js +50 -0
- package/dist/src/data-sources/collectionRecord.js.map +1 -0
- package/dist/src/data-sources/index.d.ts.map +1 -1
- package/dist/src/data-sources/index.js +2 -0
- package/dist/src/data-sources/index.js.map +1 -1
- package/dist/src/middlewares/dataSourceMiddleware.js.map +1 -1
- package/dist/src/reducers/collection.d.ts +5 -1
- package/dist/src/reducers/collection.d.ts.map +1 -1
- package/dist/src/reducers/collection.js +5 -1
- package/dist/src/reducers/collection.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/data-sources/collection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAwC,MAAM,aAAa,CAAC;AAchF,QAAA,MAAM,oBAAoB,EAAE,
|
1
|
+
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/data-sources/collection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAwC,MAAM,aAAa,CAAC;AAchF,QAAA,MAAM,oBAAoB,EAAE,WAgC3B,CAAA;AAuCD,eAAe,oBAAoB,CAAC"}
|
@@ -24,7 +24,7 @@ function _getModel(collectionName, dispatch) {
|
|
24
24
|
}
|
25
25
|
const getModel = lodash_1.memoize(_getModel);
|
26
26
|
const collectionDataSource = (options, { dispatch }) => __awaiter(void 0, void 0, void 0, function* () {
|
27
|
-
const { key, sourceId, collectionName = sourceId,
|
27
|
+
const { key, sourceId, collectionName = sourceId, params: requestOptions } = options;
|
28
28
|
let reqOptions = {};
|
29
29
|
if (requestOptions) {
|
30
30
|
if (typeof requestOptions === 'string') {
|
@@ -40,9 +40,10 @@ const collectionDataSource = (options, { dispatch }) => __awaiter(void 0, void 0
|
|
40
40
|
}
|
41
41
|
}
|
42
42
|
const pageSize = lodash_1.get(reqOptions, 'pageSize', options.pageSize) || 20;
|
43
|
-
const
|
44
|
-
const
|
45
|
-
const
|
43
|
+
const page = lodash_1.get(reqOptions, 'page', options.page) || 1;
|
44
|
+
const filter = lodash_1.get(reqOptions, 'filter', options.filter) || {};
|
45
|
+
const search = lodash_1.get(reqOptions, 'search', options.search) || '';
|
46
|
+
const sort = lodash_1.get(reqOptions, 'sort', options.sort) || {};
|
46
47
|
const { response } = yield dispatch(reducers_1.getCollection(collectionName, { page, key, pageSize, sort, search }, filter));
|
47
48
|
const _Model = getModel(collectionName, dispatch);
|
48
49
|
return {
|
@@ -65,19 +66,25 @@ collectionDataSource.defaultValues = {
|
|
65
66
|
params: JSON.stringify({ sort: { createdAt: -1 }, search: '', filter: {} }, null, 2),
|
66
67
|
};
|
67
68
|
collectionDataSource.keyExtractor = (options) => {
|
68
|
-
const { params: requestOptionsString } = options;
|
69
|
+
const { collectionName, params: requestOptionsString } = options;
|
69
70
|
let requestOptions;
|
70
71
|
try {
|
71
72
|
requestOptions = JSON.parse(requestOptionsString);
|
72
73
|
}
|
73
74
|
catch (e) { }
|
75
|
+
const pageSize = lodash_1.get(requestOptions, 'pageSize', options.pageSize) || 20;
|
76
|
+
const page = lodash_1.get(requestOptions, 'page', options.page) || 1;
|
77
|
+
const filter = lodash_1.get(requestOptions, 'filter', options.filter) || {};
|
78
|
+
const search = lodash_1.get(requestOptions, 'search', options.search) || '';
|
79
|
+
const sort = lodash_1.get(requestOptions, 'sort', options.sort) || {};
|
74
80
|
return uuid_1.v5([
|
75
81
|
lodash_1.get(requestOptions, 'key', ''),
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
82
|
+
collectionName,
|
83
|
+
search,
|
84
|
+
page,
|
85
|
+
pageSize,
|
86
|
+
JSON.stringify(sort),
|
87
|
+
...lodash_1.map(filter, (v, k) => `${k}=${JSON.stringify(v)}`)
|
81
88
|
].join(':'), constants_1.DATA_SOURCE_KEY_NAMESPACE);
|
82
89
|
};
|
83
90
|
exports.default = collectionDataSource;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"collection.js","sourceRoot":"","sources":["../../../src/data-sources/collection.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,mCAAiE;AACjE,wCAAmC;AACnC,0CAAgF;AAChF,+BAAkC;AAClC,4CAAyD;AAGzD,SAAS,SAAS,CAAE,cAAc,EAAE,QAAQ;IACxC,IAAG,CAAC,cAAc;QAAE,OAAO,eAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IAC5D,MAAM,KAAK,GAAG,QAAQ,CAAC,gCAAqB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC7D,IAAG,KAAK;QAAE,OAAO,KAAK,CAAC;IACvB,OAAO,eAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,QAAQ,GAAG,gBAAO,CAAC,SAAS,CAAC,CAAC;AAEpC,MAAM,oBAAoB,GAAgB,CAAO,OAAO,EAAE,EAAC,QAAQ,EAAC,EAAC,EAAE;IACnE,MAAM,EAAC,GAAG,EAAE,QAAQ,EAAE,cAAc,GAAG,QAAQ,EAAE,
|
1
|
+
{"version":3,"file":"collection.js","sourceRoot":"","sources":["../../../src/data-sources/collection.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,mCAAiE;AACjE,wCAAmC;AACnC,0CAAgF;AAChF,+BAAkC;AAClC,4CAAyD;AAGzD,SAAS,SAAS,CAAE,cAAc,EAAE,QAAQ;IACxC,IAAG,CAAC,cAAc;QAAE,OAAO,eAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IAC5D,MAAM,KAAK,GAAG,QAAQ,CAAC,gCAAqB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC7D,IAAG,KAAK;QAAE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,CAAC,GAAG,CAAC,EAAE,qCAAyB,CAAC,CAAA;AAC3C,CAAC,CAAC;AAGF,kBAAe,oBAAoB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"collectionRecord.d.ts","sourceRoot":"","sources":["../../../src/data-sources/collectionRecord.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAA8C,MAAM,aAAa,CAAC;AAYtF,QAAA,MAAM,0BAA0B,EAAE,WAOjC,CAAA;AAuBD,eAAe,0BAA0B,CAAC"}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
const lodash_1 = require("lodash");
|
13
|
+
const uuid_1 = require("uuid");
|
14
|
+
const classes_1 = require("../classes");
|
15
|
+
const constants_1 = require("../constants");
|
16
|
+
const reducers_1 = require("../reducers");
|
17
|
+
function _getModel(collectionName, dispatch) {
|
18
|
+
if (!collectionName)
|
19
|
+
return classes_1.Model.forCollection('no-operations');
|
20
|
+
const model = dispatch(reducers_1.getModelForCollection(collectionName));
|
21
|
+
if (model)
|
22
|
+
return model;
|
23
|
+
return classes_1.Model.forCollection(collectionName);
|
24
|
+
}
|
25
|
+
const getModel = lodash_1.memoize(_getModel);
|
26
|
+
const collectionRecordDataSource = (options, { dispatch }) => __awaiter(void 0, void 0, void 0, function* () {
|
27
|
+
const { collectionName, id } = options;
|
28
|
+
const { response } = yield dispatch(reducers_1.collectionGetRecord(collectionName, id));
|
29
|
+
const _Model = getModel(collectionName, dispatch);
|
30
|
+
return response ? new _Model(response) : null;
|
31
|
+
});
|
32
|
+
collectionRecordDataSource.displayName = 'Collection Record';
|
33
|
+
collectionRecordDataSource.identifier = 'collectionRecord';
|
34
|
+
collectionRecordDataSource.type = 'Object';
|
35
|
+
collectionRecordDataSource.configurationOptions = [
|
36
|
+
{ type: 'text', key: 'collection-name', label: 'Collection Name', name: 'collectionName' },
|
37
|
+
{ type: 'text', key: 'collection-record-id', label: 'Record ID/Handle', name: 'id' },
|
38
|
+
];
|
39
|
+
collectionRecordDataSource.defaultValues = {
|
40
|
+
collectionName: '',
|
41
|
+
};
|
42
|
+
collectionRecordDataSource.keyExtractor = (options) => {
|
43
|
+
const { collectionName, id } = options;
|
44
|
+
return uuid_1.v5([
|
45
|
+
collectionName,
|
46
|
+
id,
|
47
|
+
].join(':'), constants_1.DATA_SOURCE_KEY_NAMESPACE);
|
48
|
+
};
|
49
|
+
exports.default = collectionRecordDataSource;
|
50
|
+
//# sourceMappingURL=collectionRecord.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"collectionRecord.js","sourceRoot":"","sources":["../../../src/data-sources/collectionRecord.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,mCAAiC;AACjC,+BAAoC;AACpC,wCAAmC;AACnC,4CAAyD;AACzD,0CAAsF;AAGtF,SAAS,SAAS,CAAE,cAAsB,EAAE,QAAkB;IAC1D,IAAG,CAAC,cAAc;QAAE,OAAO,eAAK,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;IAC5D,MAAM,KAAK,GAAG,QAAQ,CAAC,gCAAqB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC7D,IAAG,KAAK;QAAE,OAAO,KAAK,CAAC;IACvB,OAAO,eAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;AACn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;AAGF,kBAAe,0BAA0B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/data-sources/index.ts"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/data-sources/index.ts"],"names":[],"mappings":";AAMA,wBAME"}
|
@@ -4,11 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
const collection_1 = __importDefault(require("./collection"));
|
7
|
+
const collectionRecord_1 = __importDefault(require("./collectionRecord"));
|
7
8
|
const listUrl_1 = __importDefault(require("./listUrl"));
|
8
9
|
const scopeDataSource_1 = __importDefault(require("./scopeDataSource"));
|
9
10
|
const url_1 = __importDefault(require("./url"));
|
10
11
|
exports.default = [
|
11
12
|
collection_1.default,
|
13
|
+
collectionRecord_1.default,
|
12
14
|
url_1.default,
|
13
15
|
listUrl_1.default,
|
14
16
|
scopeDataSource_1.default,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data-sources/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAgD;AAChD,wDAA0C;AAC1C,wEAAgD;AAChD,gDAAkC;AAElC,kBAAe;IACX,oBAAoB;IACpB,aAAa;IACb,iBAAiB;IACjB,yBAAe;CAClB,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data-sources/index.ts"],"names":[],"mappings":";;;;;AAAA,8DAAgD;AAChD,0EAA4D;AAC5D,wDAA0C;AAC1C,wEAAgD;AAChD,gDAAkC;AAElC,kBAAe;IACX,oBAAoB;IACpB,0BAA0B;IAC1B,aAAa;IACb,iBAAiB;IACjB,yBAAe;CAClB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dataSourceMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/dataSourceMi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AG,iBAAQ,CAAC,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,YAAG,CAAC,YAAY,EAAE,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAC,EAAE,OAAO,EAAE,EAAC,QAAQ,EAAE,EAAE,EAAC,CAAC,CAAC;YAEhH,IAAI,CAAC,EAAC,IAAI,EAAE,kCAAuB,EAAC,GAAG,EAAE,IAAI,EAAE,eAAM,CAAC,EAAE,EAAE,YAAY,EAAE,EAAC,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAC,CAAC,EAAC,CAAC,CAAC;YAElH,MAAM,IAAI,GAAG,MAAM,SAAS,CAAC,UAAU,EAAE,cAAc,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAC,CAAC,CAAC;YAC9F,IAAI,QAAQ,GAAG,IAAI,CAAC;YACpB,IAAG,YAAG,CAAC,UAAU,EAAE,MAAM,CAAC,KAAK,OAAO,EAAC;gBACnC,QAAQ,GAAG,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;aAC9C;YACD,OAAO,IAAI,CAAC;gBACR,IAAI,EAAE,kCAAuB;gBAC7B,GAAG;gBACH,IAAI,EAAE,QAAQ;aACjB,CAAC,CAAC;SACN;KACJ;IACD,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC,CAAA,CAAC;AAlFW,QAAA,oBAAoB,wBAkF/B;AAEF,kBAAe,4BAAoB,CAAC"}
|
@@ -64,7 +64,7 @@ export declare function collectionLoadMore(collectionName: string, { page, sort,
|
|
64
64
|
endpoint: string;
|
65
65
|
data: any;
|
66
66
|
};
|
67
|
-
export declare function collectionGetRecord(collectionName: string, id:
|
67
|
+
export declare function collectionGetRecord(collectionName: string, id: string): {
|
68
68
|
method: string;
|
69
69
|
types: string[] | ([string, string, string] & {
|
70
70
|
length: 3;
|
@@ -77,6 +77,7 @@ export declare function collectionGetRecord(collectionName: string, id: any): {
|
|
77
77
|
endpoint: string;
|
78
78
|
data: any;
|
79
79
|
};
|
80
|
+
export declare const getCollectionRecord: typeof collectionGetRecord;
|
80
81
|
export declare function collectionAddRecord(collectionName: any, data: any): {
|
81
82
|
method: string;
|
82
83
|
types: string[] | ([string, string, string] & {
|
@@ -90,6 +91,7 @@ export declare function collectionAddRecord(collectionName: any, data: any): {
|
|
90
91
|
endpoint: string;
|
91
92
|
data: any;
|
92
93
|
};
|
94
|
+
export declare const addCollectionRecord: typeof collectionAddRecord;
|
93
95
|
export declare function collectionDeleteRecord(collectionName: string, id: any): {
|
94
96
|
method: string;
|
95
97
|
types: string[] | ([string, string, string] & {
|
@@ -103,6 +105,7 @@ export declare function collectionDeleteRecord(collectionName: string, id: any):
|
|
103
105
|
endpoint: string;
|
104
106
|
data: any;
|
105
107
|
};
|
108
|
+
export declare const deleteCollectionRecord: typeof collectionDeleteRecord;
|
106
109
|
export declare function collectionUpdateRecord(collectionName: any, id: any, updates: any): {
|
107
110
|
method: string;
|
108
111
|
types: string[] | ([string, string, string] & {
|
@@ -116,6 +119,7 @@ export declare function collectionUpdateRecord(collectionName: any, id: any, upd
|
|
116
119
|
endpoint: string;
|
117
120
|
data: any;
|
118
121
|
};
|
122
|
+
export declare const updateCollectionRecord: typeof collectionUpdateRecord;
|
119
123
|
declare const collection: (state: any, action: any) => any;
|
120
124
|
export default collection;
|
121
125
|
//# sourceMappingURL=collection.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/reducers/collection.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,gCAAgC,CAAC;AAC9D,eAAO,MAAM,cAAc,8BAA8B,CAAC;AAE1D,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,4BA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,EAAE,EAAE;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,GAAG,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAC,EAAE,MAAM,KAAK;;;;;;;;;;;;EAMhN;AAED,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,IAAQ,EAAE,IAAI,EAAE,MAAM,EAAG,GAA0B,EAAE;;;;;CAAA,EAAE,MAAM,KAAK;;;;;;;;;;;;EAM9H;AAED,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;EAOrE;AAED,eAAO,MAAM,mBAAmB,4BAAsB,CAAC;AAEvD,wBAAgB,mBAAmB,CAAC,cAAc,KAAA,EAAE,IAAI,EAAE,GAAG;;;;;;;;;;;;EAO5D;AAED,eAAO,MAAM,mBAAmB,4BAAsB,CAAC;AAEvD,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,KAAA;;;;;;;;;;;;EAQhE;AAED,eAAO,MAAM,sBAAsB,+BAAyB,CAAC;AAE7D,wBAAgB,sBAAsB,CAAC,cAAc,KAAA,EAAE,EAAE,KAAA,EAAE,OAAO,EAAE,GAAG;;;;;;;;;;;;EAOtE;AAED,eAAO,MAAM,sBAAsB,+BAAyB,CAAC;AAyB7D,QAAA,MAAM,UAAU,kCA2Gf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.collectionUpdateRecord = exports.collectionDeleteRecord = exports.collectionAddRecord = exports.collectionGetRecord = exports.collectionLoadMore = exports.getCollection = exports.getModelForCollection = exports.unregisterModel = exports.registerModel = exports.COLLECTION_UPDATE_RECORD_FAILED = exports.COLLECTION_UPDATE_RECORD_SUCCESS = exports.COLLECTION_UPDATE_RECORD_STARTED = exports.COLLECTION_ADD_RECORD_FAILED = exports.COLLECTION_ADD_RECORD_SUCCESS = exports.COLLECTION_ADD_RECORD_STARTED = exports.COLLECTION_DELETE_RECORD_FAILED = exports.COLLECTION_DELETE_RECORD_SUCCESS = exports.COLLECTION_DELETE_RECORD_STARTED = exports.COLLECTION_GET_RECORD_FAILED = exports.COLLECTION_GET_RECORD_SUCCESS = exports.COLLECTION_GET_RECORD_STARTED = exports.COLLECTION_LOAD_MORE_FAILED = exports.COLLECTION_LOAD_MORE_SUCCESS = exports.COLLECTION_LOAD_MORE_STARTED = exports.COLLECTION_LOAD_PAGE_FAILED = exports.COLLECTION_LOAD_PAGE_SUCCESS = exports.COLLECTION_LOAD_PAGE_STARTED = exports.REGISTER_MODEL = exports.UNREGISTER_MODEL = void 0;
|
3
|
+
exports.updateCollectionRecord = exports.collectionUpdateRecord = exports.deleteCollectionRecord = exports.collectionDeleteRecord = exports.addCollectionRecord = exports.collectionAddRecord = exports.getCollectionRecord = exports.collectionGetRecord = exports.collectionLoadMore = exports.getCollection = exports.getModelForCollection = exports.unregisterModel = exports.registerModel = exports.COLLECTION_UPDATE_RECORD_FAILED = exports.COLLECTION_UPDATE_RECORD_SUCCESS = exports.COLLECTION_UPDATE_RECORD_STARTED = exports.COLLECTION_ADD_RECORD_FAILED = exports.COLLECTION_ADD_RECORD_SUCCESS = exports.COLLECTION_ADD_RECORD_STARTED = exports.COLLECTION_DELETE_RECORD_FAILED = exports.COLLECTION_DELETE_RECORD_SUCCESS = exports.COLLECTION_DELETE_RECORD_STARTED = exports.COLLECTION_GET_RECORD_FAILED = exports.COLLECTION_GET_RECORD_SUCCESS = exports.COLLECTION_GET_RECORD_STARTED = exports.COLLECTION_LOAD_MORE_FAILED = exports.COLLECTION_LOAD_MORE_SUCCESS = exports.COLLECTION_LOAD_MORE_STARTED = exports.COLLECTION_LOAD_PAGE_FAILED = exports.COLLECTION_LOAD_PAGE_SUCCESS = exports.COLLECTION_LOAD_PAGE_STARTED = exports.REGISTER_MODEL = exports.UNREGISTER_MODEL = void 0;
|
4
4
|
const change_case_1 = require("change-case");
|
5
5
|
const lodash_1 = require("lodash");
|
6
6
|
const restApi_1 = require("../actions/restApi");
|
@@ -69,6 +69,7 @@ function collectionGetRecord(collectionName, id) {
|
|
69
69
|
});
|
70
70
|
}
|
71
71
|
exports.collectionGetRecord = collectionGetRecord;
|
72
|
+
exports.getCollectionRecord = collectionGetRecord;
|
72
73
|
function collectionAddRecord(collectionName, data) {
|
73
74
|
const collectionPath = change_case_1.paramCase(collectionName);
|
74
75
|
return restApi_1.request(collectionPath, data, {
|
@@ -78,6 +79,7 @@ function collectionAddRecord(collectionName, data) {
|
|
78
79
|
});
|
79
80
|
}
|
80
81
|
exports.collectionAddRecord = collectionAddRecord;
|
82
|
+
exports.addCollectionRecord = collectionAddRecord;
|
81
83
|
function collectionDeleteRecord(collectionName, id) {
|
82
84
|
const collectionPath = change_case_1.paramCase(collectionName);
|
83
85
|
return restApi_1.request(`${collectionPath}/:id`, {}, {
|
@@ -88,6 +90,7 @@ function collectionDeleteRecord(collectionName, id) {
|
|
88
90
|
});
|
89
91
|
}
|
90
92
|
exports.collectionDeleteRecord = collectionDeleteRecord;
|
93
|
+
exports.deleteCollectionRecord = collectionDeleteRecord;
|
91
94
|
function collectionUpdateRecord(collectionName, id, updates) {
|
92
95
|
const collectionPath = change_case_1.paramCase(collectionName);
|
93
96
|
return restApi_1.request(`${collectionPath}/:id`, updates, {
|
@@ -97,6 +100,7 @@ function collectionUpdateRecord(collectionName, id, updates) {
|
|
97
100
|
});
|
98
101
|
}
|
99
102
|
exports.collectionUpdateRecord = collectionUpdateRecord;
|
103
|
+
exports.updateCollectionRecord = collectionUpdateRecord;
|
100
104
|
const collectionIntitialState = {
|
101
105
|
isLoading: true,
|
102
106
|
page: 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"collection.js","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