@d-najd/universal-media-tracker-sdk 0.3.2 → 0.3.3

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.
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ export { default as Plugin } from './Plugin';
2
2
  export { default as TriState } from './types/TriState';
3
3
  export { default as PluginSpec } from './types/PluginSpec';
4
4
  export { default as PluginConfig } from './types/PluginConfig';
5
- export { default as NavigatorEntry } from './types/handler/ui/NavigatorEntry';
6
- export { default as Navigator } from './types/handler/ui/Navigator';
5
+ export { default as NavigatorEntry } from './navigator/NavigatorEntry';
6
+ export { default as Navigator } from './navigator/Navigator';
7
7
  export { default as ResourceType } from './types/handler/media/ResourceType';
8
8
  export { default as ResourceHandlerResponse } from './types/handler/media/ResourceHandlerResponse';
9
9
  export { default as ResourceHandlerArgs } from './types/handler/media/ResourceHandlerArgs';
@@ -14,12 +14,6 @@ export { default as HandlerTypes } from './types/handler/base/HandlerTypes';
14
14
  export { default as Handler } from './types/handler/base/Handler';
15
15
  export { default as CreateHandler } from './types/handler/base/CreateHandler';
16
16
  export { default as BaseHandler } from './types/handler/base/BaseHandler';
17
- export { default as PluginSourceHandlerResponse } from './types/handler/plugin/source/PluginSourceHandlerResponse';
18
- export { default as PluginSourceHandlerArgs } from './types/handler/plugin/source/PluginSourceHandlerArgs';
19
- export { default as CreatePluginSourceHandler } from './types/handler/plugin/source/CreatePluginSourceHandler';
20
- export { default as PluginFactoryHandlerResponse } from './types/handler/plugin/factory/PluginFactoryHandlerResponse';
21
- export { default as PluginFactoryHandlerArgs } from './types/handler/plugin/factory/PluginFactoryHandlerArgs';
22
- export { default as CreatePluginFactoryHandler } from './types/handler/plugin/factory/CreatePluginFactoryHandler';
23
17
  export { default as ScreenHandlerResponse } from './types/handler/ui/screen/ScreenHandlerResponse';
24
18
  export { default as ScreenHandlerArgs } from './types/handler/ui/screen/ScreenHandlerArgs';
25
19
  export { default as CreateScreenHandler } from './types/handler/ui/screen/CreateScreenHandler';
@@ -30,3 +24,9 @@ export { default as CatalogHandlerArgs } from './types/handler/media/catalog/Cat
30
24
  export { default as ResourceBrowseOptionDefaults } from './types/handler/media/browse-option/ResourceBrowseOptionDefaults';
31
25
  export { default as ResourceBrowseOptionArgs } from './types/handler/media/browse-option/ResourceBrowseOptionArgs';
32
26
  export { default as ResourceBrowseOption } from './types/handler/media/browse-option/ResourceBrowseOption';
27
+ export { default as PluginSourceHandlerResponse } from './types/handler/plugin/source/PluginSourceHandlerResponse';
28
+ export { default as PluginSourceHandlerArgs } from './types/handler/plugin/source/PluginSourceHandlerArgs';
29
+ export { default as CreatePluginSourceHandler } from './types/handler/plugin/source/CreatePluginSourceHandler';
30
+ export { default as PluginFactoryHandlerResponse } from './types/handler/plugin/factory/PluginFactoryHandlerResponse';
31
+ export { default as PluginFactoryHandlerArgs } from './types/handler/plugin/factory/PluginFactoryHandlerArgs';
32
+ export { default as CreatePluginFactoryHandler } from './types/handler/plugin/factory/CreatePluginFactoryHandler';
@@ -1,4 +1,4 @@
1
- import Navigator from '../Navigator';
1
+ import Navigator from '../../../../navigator/Navigator';
2
2
  import { UseBoundStore, StoreApi } from "zustand";
3
3
  type ScreenHandlerArgs<S = any> = {
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-najd/universal-media-tracker-sdk",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "scripts": {
17
- "build": "node scripts/generate.js && tsc"
17
+ "build": "rimraf dist & node scripts/generate.js && tsc"
18
18
  },
19
19
  "license": "MIT",
20
20
  "type": "module",
@@ -1,2 +0,0 @@
1
- type BaseHandlerArgs = {};
2
- export default BaseHandlerArgs;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- type BaseHandlerResponse<T = any> = {
2
- readonly data: T[];
3
- };
4
- export default BaseHandlerResponse;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- type ResourceExtra = {
2
- readonly name: string;
3
- readonly type: 'string' | 'number' | 'radio' | 'checkbox';
4
- readonly isRequired?: boolean;
5
- };
6
- export default ResourceExtra;
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- declare const browseOptionConverter: {
2
- toArg: () => void;
3
- toType: () => void;
4
- };
5
- export default browseOptionConverter;
@@ -1,7 +0,0 @@
1
- const browseOptionConverter = {
2
- toArg: () => {
3
- },
4
- toType: () => {
5
- }
6
- };
7
- export default browseOptionConverter;
@@ -1 +0,0 @@
1
- "use strict";