@mana-app/types 0.0.5 → 0.0.7

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.
@@ -30,14 +30,17 @@ export type PageLinkLabel = {
30
30
  link: Linkable;
31
31
  };
32
32
  export declare enum SectionStyle {
33
- DEFAULT = 0,
34
- INFO = 1,
35
- GALLERY = 2,
36
- NAVIGATION_LIST = 3,
37
- ITEM_LIST = 4,
38
- PADDED_LIST = 5,
39
- TAG = 6,
40
- STANDARD_GRID = 7
33
+ SimpleSingleRow = 0,
34
+ SimpleDoubleRow = 1,
35
+ SimpleTripleRow = 2,
36
+ SimpleHero = 3,
37
+ SimpleHeroPaged = 4,
38
+ DetailedSingleRowPaged = 5,
39
+ DetailedDoubleRowPaged = 6,
40
+ DetailedTripleRowPaged = 7,
41
+ DetailedVerticalList = 8,
42
+ DetailedVerticalListGrouped = 9,
43
+ Grid = 10
41
44
  }
42
45
  /**
43
46
  * This defines a section within the page, if the `items` property is populated, the `resolvePageSection` will not be called as the section is treated as resolved
@@ -3,12 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SectionStyle = void 0;
4
4
  var SectionStyle;
5
5
  (function (SectionStyle) {
6
- SectionStyle[SectionStyle["DEFAULT"] = 0] = "DEFAULT";
7
- SectionStyle[SectionStyle["INFO"] = 1] = "INFO";
8
- SectionStyle[SectionStyle["GALLERY"] = 2] = "GALLERY";
9
- SectionStyle[SectionStyle["NAVIGATION_LIST"] = 3] = "NAVIGATION_LIST";
10
- SectionStyle[SectionStyle["ITEM_LIST"] = 4] = "ITEM_LIST";
11
- SectionStyle[SectionStyle["PADDED_LIST"] = 5] = "PADDED_LIST";
12
- SectionStyle[SectionStyle["TAG"] = 6] = "TAG";
13
- SectionStyle[SectionStyle["STANDARD_GRID"] = 7] = "STANDARD_GRID";
6
+ SectionStyle[SectionStyle["SimpleSingleRow"] = 0] = "SimpleSingleRow";
7
+ SectionStyle[SectionStyle["SimpleDoubleRow"] = 1] = "SimpleDoubleRow";
8
+ SectionStyle[SectionStyle["SimpleTripleRow"] = 2] = "SimpleTripleRow";
9
+ SectionStyle[SectionStyle["SimpleHero"] = 3] = "SimpleHero";
10
+ SectionStyle[SectionStyle["SimpleHeroPaged"] = 4] = "SimpleHeroPaged";
11
+ SectionStyle[SectionStyle["DetailedSingleRowPaged"] = 5] = "DetailedSingleRowPaged";
12
+ SectionStyle[SectionStyle["DetailedDoubleRowPaged"] = 6] = "DetailedDoubleRowPaged";
13
+ SectionStyle[SectionStyle["DetailedTripleRowPaged"] = 7] = "DetailedTripleRowPaged";
14
+ SectionStyle[SectionStyle["DetailedVerticalList"] = 8] = "DetailedVerticalList";
15
+ SectionStyle[SectionStyle["DetailedVerticalListGrouped"] = 9] = "DetailedVerticalListGrouped";
16
+ SectionStyle[SectionStyle["Grid"] = 10] = "Grid";
14
17
  })(SectionStyle || (exports.SectionStyle = SectionStyle = {}));
package/package.json CHANGED
@@ -1,35 +1,35 @@
1
- {
2
- "name": "@mana-app/types",
3
- "version": "0.0.5",
4
- "main": "dist/index.js",
5
- "types": "dist/index.d.ts",
6
- "scripts": {
7
- "build": "rm -rf ./dist && tsc",
8
- "check:circular": "dpdm ."
9
- },
10
- "devDependencies": {
11
- "@types/node": "^20.11.30",
12
- "@typescript-eslint/eslint-plugin": "^7.3.1",
13
- "dpdm": "^3.14.0",
14
- "eslint": "^8.57.0",
15
- "prettier": "^3.2.5",
16
- "typescript": "^5.4.3"
17
- },
18
- "keywords": [
19
- "mana"
20
- ],
21
- "author": {
22
- "name": "Seyden",
23
- "email": "saiifii@live.de",
24
- "url": "https://github.com/Seyden"
25
- },
26
- "license": "MIT",
27
- "description": "Types & Interfaces for Mana’s JavaScriptCore and WebKit environment.",
28
- "files": [
29
- "/dist"
30
- ],
31
- "repository": {
32
- "type": "git",
33
- "url": "https://github.com/Mana-iOS/types.git"
34
- }
1
+ {
2
+ "name": "@mana-app/types",
3
+ "version": "0.0.7",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "scripts": {
7
+ "build": "rm -rf ./dist && tsc",
8
+ "check:circular": "dpdm ."
9
+ },
10
+ "devDependencies": {
11
+ "@types/node": "^20.11.30",
12
+ "@typescript-eslint/eslint-plugin": "^7.3.1",
13
+ "dpdm": "^3.14.0",
14
+ "eslint": "^8.57.0",
15
+ "prettier": "^3.2.5",
16
+ "typescript": "^5.4.3"
17
+ },
18
+ "keywords": [
19
+ "mana"
20
+ ],
21
+ "author": {
22
+ "name": "Seyden",
23
+ "email": "saiifii@live.de",
24
+ "url": "https://github.com/Seyden"
25
+ },
26
+ "license": "MIT",
27
+ "description": "Types & Interfaces for Mana’s JavaScriptCore and WebKit environment.",
28
+ "files": [
29
+ "/dist"
30
+ ],
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/Mana-iOS/types.git"
34
+ }
35
35
  }