@mana-app/types 0.0.16 → 0.0.17

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.
@@ -69,16 +69,18 @@ export interface AdditionalInfoBase<TType extends AdditionalInfoType = Additiona
69
69
  readonly type: TType;
70
70
  id: string;
71
71
  title: string;
72
+ }
73
+ export interface AdditionalInfoHasMore {
72
74
  hasMore: boolean;
73
75
  }
74
76
  export type AdditionalInfoSection = StaffSection | HighlightsSection | CharactersSection | LinksSection | TagsSection;
75
- export type StaffSection = AdditionalInfoBase<AdditionalInfoType.Staff> & {
77
+ export type StaffSection = AdditionalInfoBase<AdditionalInfoType.Staff> & AdditionalInfoHasMore & {
76
78
  items: StaffItem[];
77
79
  };
78
- export type HighlightsSection = AdditionalInfoBase<AdditionalInfoType.Highlights> & {
80
+ export type HighlightsSection = AdditionalInfoBase<AdditionalInfoType.Highlights> & AdditionalInfoHasMore & {
79
81
  items: SimpleHighlight[];
80
82
  };
81
- export type CharactersSection = AdditionalInfoBase<AdditionalInfoType.Characters> & {
83
+ export type CharactersSection = AdditionalInfoBase<AdditionalInfoType.Characters> & AdditionalInfoHasMore & {
82
84
  items: CharacterItem[];
83
85
  };
84
86
  export type LinksSection = AdditionalInfoBase<AdditionalInfoType.Links> & {
@@ -18,10 +18,10 @@ export type Tag = BaseInteractable & {
18
18
  /**
19
19
  * A boolean indicating the titles marked with this tag contain Adult Content
20
20
  */
21
- nsfw?: boolean;
21
+ isNsfw?: boolean;
22
22
  /**
23
23
  * The URL of an image to display with this tag
24
24
  */
25
25
  image?: string;
26
- noninteractive?: boolean;
26
+ isNonInteractive?: boolean;
27
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mana-app/types",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {