@mana-app/types 0.0.17 → 0.0.18

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,4 +1,4 @@
1
- import { Content, Chapter, ChapterData, SourceInfo, Property, AdditionalInfoSectionItem } from "../../types";
1
+ import { Content, Chapter, ChapterData, SourceInfo, AdditionalInfoSectionItem } from "../../types";
2
2
  import { DirectoryHandler, ManaSource } from "../Source";
3
3
  export type SourceConfig = {
4
4
  /**
@@ -40,10 +40,6 @@ export interface ContentSource extends SourceCore, DirectoryHandler {
40
40
  */
41
41
  getChapters?(contentId: string): Promise<Chapter[]>;
42
42
  getChapterData(contentId: string, chapterId: string, chapter?: Chapter): Promise<ChapterData>;
43
- /**
44
- * Called to get tags available on the source
45
- */
46
- getTags?(): Promise<Property[]>;
47
43
  /**
48
44
  * Called to get additional info section items for a content
49
45
  */
@@ -8,12 +8,6 @@ export type BaseInteractable = {
8
8
  */
9
9
  title: string;
10
10
  };
11
- export type Property = BaseInteractable & {
12
- /**
13
- * The List of Tags available under this property.
14
- */
15
- tags: Tag[];
16
- };
17
11
  export type Tag = BaseInteractable & {
18
12
  /**
19
13
  * A boolean indicating the titles marked with this tag contain Adult Content
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mana-app/types",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {