@chauvet/connect-base-profiles 2.2.7 → 2.8.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/README.md +4 -11
- package/dist/baseProfiles.d.ts +34 -4
- package/dist/baseProfiles.js +266 -480
- package/package.json +1 -1
- package/src/baseProfiles.ts +309 -492
- package/keys.txt +0 -1
- package/profileIds.txt +0 -1
package/README.md
CHANGED
|
@@ -40,14 +40,7 @@ npm run bump:major
|
|
|
40
40
|
This will automatically update your package.json, create a Git commit, and tag it with the new version.
|
|
41
41
|
|
|
42
42
|
---
|
|
43
|
-
### 3.
|
|
44
|
-
```bash
|
|
45
|
-
git commit -m
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
### 4. Push Your Changes and Tags
|
|
43
|
+
### 3. Push Your Changes and Tags
|
|
51
44
|
If the version command didn’t automatically push your commit and tag, do so now:
|
|
52
45
|
|
|
53
46
|
```bash
|
|
@@ -55,7 +48,7 @@ git push
|
|
|
55
48
|
```
|
|
56
49
|
|
|
57
50
|
---
|
|
58
|
-
###
|
|
51
|
+
### 4. Publish to npm
|
|
59
52
|
Finally, publish your changes. If your package is scoped and intended to be publicly available, use:
|
|
60
53
|
|
|
61
54
|
```bash
|
|
@@ -63,7 +56,7 @@ npm run package
|
|
|
63
56
|
```
|
|
64
57
|
|
|
65
58
|
---
|
|
66
|
-
###
|
|
59
|
+
### 5. Verify
|
|
67
60
|
Check the published version on npm:
|
|
68
61
|
|
|
69
62
|
```bash
|
|
@@ -73,7 +66,7 @@ npm info @chauvet/connect-base-profiles
|
|
|
73
66
|
You should see the newly published version in the output. If everything looks good, your updated package is now available for others to install.
|
|
74
67
|
|
|
75
68
|
---
|
|
76
|
-
###
|
|
69
|
+
### 6. update the package where it is being used
|
|
77
70
|
|
|
78
71
|
```bash
|
|
79
72
|
npm run update-base-profiles
|
package/dist/baseProfiles.d.ts
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
export interface AutoProgram {
|
|
2
|
+
location: number;
|
|
3
|
+
label: string;
|
|
4
|
+
altLabel?: string;
|
|
5
|
+
defaultValue?: number;
|
|
6
|
+
altDefaultValue?: number;
|
|
7
|
+
values?: {
|
|
8
|
+
item: string;
|
|
9
|
+
value?: number;
|
|
10
|
+
}[];
|
|
11
|
+
range?: {
|
|
12
|
+
start: number;
|
|
13
|
+
end: number;
|
|
14
|
+
};
|
|
15
|
+
altRange?: {
|
|
16
|
+
start: number;
|
|
17
|
+
end: number;
|
|
18
|
+
};
|
|
19
|
+
condition?: {
|
|
20
|
+
location: number;
|
|
21
|
+
minValue?: number;
|
|
22
|
+
maxValue?: number;
|
|
23
|
+
start?: number;
|
|
24
|
+
end?: number;
|
|
25
|
+
};
|
|
26
|
+
altCondition?: {
|
|
27
|
+
location: number;
|
|
28
|
+
minValue?: number;
|
|
29
|
+
maxValue?: number;
|
|
30
|
+
start?: number;
|
|
31
|
+
end?: number;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
1
34
|
export interface BaseProfile {
|
|
2
35
|
profileId: number;
|
|
3
36
|
channels: number;
|
|
@@ -12,12 +45,9 @@ export interface BaseProfile {
|
|
|
12
45
|
uvLocation: number;
|
|
13
46
|
dimmerLocation: number;
|
|
14
47
|
fineDimmerLocation: number;
|
|
15
|
-
dimmerSpeedMode?: any;
|
|
16
48
|
strobeLocation: number;
|
|
17
49
|
whiteMacros: Record<string, number> | null;
|
|
18
|
-
autoPrograms:
|
|
19
|
-
effectMacro?: any;
|
|
20
|
-
dimmerSpeedMacro?: any;
|
|
50
|
+
autoPrograms: AutoProgram[] | null;
|
|
21
51
|
name: string;
|
|
22
52
|
}
|
|
23
53
|
declare const baseProfiles: Record<number, BaseProfile>;
|