@webiny/app-aco 5.40.0-beta.5 → 5.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
+ /// <reference types="react" />
1
2
  import { ListRecordsParams } from "../contexts/records";
2
3
  import { DeletableSearchRecordItem, MovableSearchRecordItem, SearchRecordItem } from "../types";
3
- export declare const useRecords: (folderId?: string) => {
4
+ export declare const useRecords: import("@webiny/app-admin").GenericHook<string, {
4
5
  /**
5
6
  * NOTE: you do NOT need to call `listRecords` from this hook on component mount, because you already have folders in the `listRecords` property.
6
7
  * As soon as you call `useRecords()`, you'll initiate fetching of `records`, which is managed by the `SearchRecordContext`.
@@ -18,4 +19,45 @@ export declare const useRecords: (folderId?: string) => {
18
19
  addRecordToCache: (record: any) => void;
19
20
  removeRecordFromCache: (id: string) => void;
20
21
  updateRecordInCache: (record: any) => void;
22
+ }> & {
23
+ original: import("@webiny/app-admin").GenericHook<string, {
24
+ /**
25
+ * NOTE: you do NOT need to call `listRecords` from this hook on component mount, because you already have folders in the `listRecords` property.
26
+ * As soon as you call `useRecords()`, you'll initiate fetching of `records`, which is managed by the `SearchRecordContext`.
27
+ * Since this method lists records with pagination, you might need to call it multiple times passing the `after` param.
28
+ */
29
+ loading: import("../types").Loading<import("../types").LoadingActions>;
30
+ meta: import("../types").ListMeta;
31
+ records: SearchRecordItem<import("../types").GenericSearchData>[];
32
+ listRecords(params: ListRecordsParams): Promise<SearchRecordItem<import("../types").GenericSearchData>[]>;
33
+ getRecord(id: string): Promise<SearchRecordItem<import("../types").GenericSearchData> | null>;
34
+ createRecord(record: Omit<SearchRecordItem, "id">): Promise<SearchRecordItem<import("../types").GenericSearchData>>;
35
+ updateRecord(record: SearchRecordItem): Promise<SearchRecordItem<import("../types").GenericSearchData>>;
36
+ moveRecord(params: MovableSearchRecordItem): Promise<void>;
37
+ deleteRecord(record: DeletableSearchRecordItem): Promise<true>;
38
+ addRecordToCache: (record: any) => void;
39
+ removeRecordFromCache: (id: string) => void;
40
+ updateRecordInCache: (record: any) => void;
41
+ }>;
42
+ originalName: string;
43
+ } & {
44
+ createDecorator: (decorator: import("@webiny/app-admin").Decorator<(folderId?: string) => {
45
+ /**
46
+ * NOTE: you do NOT need to call `listRecords` from this hook on component mount, because you already have folders in the `listRecords` property.
47
+ * As soon as you call `useRecords()`, you'll initiate fetching of `records`, which is managed by the `SearchRecordContext`.
48
+ * Since this method lists records with pagination, you might need to call it multiple times passing the `after` param.
49
+ */
50
+ loading: import("../types").Loading<import("../types").LoadingActions>;
51
+ meta: import("../types").ListMeta;
52
+ records: SearchRecordItem<import("../types").GenericSearchData>[];
53
+ listRecords(params: ListRecordsParams): Promise<SearchRecordItem<import("../types").GenericSearchData>[]>;
54
+ getRecord(id: string): Promise<SearchRecordItem<import("../types").GenericSearchData> | null>;
55
+ createRecord(record: Omit<SearchRecordItem, "id">): Promise<SearchRecordItem<import("../types").GenericSearchData>>;
56
+ updateRecord(record: SearchRecordItem): Promise<SearchRecordItem<import("../types").GenericSearchData>>;
57
+ moveRecord(params: MovableSearchRecordItem): Promise<void>;
58
+ deleteRecord(record: DeletableSearchRecordItem): Promise<true>;
59
+ addRecordToCache: (record: any) => void;
60
+ removeRecordFromCache: (id: string) => void;
61
+ updateRecordInCache: (record: any) => void;
62
+ }>) => () => import("react").JSX.Element;
21
63
  };
@@ -8,10 +8,11 @@ exports.useRecords = void 0;
8
8
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
9
9
  var _dotPropImmutable = _interopRequireDefault(require("dot-prop-immutable"));
10
10
  var _react = require("react");
11
+ var _appAdmin = require("@webiny/app-admin");
11
12
  var _records = require("../contexts/records");
12
13
  var _useAcoApp2 = require("./useAcoApp");
13
14
  var _useNavigateFolder2 = require("./useNavigateFolder");
14
- var useRecords = exports.useRecords = function useRecords(folderId) {
15
+ var useRecords = exports.useRecords = (0, _appAdmin.makeDecoratable)(function (folderId) {
15
16
  var context = (0, _react.useContext)(_records.SearchRecordsContext);
16
17
  if (!context) {
17
18
  throw new Error("useSearchRecords must be used within a SearchRecordsContext");
@@ -84,6 +85,6 @@ var useRecords = exports.useRecords = function useRecords(folderId) {
84
85
  updateRecordInCache: updateRecordInCache
85
86
  };
86
87
  }, [records, loading, meta, currentFolderId, folderId]);
87
- };
88
+ });
88
89
 
89
90
  //# sourceMappingURL=useRecords.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_dotPropImmutable","_interopRequireDefault","require","_react","_records","_useAcoApp2","_useNavigateFolder2","useRecords","exports","folderId","context","useContext","SearchRecordsContext","Error","_useAcoApp","useAcoApp","folderIdPath","_useNavigateFolder","useNavigateFolder","currentFolderId","records","loading","meta","listRecords","getRecord","createRecord","updateRecord","moveRecord","deleteRecord","addRecordToCache","updateRecordInCache","removeRecordFromCache","useEffect","where","dotPropImmutable","set","useMemo","filter","record","recordFolderId","get","params","_objectSpread2","default","id"],"sources":["useRecords.ts"],"sourcesContent":["import dotPropImmutable from \"dot-prop-immutable\";\nimport { useContext, useEffect, useMemo } from \"react\";\nimport { ListRecordsParams, SearchRecordsContext } from \"~/contexts/records\";\nimport { DeletableSearchRecordItem, MovableSearchRecordItem, SearchRecordItem } from \"~/types\";\nimport { useAcoApp } from \"~/hooks/useAcoApp\";\nimport { useNavigateFolder } from \"~/hooks/useNavigateFolder\";\n\nexport const useRecords = (folderId?: string) => {\n const context = useContext(SearchRecordsContext);\n\n if (!context) {\n throw new Error(\"useSearchRecords must be used within a SearchRecordsContext\");\n }\n\n const { folderIdPath } = useAcoApp();\n\n const { currentFolderId } = useNavigateFolder();\n\n const {\n records,\n loading,\n meta,\n listRecords,\n getRecord,\n createRecord,\n updateRecord,\n moveRecord,\n deleteRecord,\n addRecordToCache,\n updateRecordInCache,\n removeRecordFromCache\n } = context;\n\n useEffect(() => {\n /**\n * On first mount, call `listRecords`, which will either issue a network request, or load links from cache.\n * We don't need to store the result of it to any local state; that is managed by the context provider.\n */\n if (!folderId) {\n return;\n }\n const where = dotPropImmutable.set({}, folderIdPath, folderId);\n listRecords({\n where\n });\n }, [folderId]);\n\n return useMemo(\n () => ({\n /**\n * NOTE: you do NOT need to call `listRecords` from this hook on component mount, because you already have folders in the `listRecords` property.\n * As soon as you call `useRecords()`, you'll initiate fetching of `records`, which is managed by the `SearchRecordContext`.\n * Since this method lists records with pagination, you might need to call it multiple times passing the `after` param.\n */\n loading,\n meta,\n records: records.filter(record => {\n const recordFolderId = dotPropImmutable.get(record, folderIdPath);\n return recordFolderId === folderId || recordFolderId === currentFolderId;\n }),\n listRecords(params: ListRecordsParams) {\n const where = dotPropImmutable.set(params.where || {}, folderIdPath, folderId);\n return listRecords({\n ...params,\n where\n });\n },\n getRecord(id: string) {\n return getRecord(id);\n },\n createRecord(record: Omit<SearchRecordItem, \"id\">) {\n return createRecord(record);\n },\n updateRecord(record: SearchRecordItem) {\n return updateRecord(record, folderId);\n },\n moveRecord(params: MovableSearchRecordItem) {\n return moveRecord(params);\n },\n deleteRecord(record: DeletableSearchRecordItem) {\n return deleteRecord(record);\n },\n addRecordToCache,\n removeRecordFromCache,\n updateRecordInCache\n }),\n [records, loading, meta, currentFolderId, folderId]\n );\n};\n"],"mappings":";;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AAEO,IAAMK,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG,SAAbA,UAAUA,CAAIE,QAAiB,EAAK;EAC7C,IAAMC,OAAO,GAAG,IAAAC,iBAAU,EAACC,6BAAoB,CAAC;EAEhD,IAAI,CAACF,OAAO,EAAE;IACV,MAAM,IAAIG,KAAK,CAAC,6DAA6D,CAAC;EAClF;EAEA,IAAAC,UAAA,GAAyB,IAAAC,qBAAS,EAAC,CAAC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Q,IAAI8B,cAAc,KAAKpB,eAAe;MAC5E,CAAC,CAAC;MACFI,WAAW,WAAAA,YAACkB,MAAyB,EAAE;QACnC,IAAMR,KAAK,GAAGC,yBAAgB,CAACC,GAAG,CAACM,MAAM,CAACR,KAAK,IAAI,CAAC,CAAC,EAAEjB,YAAY,EAAEP,QAAQ,CAAC;QAC9E,OAAOc,YAAW,KAAAmB,cAAA,CAAAC,OAAA,MAAAD,cAAA,CAAAC,OAAA,MACXF,MAAM;UACTR,KAAK,EAALA;QAAK,EACR,CAAC;MACN,CAAC;MACDT,SAAS,WAAAA,UAACoB,EAAU,EAAE;QAClB,OAAOpB,UAAS,CAACoB,EAAE,CAAC;MACxB,CAAC;MACDnB,YAAY,WAAAA,aAACa,MAAoC,EAAE;QAC/C,OAAOb,aAAY,CAACa,MAAM,CAAC;MAC/B,CAAC;MACDZ,YAAY,WAAAA,aAACY,MAAwB,EAAE;QACnC,OAAOZ,aAAY,CAACY,MAAM,EAAE7B,QAAQ,CAAC;MACzC,CAAC;MACDkB,UAAU,WAAAA,WAACc,MAA+B,EAAE;QACxC,OAAOd,WAAU,CAACc,MAAM,CAAC;MAC7B,CAAC;MACDb,YAAY,WAAAA,aAACU,MAAiC,EAAE;QAC5C,OAAOV,aAAY,CAACU,MAAM,CAAC;MAC/B,CAAC;MACDT,gBAAgB,EAAhBA,gBAAgB;MAChBE,qBAAqB,EAArBA,qBAAqB;MACrBD,mBAAmB,EAAnBA;IACJ,CAAC;EAAA,CAAC,EACF,CAACV,OAAO,EAAEC,OAAO,EAAEC,IAAI,EAAEH,eAAe,EAAEV,QAAQ,CACtD,CAAC;AACL,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_dotPropImmutable","_interopRequireDefault","require","_react","_appAdmin","_records","_useAcoApp2","_useNavigateFolder2","useRecords","exports","makeDecoratable","folderId","context","useContext","SearchRecordsContext","Error","_useAcoApp","useAcoApp","folderIdPath","_useNavigateFolder","useNavigateFolder","currentFolderId","records","loading","meta","listRecords","getRecord","createRecord","updateRecord","moveRecord","deleteRecord","addRecordToCache","updateRecordInCache","removeRecordFromCache","useEffect","where","dotPropImmutable","set","useMemo","filter","record","recordFolderId","get","params","_objectSpread2","default","id"],"sources":["useRecords.ts"],"sourcesContent":["import dotPropImmutable from \"dot-prop-immutable\";\nimport { useContext, useEffect, useMemo } from \"react\";\nimport { makeDecoratable } from \"@webiny/app-admin\";\nimport { ListRecordsParams, SearchRecordsContext } from \"~/contexts/records\";\nimport { DeletableSearchRecordItem, MovableSearchRecordItem, SearchRecordItem } from \"~/types\";\nimport { useAcoApp } from \"~/hooks/useAcoApp\";\nimport { useNavigateFolder } from \"~/hooks/useNavigateFolder\";\n\nexport const useRecords = makeDecoratable((folderId?: string) => {\n const context = useContext(SearchRecordsContext);\n\n if (!context) {\n throw new Error(\"useSearchRecords must be used within a SearchRecordsContext\");\n }\n\n const { folderIdPath } = useAcoApp();\n\n const { currentFolderId } = useNavigateFolder();\n\n const {\n records,\n loading,\n meta,\n listRecords,\n getRecord,\n createRecord,\n updateRecord,\n moveRecord,\n deleteRecord,\n addRecordToCache,\n updateRecordInCache,\n removeRecordFromCache\n } = context;\n\n useEffect(() => {\n /**\n * On first mount, call `listRecords`, which will either issue a network request, or load links from cache.\n * We don't need to store the result of it to any local state; that is managed by the context provider.\n */\n if (!folderId) {\n return;\n }\n const where = dotPropImmutable.set({}, folderIdPath, folderId);\n listRecords({\n where\n });\n }, [folderId]);\n\n return useMemo(\n () => ({\n /**\n * NOTE: you do NOT need to call `listRecords` from this hook on component mount, because you already have folders in the `listRecords` property.\n * As soon as you call `useRecords()`, you'll initiate fetching of `records`, which is managed by the `SearchRecordContext`.\n * Since this method lists records with pagination, you might need to call it multiple times passing the `after` param.\n */\n loading,\n meta,\n records: records.filter(record => {\n const recordFolderId = dotPropImmutable.get(record, folderIdPath);\n return recordFolderId === folderId || recordFolderId === currentFolderId;\n }),\n listRecords(params: ListRecordsParams) {\n const where = dotPropImmutable.set(params.where || {}, folderIdPath, folderId);\n return listRecords({\n ...params,\n where\n });\n },\n getRecord(id: string) {\n return getRecord(id);\n },\n createRecord(record: Omit<SearchRecordItem, \"id\">) {\n return createRecord(record);\n },\n updateRecord(record: SearchRecordItem) {\n return updateRecord(record, folderId);\n },\n moveRecord(params: MovableSearchRecordItem) {\n return moveRecord(params);\n },\n deleteRecord(record: DeletableSearchRecordItem) {\n return deleteRecord(record);\n },\n addRecordToCache,\n removeRecordFromCache,\n updateRecordInCache\n }),\n [records, loading, meta, currentFolderId, folderId]\n );\n});\n"],"mappings":";;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,mBAAA,GAAAL,OAAA;AAEO,IAAMM,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG,IAAAE,yBAAe,EAAC,UAACC,QAAiB,EAAK;EAC7D,IAAMC,OAAO,GAAG,IAAAC,iBAAU,EAACC,6BAAoB,CAAC;EAEhD,IAAI,CAACF,OAAO,EAAE;IACV,MAAM,IAAIG,KAAK,CAAC,6DAA6D,CAAC;EAClF;EAEA,IAAAC,UAAA,GAAyB,IAAAC,qBAAS,EAAC,CAAC;IAA5BC,YAAY,GAAAF,UAAA,CAAZE,YAAY;EAEpB,IAAAC,kBAAA,GAA4B,IAAAC,qCAAiB,EAAC,CAAC;IAAvCC,eAAe,GAAAF,kBAAA,CAAfE,eAAe;EAEvB,IACIC,OAAO,GAYPV,OAAO,CAZPU,OAAO;IACPC,OAAO,GAWPX,OAAO,CAXPW,OAAO;IACPC,IAAI,GAUJZ,OAAO,CAVPY,IAAI;IACJC,YAAW,GASXb,OAAO,CATPa,WAAW;IACXC,UAAS,GAQTd,OAAO,CARPc,SAAS;IACTC,aAAY,GAOZf,OAAO,CAPPe,YAAY;IACZC,a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E;QAClB,OAAOpB,UAAS,CAACoB,EAAE,CAAC;MACxB,CAAC;MACDnB,YAAY,WAAAA,aAACa,MAAoC,EAAE;QAC/C,OAAOb,aAAY,CAACa,MAAM,CAAC;MAC/B,CAAC;MACDZ,YAAY,WAAAA,aAACY,MAAwB,EAAE;QACnC,OAAOZ,aAAY,CAACY,MAAM,EAAE7B,QAAQ,CAAC;MACzC,CAAC;MACDkB,UAAU,WAAAA,WAACc,MAA+B,EAAE;QACxC,OAAOd,WAAU,CAACc,MAAM,CAAC;MAC7B,CAAC;MACDb,YAAY,WAAAA,aAACU,MAAiC,EAAE;QAC5C,OAAOV,aAAY,CAACU,MAAM,CAAC;MAC/B,CAAC;MACDT,gBAAgB,EAAhBA,gBAAgB;MAChBE,qBAAqB,EAArBA,qBAAqB;MACrBD,mBAAmB,EAAnBA;IACJ,CAAC;EAAA,CAAC,EACF,CAACV,OAAO,EAAEC,OAAO,EAAEC,IAAI,EAAEH,eAAe,EAAEV,QAAQ,CACtD,CAAC;AACL,CAAC,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/app-aco",
3
- "version": "5.40.0-beta.5",
3
+ "version": "5.40.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,18 +17,18 @@
17
17
  "@material-design-icons/svg": "0.14.13",
18
18
  "@material-symbols/svg-400": "0.4.3",
19
19
  "@minoru/react-dnd-treeview": "3.2.1",
20
- "@webiny/app": "5.40.0-beta.5",
21
- "@webiny/app-admin": "5.40.0-beta.5",
22
- "@webiny/app-headless-cms-common": "5.40.0-beta.5",
23
- "@webiny/app-security": "5.40.0-beta.5",
24
- "@webiny/app-wcp": "5.40.0-beta.5",
25
- "@webiny/form": "5.40.0-beta.5",
26
- "@webiny/plugins": "5.40.0-beta.5",
27
- "@webiny/react-properties": "5.40.0-beta.5",
28
- "@webiny/react-router": "5.40.0-beta.5",
29
- "@webiny/ui": "5.40.0-beta.5",
30
- "@webiny/utils": "5.40.0-beta.5",
31
- "@webiny/validation": "5.40.0-beta.5",
20
+ "@webiny/app": "5.40.0",
21
+ "@webiny/app-admin": "5.40.0",
22
+ "@webiny/app-headless-cms-common": "5.40.0",
23
+ "@webiny/app-security": "5.40.0",
24
+ "@webiny/app-wcp": "5.40.0",
25
+ "@webiny/form": "5.40.0",
26
+ "@webiny/plugins": "5.40.0",
27
+ "@webiny/react-properties": "5.40.0",
28
+ "@webiny/react-router": "5.40.0",
29
+ "@webiny/ui": "5.40.0",
30
+ "@webiny/utils": "5.40.0",
31
+ "@webiny/validation": "5.40.0",
32
32
  "dot-prop-immutable": "2.1.1",
33
33
  "graphql": "15.8.0",
34
34
  "graphql-tag": "2.12.6",
@@ -51,8 +51,8 @@
51
51
  "@babel/preset-typescript": "7.24.1",
52
52
  "@babel/runtime": "7.24.1",
53
53
  "@types/react": "18.2.79",
54
- "@webiny/cli": "5.40.0-beta.5",
55
- "@webiny/project-utils": "5.40.0-beta.5",
54
+ "@webiny/cli": "5.40.0",
55
+ "@webiny/project-utils": "5.40.0",
56
56
  "apollo-client": "2.6.10",
57
57
  "apollo-link": "1.2.14",
58
58
  "rimraf": "5.0.5",
@@ -67,5 +67,5 @@
67
67
  "build": "yarn webiny run build",
68
68
  "watch": "yarn webiny run watch"
69
69
  },
70
- "gitHead": "04482b686c63fdadebd4c6c1db7595af1140cfc7"
70
+ "gitHead": "e6ce53a387a9b1ab39aa8d15e4ed9be2359f17aa"
71
71
  }