@deessejs/collections 0.0.21 → 0.0.22

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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defineConfig = void 0;
4
4
  const defineConfig = (config) => {
5
+ config.provider.init();
5
6
  const db = {};
6
7
  for (const col of config.collections) {
7
8
  db[col.slug] = {
@@ -2,6 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.inAppProvider = void 0;
4
4
  const inAppProvider = () => {
5
- return {};
5
+ return {
6
+ init: () => {
7
+ console.log("Initializing in-app provider");
8
+ }
9
+ };
6
10
  };
7
11
  exports.inAppProvider = inAppProvider;
@@ -1 +1,3 @@
1
- export type Provider = {};
1
+ export type Provider = {
2
+ init: () => void;
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deessejs/collections",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",