@dicebear/croodles 4.8.5 → 4.10.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.
File without changes
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file was automatically generated by json-schema-to-typescript.
3
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
+ * and run json-schema-to-typescript to regenerate this file.
5
+ */
6
+ export declare type Face = ("variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
7
+ export declare type Nose = ("variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
8
+ export declare type Beard = ("variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
9
+ export declare type BeardProbability = number;
10
+ export declare type Mouth = ("variant18" | "variant17" | "variant16" | "variant15" | "variant14" | "variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
11
+ export declare type Top = ("variant30" | "variant29" | "variant28" | "variant27" | "variant26" | "variant25" | "variant24" | "variant23" | "variant22" | "variant21" | "variant20" | "variant19" | "variant18" | "variant17" | "variant16" | "variant15" | "variant14" | "variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
12
+ export declare type Mustache = ("variant04" | "variant03" | "variant02" | "variant01")[];
13
+ export declare type MustacheProbability = number;
14
+ export declare type Eyes = ("variant16" | "variant15" | "variant14" | "variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
15
+ export declare type TopColor = (("yellow" | "purple" | "red" | "blue" | "green" | "black") | string)[];
16
+ export declare type BaseColor = (("transparent" | "white") | string)[];
17
+ export interface Options {
18
+ face?: Face;
19
+ nose?: Nose;
20
+ beard?: Beard;
21
+ beardProbability?: BeardProbability;
22
+ mouth?: Mouth;
23
+ top?: Top;
24
+ mustache?: Mustache;
25
+ mustacheProbability?: MustacheProbability;
26
+ eyes?: Eyes;
27
+ topColor?: TopColor;
28
+ baseColor?: BaseColor;
29
+ }
@@ -0,0 +1,16 @@
1
+ export declare type ColorGroup = Record<string, ColorGroupItem>;
2
+ export declare type ColorGroupCollection = Record<string, ColorGroup>;
3
+ export declare type ColorGroupItem = string;
4
+ export declare type ColorPickCollection = Record<string, ColorPick>;
5
+ export declare type ColorPick = {
6
+ name: string;
7
+ value: ColorGroupItem;
8
+ };
9
+ export declare type ComponentGroup = Record<string, ComponentGroupItem>;
10
+ export declare type ComponentGroupCollection = Record<string, ComponentGroup>;
11
+ export declare type ComponentGroupItem = (components: ComponentPickCollection, colors: ColorPickCollection) => string;
12
+ export declare type ComponentPickCollection = Record<string, ComponentPick>;
13
+ export declare type ComponentPick = {
14
+ name: string;
15
+ value: ComponentGroupItem;
16
+ } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dicebear/croodles",
3
- "version": "4.8.5",
3
+ "version": "4.10.0",
4
4
  "description": "Avatar style for DiceBear",
5
5
  "keywords": [
6
6
  "dicebear"
@@ -29,11 +29,11 @@
29
29
  "build": "dicebear-project build DiceBear.Croodles"
30
30
  },
31
31
  "devDependencies": {
32
- "@dicebear/avatars": "^4.8.5",
33
- "@tsconfig/node12": "^1.0.7",
32
+ "@dicebear/avatars": "^4.10.0",
33
+ "@tsconfig/recommended": "^1.0.0",
34
34
  "@types/jest": "^26.0.22",
35
35
  "@types/node": "^10.11.6",
36
- "dicebear-project": "^4.8.5",
36
+ "dicebear-project": "^4.10.0",
37
37
  "jest": "^26.6.3",
38
38
  "ts-jest": "^26.5.4",
39
39
  "typescript": "^4.2.3",
@@ -42,5 +42,5 @@
42
42
  "peerDependencies": {
43
43
  "@dicebear/avatars": "^4.6.0"
44
44
  },
45
- "gitHead": "acef4d2464ccda86cc8acd2324e1420c0bb04af4"
45
+ "gitHead": "0730db32500de743b65f569ccfc07016cd05851d"
46
46
  }