@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1149 → 0.9.0-SNAPSHOT.1153

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.
@@ -17,8 +17,8 @@ export declare namespace org.cru.godtools.shared.tool.parser {
17
17
  }
18
18
  namespace ParserResult {
19
19
  class Data extends org.cru.godtools.shared.tool.parser.ParserResult {
20
- constructor(manifest: any/* org.cru.godtools.shared.tool.parser.model.Manifest */);
21
- get manifest(): any/* org.cru.godtools.shared.tool.parser.model.Manifest */;
20
+ constructor(manifest: org.cru.godtools.shared.tool.parser.model.Manifest);
21
+ get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
22
22
  }
23
23
  class ParserError extends org.cru.godtools.shared.tool.parser.ParserResult {
24
24
  constructor(error?: Nullable<Error>);
@@ -54,6 +54,56 @@ export declare namespace org.cru.godtools.shared.tool.parser {
54
54
  };
55
55
  }
56
56
  }
57
+ export declare namespace org.cru.godtools.shared.tool.parser.model {
58
+ class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
59
+ private constructor();
60
+ get code(): Nullable<string>;
61
+ get locale(): Nullable<Intl.Locale>;
62
+ get type(): org.cru.godtools.shared.tool.parser.model.Manifest.Type;
63
+ get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
64
+ get backgroundImage(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.Resource> */;
65
+ get title(): Nullable<string>;
66
+ get aemImports(): any/* kotlin.collections.List<string> */;
67
+ get categories(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Category> */;
68
+ get _pages(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */;
69
+ set _pages(value: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */);
70
+ get shareables(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.shareable.Shareable> */;
71
+ get relatedFiles(): any/* kotlin.collections.Set<string> */;
72
+ static createTestManifest(config?: org.cru.godtools.shared.tool.parser.ParserConfig, type?: org.cru.godtools.shared.tool.parser.model.Manifest.Type, code?: Nullable<string>, locale?: Nullable<Intl.Locale>, primaryColor?: string, primaryTextColor?: string, navBarColor?: Nullable<string>, navBarControlColor?: Nullable<string>, backgroundColor?: string, cardBackgroundColor?: Nullable<string>, categoryLabelColor?: Nullable<string>, pageControlColor?: string, multiselectOptionSelectedColor?: Nullable<string>, textColor?: string, textScale?: number, resources?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Resource> */>, shareables?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.shareable.Shareable> */>, tips?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */>, pages?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */>): org.cru.godtools.shared.tool.parser.model.Manifest;
73
+ get hasTips(): boolean;
74
+ findPage(id: Nullable<string>): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.page.Page> */;
75
+ get pages(): Array<any/* org.cru.godtools.shared.tool.parser.model.page.Page */>;
76
+ }
77
+ namespace Manifest {
78
+ abstract class Type {
79
+ private constructor();
80
+ static get ARTICLE(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
81
+ get name(): "ARTICLE";
82
+ get ordinal(): 0;
83
+ };
84
+ static get CYOA(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
85
+ get name(): "CYOA";
86
+ get ordinal(): 1;
87
+ };
88
+ static get LESSON(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
89
+ get name(): "LESSON";
90
+ get ordinal(): 2;
91
+ };
92
+ static get TRACT(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
93
+ get name(): "TRACT";
94
+ get ordinal(): 3;
95
+ };
96
+ static get UNKNOWN(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
97
+ get name(): "UNKNOWN";
98
+ get ordinal(): 4;
99
+ };
100
+ static values(): Array<org.cru.godtools.shared.tool.parser.model.Manifest.Type>;
101
+ static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Manifest.Type;
102
+ get name(): "ARTICLE" | "CYOA" | "LESSON" | "TRACT" | "UNKNOWN";
103
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
104
+ }
105
+ }
106
+ }
57
107
  export declare namespace org.cru.godtools.shared.tool.parser.xml {
58
108
  abstract class XmlPullParserFactory {
59
109
  constructor();