ec.fdk 0.5.2 → 0.5.4

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.
@@ -71,27 +71,27 @@ export function sdkOptions(options: SdkFilterOptions): Record<string, string>;
71
71
  /**
72
72
  * Returns the shortID of the given EntryResource
73
73
  *
74
- * @param {EntryResource} entry EntryResource
74
+ * @param {@type {import('./api.mjs').EntryResource}} entry EntryResource
75
75
  * @returns {string}
76
76
  *
77
77
  */
78
- export function getEntryShortID(entry: EntryResource): string;
78
+ export function getEntryShortID(entry: any): string;
79
79
  /**
80
80
  * Returns the env of the given EntryResource
81
81
  *
82
- * @param {EntryResource} entry EntryResource
82
+ * @param {@type {import('./api.mjs').EntryResource}} entry EntryResource
83
83
  * @returns {string}
84
84
  *
85
85
  */
86
- export function getEntryEnv(entry: EntryResource): string;
86
+ export function getEntryEnv(entry: any): string;
87
87
  /**
88
88
  * Returns the embedded asset from the given field name and EntryResource
89
89
  *
90
- * @param {EntryResource} entry EntryResource
91
- * @returns {AssetResource}
90
+ * @param {@type {import('./api.mjs').EntryResource}} entry EntryResource
91
+ * @returns {@type {import('./api.mjs').AssetResource}}
92
92
  *
93
93
  */
94
- export function getEntryAsset(field: any, entry: EntryResource): AssetResource;
94
+ export function getEntryAsset(field: any, entry: any): any;
95
95
  /**
96
96
  * @typedef {Object} SdkFilter
97
97
  * @property {string | string[]} sort
@@ -1 +1 @@
1
- {"version":3,"file":"entries.d.mts","sourceRoot":"","sources":["../../src/lib/entries.mjs"],"names":[],"mappings":"AAiCA,qDAMC;AAED;;;;GAYC;AAED;;;;;;iBAKC;AAED;;;;;;iBAeC;AAED;;;;;;;;iBAkCC;AAED;;;;;;iBAcC;AAED,iEAkBC;AAMD;;;;;gBA4CC;AAED;;;;;;;;;;GAUG;AACH;;;;;;;GAOG;AAEH;;;;;;GAMG;AACH,oCAJW,gBAAgB,GACd,OAAO,MAAM,EAAE,MAAM,CAAC,CAoBlC;AAED;;;;;;GAMG;AACH,uDAHa,MAAM,CAKlB;AACD;;;;;;GAMG;AACH,mDAHa,MAAM,CASlB;AAkBD;;;;;;GAMG;AACH,+EAGC;AAjGD;;;;;;;;;;GAUG;AACH;;;;;;;GAOG;AAEH;;;;;;GAMG;AACH,uCAJW,gBAAgB,GACd,OAAO,MAAM,EAAE,MAAM,CAAC,CAoBlC;AAmCM,4DAAuE;AAEvE,sEAIH;;UAnFU,MAAM,GAAG,MAAM,EAAE;YACjB,MAAM;aACN,OAAO;UACP,OAAO;SACP,OAAO;UACP,MAAM;QACN,MAAM;;;UAKN,SAAS;YACT,MAAM;UACN,MAAM;UACN,OAAO,MAAM,EAAE,SAAS,CAAC,GAAG,MAAM,GAAG,OAAO"}
1
+ {"version":3,"file":"entries.d.mts","sourceRoot":"","sources":["../../src/lib/entries.mjs"],"names":[],"mappings":"AAuCA,qDAMC;AAED;;;;GAYC;AAED;;;;;;iBAKC;AAED;;;;;;iBAeC;AAED;;;;;;;;iBAkCC;AAED;;;;;;iBAcC;AAED,iEAkBC;AAMD;;;;;gBA4CC;AAED;;;;;;;;;;GAUG;AACH;;;;;;;GAOG;AAEH;;;;;;GAMG;AACH,oCAJW,gBAAgB,GACd,OAAO,MAAM,EAAE,MAAM,CAAC,CAoBlC;AAED;;;;;;GAMG;AACH,6CAHa,MAAM,CAKlB;AACD;;;;;;GAMG;AACH,yCAHa,MAAM,CASlB;AAkBD;;;;;;GAMG;AACH,2DAGC;AAjGD;;;;;;;;;;GAUG;AACH;;;;;;;GAOG;AAEH;;;;;;GAMG;AACH,uCAJW,gBAAgB,GACd,OAAO,MAAM,EAAE,MAAM,CAAC,CAoBlC;AAmCM,4DAAuE;AAEvE,sEAIH;;UAnFU,MAAM,GAAG,MAAM,EAAE;YACjB,MAAM;aACN,OAAO;UACP,OAAO;SACP,OAAO;UACP,MAAM;QACN,MAAM;;;UAKN,SAAS;YACT,MAAM;UACN,MAAM;UACN,OAAO,MAAM,EAAE,SAAS,CAAC,GAAG,MAAM,GAAG,OAAO"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ec.fdk",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "ec frontend sdk",
5
5
  "main": "dist/index.cjs",
6
6
  "directories": {