@opfr/utils-type 0.0.0 → 0.1.0
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/characteristics/constants.d.ts +2 -0
- package/dist/characteristics/constants.d.ts.map +1 -0
- package/dist/characteristics/constants.js +9 -0
- package/dist/characteristics/constants.js.map +1 -0
- package/dist/characteristics/index.d.ts +3 -0
- package/dist/characteristics/index.d.ts.map +1 -0
- package/dist/characteristics/index.js +2 -0
- package/dist/characteristics/index.js.map +1 -0
- package/dist/characteristics/types.d.ts +4 -0
- package/dist/characteristics/types.d.ts.map +1 -0
- package/dist/characteristics/types.js +2 -0
- package/dist/characteristics/types.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +11 -3
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/characteristics/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,kFAOlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/characteristics/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,UAAU;IACV,UAAU;IACV,SAAS;IACT,cAAc;IACd,QAAQ;IACR,QAAQ;CACA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/characteristics/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,SAAS,CAAC;AAC7B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/characteristics/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/characteristics/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9D,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/characteristics/types.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC"}
|
package/dist/index.es.js
CHANGED
|
@@ -4,14 +4,22 @@ const o = [
|
|
|
4
4
|
"Gold",
|
|
5
5
|
"Platinum",
|
|
6
6
|
"Diamond"
|
|
7
|
-
],
|
|
7
|
+
], t = {
|
|
8
8
|
Bronze: { color: "#813D31", strength: 1, id: "Bronze" },
|
|
9
9
|
Silver: { color: "#5B6870", strength: 2, id: "Silver" },
|
|
10
10
|
Gold: { color: "#C46619", strength: 3, id: "Gold" },
|
|
11
11
|
Platinum: { color: "#88A3CB", strength: 4, id: "Platinum" },
|
|
12
12
|
Diamond: { color: "#F6bF62", strength: 5, id: "Diamond" }
|
|
13
|
-
}
|
|
13
|
+
}, i = [
|
|
14
|
+
"vitality",
|
|
15
|
+
"strength",
|
|
16
|
+
"agility",
|
|
17
|
+
"intelligence",
|
|
18
|
+
"chance",
|
|
19
|
+
"wisdom"
|
|
20
|
+
];
|
|
14
21
|
export {
|
|
15
|
-
|
|
22
|
+
i as CHARACTERISTICS,
|
|
23
|
+
t as RANKS,
|
|
16
24
|
o as RANK_IDS
|
|
17
25
|
};
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC"}
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,
|
|
1
|
+
(function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.utils={}))})(this,function(e){"use strict";const i=["Bronze","Silver","Gold","Platinum","Diamond"],n={Bronze:{color:"#813D31",strength:1,id:"Bronze"},Silver:{color:"#5B6870",strength:2,id:"Silver"},Gold:{color:"#C46619",strength:3,id:"Gold"},Platinum:{color:"#88A3CB",strength:4,id:"Platinum"},Diamond:{color:"#F6bF62",strength:5,id:"Diamond"}},t=["vitality","strength","agility","intelligence","chance","wisdom"];e.CHARACTERISTICS=t,e.RANKS=n,e.RANK_IDS=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opfr/utils-type",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OPFR utils-type",
|
|
6
6
|
"author": "Matthieu VEIGA",
|
|
@@ -29,5 +29,6 @@
|
|
|
29
29
|
"eslintIgnore": [
|
|
30
30
|
"node_modules",
|
|
31
31
|
"dist"
|
|
32
|
-
]
|
|
32
|
+
],
|
|
33
|
+
"gitHead": "4791181e365e6da6515343437a8cbba1daa945c9"
|
|
33
34
|
}
|