@nodaro/prompts 1.38.0 → 1.40.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/chunk-2EW5B7ZV.cjs +86 -0
- package/dist/chunk-2EW5B7ZV.cjs.map +1 -0
- package/dist/chunk-2P26SZX5.cjs +414 -0
- package/dist/chunk-2P26SZX5.cjs.map +1 -0
- package/dist/{chunk-7XKHDXCL.cjs → chunk-3U7X6JZN.cjs} +13 -12
- package/dist/chunk-3U7X6JZN.cjs.map +1 -0
- package/dist/chunk-4GKTOVFM.cjs +8 -0
- package/dist/chunk-4GKTOVFM.cjs.map +1 -0
- package/dist/{chunk-HRBBNODV.js → chunk-6GVFJLDL.js} +4 -3
- package/dist/chunk-6GVFJLDL.js.map +1 -0
- package/dist/{chunk-LVSH7K7R.cjs → chunk-C3NHNECH.cjs} +165 -88
- package/dist/chunk-C3NHNECH.cjs.map +1 -0
- package/dist/{chunk-CEPVQQVO.js → chunk-C46256GZ.js} +43 -5
- package/dist/chunk-C46256GZ.js.map +1 -0
- package/dist/{chunk-JKCR6WRZ.cjs → chunk-DQFQJECU.cjs} +43 -5
- package/dist/chunk-DQFQJECU.cjs.map +1 -0
- package/dist/{chunk-QDEWBBUR.js → chunk-DUXX6CBX.js} +12 -143
- package/dist/chunk-DUXX6CBX.js.map +1 -0
- package/dist/chunk-EAYEZXWT.js +388 -0
- package/dist/chunk-EAYEZXWT.js.map +1 -0
- package/dist/chunk-GILUVQQJ.js +6 -0
- package/dist/chunk-GILUVQQJ.js.map +1 -0
- package/dist/{chunk-KIYNOOPJ.js → chunk-GTDKDD7Y.js} +12 -6
- package/dist/chunk-GTDKDD7Y.js.map +1 -0
- package/dist/{chunk-QBEZMR2F.js → chunk-HQTHDTHN.js} +137 -62
- package/dist/chunk-HQTHDTHN.js.map +1 -0
- package/dist/{chunk-TLVX5PXD.cjs → chunk-IUCNJAHW.cjs} +13 -7
- package/dist/chunk-IUCNJAHW.cjs.map +1 -0
- package/dist/{chunk-ZFIXQRBZ.cjs → chunk-LXPKTI2K.cjs} +12 -83
- package/dist/chunk-LXPKTI2K.cjs.map +1 -0
- package/dist/{chunk-CVPB2N3Z.cjs → chunk-LZ53F5BN.cjs} +103 -5
- package/dist/chunk-LZ53F5BN.cjs.map +1 -0
- package/dist/{chunk-4FDNVNJE.js → chunk-N6VMPG5S.js} +12 -79
- package/dist/chunk-N6VMPG5S.js.map +1 -0
- package/dist/{chunk-LK2CZK5U.cjs → chunk-PWWM7Q3T.cjs} +7 -7
- package/dist/{chunk-LK2CZK5U.cjs.map → chunk-PWWM7Q3T.cjs.map} +1 -1
- package/dist/{chunk-N7TOWXDJ.js → chunk-QDUTMOF4.js} +3 -3
- package/dist/{chunk-N7TOWXDJ.js.map → chunk-QDUTMOF4.js.map} +1 -1
- package/dist/{chunk-NO6XHX4R.js → chunk-RB2F5JQF.js} +100 -7
- package/dist/chunk-RB2F5JQF.js.map +1 -0
- package/dist/{chunk-MENBHEAY.cjs → chunk-WRM52ZBN.cjs} +19 -161
- package/dist/chunk-WRM52ZBN.cjs.map +1 -0
- package/dist/chunk-YS6HOWMW.js +80 -0
- package/dist/chunk-YS6HOWMW.js.map +1 -0
- package/dist/entries/assembly.cjs +34 -25
- package/dist/entries/assembly.d.cts +121 -37
- package/dist/entries/assembly.d.ts +121 -37
- package/dist/entries/assembly.js +5 -4
- package/dist/entries/doctrine.cjs +46 -46
- package/dist/entries/doctrine.d.cts +3 -3
- package/dist/entries/doctrine.d.ts +3 -3
- package/dist/entries/doctrine.js +1 -1
- package/dist/entries/picker-catalogs.cjs +42 -42
- package/dist/entries/picker-catalogs.js +3 -3
- package/dist/entries/presets.cjs +49 -26
- package/dist/entries/presets.d.cts +53 -1
- package/dist/entries/presets.d.ts +53 -1
- package/dist/entries/presets.js +4 -1
- package/dist/entries/prompt-builder.cjs +135 -98
- package/dist/entries/prompt-builder.d.cts +22 -11
- package/dist/entries/prompt-builder.d.ts +22 -11
- package/dist/entries/prompt-builder.js +4 -3
- package/dist/entries/prompt-fields.cjs +41 -40
- package/dist/entries/prompt-fields.d.cts +2 -1
- package/dist/entries/prompt-fields.d.ts +2 -1
- package/dist/entries/prompt-fields.js +2 -1
- package/dist/index.cjs +339 -273
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -9
- package/dist/{subject-registry-BUswuEVD.d.cts → subject-registry-CQi_CZfJ.d.cts} +78 -9
- package/dist/{subject-registry-D7V8PEG-.d.ts → subject-registry-DFiGx49v.d.ts} +78 -9
- package/package.json +2 -2
- package/src/__tests__/assemble-image-input-style-references.test.ts +173 -0
- package/src/__tests__/catalog-id-guard.test.ts +30 -0
- package/src/__tests__/factory-preset-previews.test.ts +123 -0
- package/src/__tests__/factory-preset-references.test.ts +222 -0
- package/src/__tests__/factory-presets-prototype-keys.test.ts +43 -0
- package/src/__tests__/frame-reference-slots.test.ts +43 -0
- package/src/__tests__/gemini-omni-inputs.test.ts +12 -10
- package/src/__tests__/provider-prompt-doctrine.test.ts +14 -0
- package/src/__tests__/user-direction-refs.test.ts +180 -0
- package/src/__tests__/veo-i2v-inputs.test.ts +16 -11
- package/src/assemble-image-input.ts +114 -13
- package/src/catalog-id-guard.ts +18 -2
- package/src/color-names.ts +192 -0
- package/src/direction-registry.ts +66 -5
- package/src/entries/assembly.ts +1 -0
- package/src/entries/prompt-builder.ts +2 -0
- package/src/factory-presets/generate-image.ts +29 -0
- package/src/factory-presets/index.ts +6 -1
- package/src/factory-presets/preview-files.generated.ts +4 -0
- package/src/factory-presets/previews.ts +40 -0
- package/src/factory-presets/references.ts +81 -0
- package/src/factory-presets/shared-image.ts +4 -0
- package/src/factory-presets/types.ts +8 -0
- package/src/frame-reference-slots.ts +92 -0
- package/src/gemini-omni-inputs.ts +23 -22
- package/src/image-reference-doctrine.ts +3 -3
- package/src/image-token-pattern.ts +13 -0
- package/src/node-prompt-fields.ts +5 -3
- package/src/own-entry.ts +11 -0
- package/src/prompt-builder.ts +4 -5
- package/src/prompt-style-section.ts +3 -3
- package/src/prompt-wizard-categories.ts +2 -0
- package/src/provider-prompt-doctrine.ts +45 -3
- package/src/ref-binding.ts +28 -3
- package/src/resolve-prompt.ts +2 -1
- package/src/seedance-2-inputs.ts +15 -40
- package/src/user-direction-refs.ts +110 -0
- package/src/veo-i2v-inputs.ts +24 -17
- package/src/video-reference-resolver.ts +1 -1
- package/dist/chunk-4FDNVNJE.js.map +0 -1
- package/dist/chunk-7XKHDXCL.cjs.map +0 -1
- package/dist/chunk-CEPVQQVO.js.map +0 -1
- package/dist/chunk-CVPB2N3Z.cjs.map +0 -1
- package/dist/chunk-HRBBNODV.js.map +0 -1
- package/dist/chunk-JKCR6WRZ.cjs.map +0 -1
- package/dist/chunk-KIYNOOPJ.js.map +0 -1
- package/dist/chunk-LVSH7K7R.cjs.map +0 -1
- package/dist/chunk-MENBHEAY.cjs.map +0 -1
- package/dist/chunk-NO6XHX4R.js.map +0 -1
- package/dist/chunk-QBEZMR2F.js.map +0 -1
- package/dist/chunk-QDEWBBUR.js.map +0 -1
- package/dist/chunk-TLVX5PXD.cjs.map +0 -1
- package/dist/chunk-UJKFHPZ7.js +0 -37
- package/dist/chunk-UJKFHPZ7.js.map +0 -1
- package/dist/chunk-W5SCZIOB.cjs +0 -43
- package/dist/chunk-W5SCZIOB.cjs.map +0 -1
- package/dist/chunk-ZFIXQRBZ.cjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkIUCNJAHW_cjs = require('../chunk-IUCNJAHW.cjs');
|
|
4
|
+
var chunkPWWM7Q3T_cjs = require('../chunk-PWWM7Q3T.cjs');
|
|
5
|
+
var chunk2P26SZX5_cjs = require('../chunk-2P26SZX5.cjs');
|
|
6
6
|
var chunkMQEXFCNU_cjs = require('../chunk-MQEXFCNU.cjs');
|
|
7
7
|
require('../chunk-3UEA3UHQ.cjs');
|
|
8
8
|
var chunkK6NT635Z_cjs = require('../chunk-K6NT635Z.cjs');
|
|
@@ -14,159 +14,159 @@ require('../chunk-Q7SFCCGT.cjs');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "ALL_PICKER_WIRING", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIUCNJAHW_cjs.ALL_PICKER_WIRING; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ANALYZABLE_PICKER_TYPES", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkIUCNJAHW_cjs.ANALYZABLE_PICKER_TYPES; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "GAPS_SCHEMA", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkIUCNJAHW_cjs.GAPS_SCHEMA; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "MULTI_PICKER_WIRING", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkIUCNJAHW_cjs.MULTI_PICKER_WIRING; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "PICKER_ANALYZER_FAMILIES", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkIUCNJAHW_cjs.PICKER_ANALYZER_FAMILIES; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "PICKER_ANALYZER_REGISTRY", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkIUCNJAHW_cjs.PICKER_ANALYZER_REGISTRY; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "PICKER_TYPES", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkIUCNJAHW_cjs.PICKER_TYPES; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "SINGLE_PICKER_WIRING", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkIUCNJAHW_cjs.SINGLE_PICKER_WIRING; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "__resetCatalogIdGuardForTests", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkIUCNJAHW_cjs.__resetCatalogIdGuardForTests; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "applyPickerJson", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkIUCNJAHW_cjs.applyPickerJson; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "buildMultiPickerAnalyzerSpec", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkIUCNJAHW_cjs.buildMultiPickerAnalyzerSpec; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "buildPickerAnalyzerSpec", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkIUCNJAHW_cjs.buildPickerAnalyzerSpec; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "buildPickerLegend", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkIUCNJAHW_cjs.buildPickerLegend; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "buildPickerZodSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkIUCNJAHW_cjs.buildPickerZodSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "catalogGuardActive", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkIUCNJAHW_cjs.catalogGuardActive; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "findForeignCatalogIds", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkIUCNJAHW_cjs.findForeignCatalogIds; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "findForeignCatalogIdsInBody", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkIUCNJAHW_cjs.findForeignCatalogIdsInBody; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "foreignCatalogIdMessage", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkIUCNJAHW_cjs.foreignCatalogIdMessage; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "getPickerAnalyzer", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkIUCNJAHW_cjs.getPickerAnalyzer; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "getPickerWiring", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkIUCNJAHW_cjs.getPickerWiring; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "isAnalyzablePicker", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkIUCNJAHW_cjs.isAnalyzablePicker; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "pickerFanoutTargets", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkIUCNJAHW_cjs.pickerFanoutTargets; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "ADULT_SWEPT_CATALOG_IDS", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkPWWM7Q3T_cjs.ADULT_SWEPT_CATALOG_IDS; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "FLOORED_PICKER_KEYS", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkPWWM7Q3T_cjs.FLOORED_PICKER_KEYS; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "RETIRED_ADULT_ONLY_HINT_STRINGS", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkPWWM7Q3T_cjs.RETIRED_ADULT_ONLY_HINT_STRINGS; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "applyMinorAgeFloorToPickerValues", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkPWWM7Q3T_cjs.applyMinorAgeFloorToPickerValues; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "buildNeedleAlternationSource", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkPWWM7Q3T_cjs.buildNeedleAlternationSource; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "containsMinorAgeHint", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkPWWM7Q3T_cjs.containsMinorAgeHint; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "getAdultOnlyEntries", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkPWWM7Q3T_cjs.getAdultOnlyEntries; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "getAdultOnlyHintStrings", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkPWWM7Q3T_cjs.getAdultOnlyHintStrings; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "getAdultOnlyIds", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkPWWM7Q3T_cjs.getAdultOnlyIds; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "getCharacterMotionBindings", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkPWWM7Q3T_cjs.getCharacterMotionBindings; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "getMinorAgeHintStrings", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkPWWM7Q3T_cjs.getMinorAgeHintStrings; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "getParameterPromptHint", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkPWWM7Q3T_cjs.getParameterPromptHint; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "curatedAnimalPromptHint", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunk2P26SZX5_cjs.curatedAnimalPromptHint; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "curatedAnimalTerm", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunk2P26SZX5_cjs.curatedAnimalTerm; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "curatedFurnitureText", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunk2P26SZX5_cjs.curatedFurnitureText; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "curatedVehicleText", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunk2P26SZX5_cjs.curatedVehicleText; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "curatedWeaponText", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunk2P26SZX5_cjs.curatedWeaponText; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "PICKER_CATALOGS", {
|
|
172
172
|
enumerable: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ALL_PICKER_WIRING, ANALYZABLE_PICKER_TYPES, GAPS_SCHEMA, MULTI_PICKER_WIRING, PICKER_ANALYZER_FAMILIES, PICKER_ANALYZER_REGISTRY, PICKER_TYPES, SINGLE_PICKER_WIRING, __resetCatalogIdGuardForTests, applyPickerJson, buildMultiPickerAnalyzerSpec, buildPickerAnalyzerSpec, buildPickerLegend, buildPickerZodSchema, catalogGuardActive, findForeignCatalogIds, findForeignCatalogIdsInBody, foreignCatalogIdMessage, getPickerAnalyzer, getPickerWiring, isAnalyzablePicker, pickerFanoutTargets } from '../chunk-
|
|
2
|
-
export { ADULT_SWEPT_CATALOG_IDS, FLOORED_PICKER_KEYS, RETIRED_ADULT_ONLY_HINT_STRINGS, applyMinorAgeFloorToPickerValues, buildNeedleAlternationSource, containsMinorAgeHint, getAdultOnlyEntries, getAdultOnlyHintStrings, getAdultOnlyIds, getCharacterMotionBindings, getMinorAgeHintStrings, getParameterPromptHint } from '../chunk-
|
|
3
|
-
export { curatedAnimalPromptHint, curatedAnimalTerm, curatedFurnitureText, curatedVehicleText, curatedWeaponText } from '../chunk-
|
|
1
|
+
export { ALL_PICKER_WIRING, ANALYZABLE_PICKER_TYPES, GAPS_SCHEMA, MULTI_PICKER_WIRING, PICKER_ANALYZER_FAMILIES, PICKER_ANALYZER_REGISTRY, PICKER_TYPES, SINGLE_PICKER_WIRING, __resetCatalogIdGuardForTests, applyPickerJson, buildMultiPickerAnalyzerSpec, buildPickerAnalyzerSpec, buildPickerLegend, buildPickerZodSchema, catalogGuardActive, findForeignCatalogIds, findForeignCatalogIdsInBody, foreignCatalogIdMessage, getPickerAnalyzer, getPickerWiring, isAnalyzablePicker, pickerFanoutTargets } from '../chunk-GTDKDD7Y.js';
|
|
2
|
+
export { ADULT_SWEPT_CATALOG_IDS, FLOORED_PICKER_KEYS, RETIRED_ADULT_ONLY_HINT_STRINGS, applyMinorAgeFloorToPickerValues, buildNeedleAlternationSource, containsMinorAgeHint, getAdultOnlyEntries, getAdultOnlyHintStrings, getAdultOnlyIds, getCharacterMotionBindings, getMinorAgeHintStrings, getParameterPromptHint } from '../chunk-QDUTMOF4.js';
|
|
3
|
+
export { curatedAnimalPromptHint, curatedAnimalTerm, curatedFurnitureText, curatedVehicleText, curatedWeaponText } from '../chunk-EAYEZXWT.js';
|
|
4
4
|
export { PICKER_CATALOGS, composedHas, composedOption, composedOptionIndex, curateEntries, getPickerCatalog, getRegisteredPickerCatalogs, listPickerCatalogs, overlayEntry, projectAllCatalogs, projectPickerCatalog, setComposedCatalogResolver, summarizePickerCatalogs } from '../chunk-SXXW4LCR.js';
|
|
5
5
|
import '../chunk-DVP6ILDR.js';
|
|
6
6
|
export { ADULT_AGE_IDS, ADULT_ONLY_FLAG, MINOR_IMPLYING_TYPE_IDS, isMinorAge } from '../chunk-TDZFXOTE.js';
|
package/dist/entries/presets.cjs
CHANGED
|
@@ -1,110 +1,133 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLZ53F5BN_cjs = require('../chunk-LZ53F5BN.cjs');
|
|
4
|
+
require('../chunk-LXPKTI2K.cjs');
|
|
5
|
+
require('../chunk-4GKTOVFM.cjs');
|
|
4
6
|
require('../chunk-NAFD6MGH.cjs');
|
|
7
|
+
require('../chunk-3UEA3UHQ.cjs');
|
|
5
8
|
require('../chunk-Q7SFCCGT.cjs');
|
|
6
9
|
|
|
7
10
|
|
|
8
11
|
|
|
9
12
|
Object.defineProperty(exports, "BODY_CAPTIONS_PRESET_ID", {
|
|
10
13
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkLZ53F5BN_cjs.BODY_CAPTIONS_PRESET_ID; }
|
|
12
15
|
});
|
|
13
16
|
Object.defineProperty(exports, "BRAND_PRESETS", {
|
|
14
17
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkLZ53F5BN_cjs.BRAND_PRESETS; }
|
|
16
19
|
});
|
|
17
20
|
Object.defineProperty(exports, "BRAND_PRESET_IDS", {
|
|
18
21
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkLZ53F5BN_cjs.BRAND_PRESET_IDS; }
|
|
20
23
|
});
|
|
21
24
|
Object.defineProperty(exports, "BRAND_PRESET_META", {
|
|
22
25
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkLZ53F5BN_cjs.BRAND_PRESET_META; }
|
|
24
27
|
});
|
|
25
28
|
Object.defineProperty(exports, "CAPTION_LEVERS_BY_LANGUAGE", {
|
|
26
29
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkLZ53F5BN_cjs.CAPTION_LEVERS_BY_LANGUAGE; }
|
|
28
31
|
});
|
|
29
32
|
Object.defineProperty(exports, "CAPTION_SEGMENT_LEVER_KEYS", {
|
|
30
33
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkLZ53F5BN_cjs.CAPTION_SEGMENT_LEVER_KEYS; }
|
|
32
35
|
});
|
|
33
36
|
Object.defineProperty(exports, "FACTORY_PRESETS", {
|
|
34
37
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkLZ53F5BN_cjs.FACTORY_PRESETS; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "FACTORY_PRESET_PREVIEW_FILES", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkLZ53F5BN_cjs.FACTORY_PRESET_PREVIEW_FILES; }
|
|
36
43
|
});
|
|
37
44
|
Object.defineProperty(exports, "FACTORY_SNIPPETS", {
|
|
38
45
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkLZ53F5BN_cjs.FACTORY_SNIPPETS; }
|
|
40
47
|
});
|
|
41
48
|
Object.defineProperty(exports, "HOOK_PLATE_PRESET_ID", {
|
|
42
49
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkLZ53F5BN_cjs.HOOK_PLATE_PRESET_ID; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "MAX_PRESET_REFERENCES", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkLZ53F5BN_cjs.MAX_PRESET_REFERENCES; }
|
|
44
55
|
});
|
|
45
56
|
Object.defineProperty(exports, "OBJECT_ANGLE_PRESETS", {
|
|
46
57
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkLZ53F5BN_cjs.OBJECT_ANGLE_PRESETS; }
|
|
48
59
|
});
|
|
49
60
|
Object.defineProperty(exports, "OBJECT_ANGLE_PROMPTS", {
|
|
50
61
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkLZ53F5BN_cjs.OBJECT_ANGLE_PROMPTS; }
|
|
52
63
|
});
|
|
53
64
|
Object.defineProperty(exports, "OBJECT_ASSET_PRESETS", {
|
|
54
65
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkLZ53F5BN_cjs.OBJECT_ASSET_PRESETS; }
|
|
56
67
|
});
|
|
57
68
|
Object.defineProperty(exports, "OBJECT_ASSET_PROMPTS", {
|
|
58
69
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkLZ53F5BN_cjs.OBJECT_ASSET_PROMPTS; }
|
|
60
71
|
});
|
|
61
72
|
Object.defineProperty(exports, "OBJECT_MATERIAL_PRESETS", {
|
|
62
73
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkLZ53F5BN_cjs.OBJECT_MATERIAL_PRESETS; }
|
|
64
75
|
});
|
|
65
76
|
Object.defineProperty(exports, "OBJECT_MATERIAL_PROMPTS", {
|
|
66
77
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkLZ53F5BN_cjs.OBJECT_MATERIAL_PROMPTS; }
|
|
68
79
|
});
|
|
69
80
|
Object.defineProperty(exports, "OBJECT_VARIATION_PRESETS", {
|
|
70
81
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkLZ53F5BN_cjs.OBJECT_VARIATION_PRESETS; }
|
|
72
83
|
});
|
|
73
84
|
Object.defineProperty(exports, "OBJECT_VARIATION_PROMPTS", {
|
|
74
85
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkLZ53F5BN_cjs.OBJECT_VARIATION_PROMPTS; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "PRESET_PREVIEW_PATH", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkLZ53F5BN_cjs.PRESET_PREVIEW_PATH; }
|
|
76
91
|
});
|
|
77
92
|
Object.defineProperty(exports, "SNIPPET_MEDIA_VALUES", {
|
|
78
93
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkLZ53F5BN_cjs.SNIPPET_MEDIA_VALUES; }
|
|
80
95
|
});
|
|
81
96
|
Object.defineProperty(exports, "STYLE_PRESETS", {
|
|
82
97
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkLZ53F5BN_cjs.STYLE_PRESETS; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "factoryPresetPreviewUrl", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkLZ53F5BN_cjs.factoryPresetPreviewUrl; }
|
|
84
103
|
});
|
|
85
104
|
Object.defineProperty(exports, "getFactoryPresets", {
|
|
86
105
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkLZ53F5BN_cjs.getFactoryPresets; }
|
|
88
107
|
});
|
|
89
108
|
Object.defineProperty(exports, "getFactorySnippets", {
|
|
90
109
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkLZ53F5BN_cjs.getFactorySnippets; }
|
|
92
111
|
});
|
|
93
112
|
Object.defineProperty(exports, "getStylePreset", {
|
|
94
113
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkLZ53F5BN_cjs.getStylePreset; }
|
|
96
115
|
});
|
|
97
116
|
Object.defineProperty(exports, "groupFactoryPresets", {
|
|
98
117
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkLZ53F5BN_cjs.groupFactoryPresets; }
|
|
100
119
|
});
|
|
101
120
|
Object.defineProperty(exports, "hookPlateCaptionSegments", {
|
|
102
121
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkLZ53F5BN_cjs.hookPlateCaptionSegments; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "presetMinReferences", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkLZ53F5BN_cjs.presetMinReferences; }
|
|
104
127
|
});
|
|
105
128
|
Object.defineProperty(exports, "resolveBrandInput", {
|
|
106
129
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkLZ53F5BN_cjs.resolveBrandInput; }
|
|
108
131
|
});
|
|
109
132
|
//# sourceMappingURL=presets.cjs.map
|
|
110
133
|
//# sourceMappingURL=presets.cjs.map
|
|
@@ -80,6 +80,14 @@ interface FactoryPreset {
|
|
|
80
80
|
readonly groupKind?: "folder" | "section";
|
|
81
81
|
/** Capture-shaped config (no label / fieldMappings / runtime keys). */
|
|
82
82
|
readonly data: Readonly<Record<string, unknown>>;
|
|
83
|
+
/**
|
|
84
|
+
* How many connected reference images the preset works from, stated for a
|
|
85
|
+
* preset whose prompt refers to "the attached photo" in words (Reference
|
|
86
|
+
* Sheet, Portrait Transformations, Stylized Subject, Edits, …). Leave it out
|
|
87
|
+
* otherwise: `{image:N}` tokens in the prompt are counted on their own, and
|
|
88
|
+
* the count a client sees is the larger of the two (`presetMinReferences`).
|
|
89
|
+
*/
|
|
90
|
+
readonly minReferences?: number;
|
|
83
91
|
}
|
|
84
92
|
/** A render-ready bucket of factory presets sharing one `group` (or the leading
|
|
85
93
|
* ungrouped bucket, `group: null`). Produced by {@link groupFactoryPresets}. */
|
|
@@ -103,9 +111,53 @@ declare function groupFactoryPresets<T extends {
|
|
|
103
111
|
groupKind?: "folder" | "section";
|
|
104
112
|
}>(presets: readonly T[]): FactoryPresetGroup<T>[];
|
|
105
113
|
|
|
114
|
+
/**
|
|
115
|
+
* The most reference images any image model takes. A preset can never need
|
|
116
|
+
* more than some model could be sent, so a count is clamped to it — a typo
|
|
117
|
+
* like `{image:99999}` must not tell a client to ask for 99,999 photos.
|
|
118
|
+
*/
|
|
119
|
+
declare const MAX_PRESET_REFERENCES: number;
|
|
120
|
+
/**
|
|
121
|
+
* How many connected reference images a preset works from — 0 for a preset
|
|
122
|
+
* that needs none. A client shows a preset with a non-zero count as "needs a
|
|
123
|
+
* photo" (`needsImage`) and asks for that many before running it.
|
|
124
|
+
*
|
|
125
|
+
* Two sources, and the larger wins:
|
|
126
|
+
* - the `{image:N}` / `{image:N:label}` tokens in the preset's prompt fields
|
|
127
|
+
* (the highest N): a template that names its references always reports them;
|
|
128
|
+
* - `declared` — the factory preset's own `minReferences`, for presets whose
|
|
129
|
+
* prompt refers to "the attached photo" in words, which no data field marks.
|
|
130
|
+
* A user preset has no declaration, so its count comes from its tokens.
|
|
131
|
+
*
|
|
132
|
+
* Pure; never throws. A declaration that is not a positive whole number is
|
|
133
|
+
* ignored, and the result is at most {@link MAX_PRESET_REFERENCES}.
|
|
134
|
+
*/
|
|
135
|
+
declare function presetMinReferences(nodeType: string, data: Readonly<Record<string, unknown>>, declared?: number): number;
|
|
136
|
+
|
|
137
|
+
declare const FACTORY_PRESET_PREVIEW_FILES: Readonly<Record<string, string>>;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Where the factory preset previews live, relative to the app's origin:
|
|
141
|
+
* `frontend/public/preset-previews/` is served at `/preset-previews/` in every
|
|
142
|
+
* edition. Each name carries its content hash (`<slug>.<hash8>.webp`), so the
|
|
143
|
+
* server caches them as immutable and a regenerated picture is a new URL.
|
|
144
|
+
*/
|
|
145
|
+
declare const PRESET_PREVIEW_PATH = "/preset-previews/";
|
|
146
|
+
/**
|
|
147
|
+
* The absolute URL of a factory preset's example picture on the installation
|
|
148
|
+
* at `baseUrl` (its public origin, e.g. "https://app.nodaro.ai"), or null when
|
|
149
|
+
* the preset has none. Only a preset whose file is in the committed map gets a
|
|
150
|
+
* URL, so it never points at a file that does not exist.
|
|
151
|
+
*
|
|
152
|
+
* @param files the preset id → file map; defaults to the committed one
|
|
153
|
+
*/
|
|
154
|
+
declare function factoryPresetPreviewUrl(presetId: string, baseUrl: string, files?: Readonly<Record<string, string>>): string | null;
|
|
155
|
+
|
|
106
156
|
/** System/factory presets shipped with the app. Assembled here in the original
|
|
107
157
|
* single-file key order; each value lives in its per-domain module. */
|
|
108
158
|
declare const FACTORY_PRESETS: Readonly<Record<string, readonly FactoryPreset[]>>;
|
|
159
|
+
/** The catalog for `nodeType`, or an empty one — also for a name that is an
|
|
160
|
+
* Object.prototype member (`constructor`), which is no catalog of ours. */
|
|
109
161
|
declare function getFactoryPresets(nodeType: string): readonly FactoryPreset[];
|
|
110
162
|
|
|
111
163
|
declare const HOOK_PLATE_PRESET_ID = "add-captions/hook-plate";
|
|
@@ -196,4 +248,4 @@ declare const FACTORY_SNIPPETS: readonly FactorySnippet[];
|
|
|
196
248
|
/** Factory snippets for one field: target match + media membership. */
|
|
197
249
|
declare function getFactorySnippets(target: SnippetTarget, media: SnippetMedia): readonly FactorySnippet[];
|
|
198
250
|
|
|
199
|
-
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, type BrandCasing, type BrandFonts, type BrandLogo, type BrandPalette, type BrandPresetId, type BrandPresetMeta, type BrandTokens, type BrandTypeSpec, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, type CaptionLanguageLevers, type CaptionSegmentRole, FACTORY_PRESETS, FACTORY_SNIPPETS, type FactoryPreset, type FactoryPresetGroup, FactorySnippet, HOOK_PLATE_PRESET_ID, type HookPlateSegmentsOptions, type HookPlateSegmentsResult, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, type ObjectPresetAssetType, STYLE_PRESETS, SnippetMedia, SnippetTarget, type StylePreset, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, resolveBrandInput };
|
|
251
|
+
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, type BrandCasing, type BrandFonts, type BrandLogo, type BrandPalette, type BrandPresetId, type BrandPresetMeta, type BrandTokens, type BrandTypeSpec, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, type CaptionLanguageLevers, type CaptionSegmentRole, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_SNIPPETS, type FactoryPreset, type FactoryPresetGroup, FactorySnippet, HOOK_PLATE_PRESET_ID, type HookPlateSegmentsOptions, type HookPlateSegmentsResult, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, type ObjectPresetAssetType, PRESET_PREVIEW_PATH, STYLE_PRESETS, SnippetMedia, SnippetTarget, type StylePreset, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput };
|
|
@@ -80,6 +80,14 @@ interface FactoryPreset {
|
|
|
80
80
|
readonly groupKind?: "folder" | "section";
|
|
81
81
|
/** Capture-shaped config (no label / fieldMappings / runtime keys). */
|
|
82
82
|
readonly data: Readonly<Record<string, unknown>>;
|
|
83
|
+
/**
|
|
84
|
+
* How many connected reference images the preset works from, stated for a
|
|
85
|
+
* preset whose prompt refers to "the attached photo" in words (Reference
|
|
86
|
+
* Sheet, Portrait Transformations, Stylized Subject, Edits, …). Leave it out
|
|
87
|
+
* otherwise: `{image:N}` tokens in the prompt are counted on their own, and
|
|
88
|
+
* the count a client sees is the larger of the two (`presetMinReferences`).
|
|
89
|
+
*/
|
|
90
|
+
readonly minReferences?: number;
|
|
83
91
|
}
|
|
84
92
|
/** A render-ready bucket of factory presets sharing one `group` (or the leading
|
|
85
93
|
* ungrouped bucket, `group: null`). Produced by {@link groupFactoryPresets}. */
|
|
@@ -103,9 +111,53 @@ declare function groupFactoryPresets<T extends {
|
|
|
103
111
|
groupKind?: "folder" | "section";
|
|
104
112
|
}>(presets: readonly T[]): FactoryPresetGroup<T>[];
|
|
105
113
|
|
|
114
|
+
/**
|
|
115
|
+
* The most reference images any image model takes. A preset can never need
|
|
116
|
+
* more than some model could be sent, so a count is clamped to it — a typo
|
|
117
|
+
* like `{image:99999}` must not tell a client to ask for 99,999 photos.
|
|
118
|
+
*/
|
|
119
|
+
declare const MAX_PRESET_REFERENCES: number;
|
|
120
|
+
/**
|
|
121
|
+
* How many connected reference images a preset works from — 0 for a preset
|
|
122
|
+
* that needs none. A client shows a preset with a non-zero count as "needs a
|
|
123
|
+
* photo" (`needsImage`) and asks for that many before running it.
|
|
124
|
+
*
|
|
125
|
+
* Two sources, and the larger wins:
|
|
126
|
+
* - the `{image:N}` / `{image:N:label}` tokens in the preset's prompt fields
|
|
127
|
+
* (the highest N): a template that names its references always reports them;
|
|
128
|
+
* - `declared` — the factory preset's own `minReferences`, for presets whose
|
|
129
|
+
* prompt refers to "the attached photo" in words, which no data field marks.
|
|
130
|
+
* A user preset has no declaration, so its count comes from its tokens.
|
|
131
|
+
*
|
|
132
|
+
* Pure; never throws. A declaration that is not a positive whole number is
|
|
133
|
+
* ignored, and the result is at most {@link MAX_PRESET_REFERENCES}.
|
|
134
|
+
*/
|
|
135
|
+
declare function presetMinReferences(nodeType: string, data: Readonly<Record<string, unknown>>, declared?: number): number;
|
|
136
|
+
|
|
137
|
+
declare const FACTORY_PRESET_PREVIEW_FILES: Readonly<Record<string, string>>;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Where the factory preset previews live, relative to the app's origin:
|
|
141
|
+
* `frontend/public/preset-previews/` is served at `/preset-previews/` in every
|
|
142
|
+
* edition. Each name carries its content hash (`<slug>.<hash8>.webp`), so the
|
|
143
|
+
* server caches them as immutable and a regenerated picture is a new URL.
|
|
144
|
+
*/
|
|
145
|
+
declare const PRESET_PREVIEW_PATH = "/preset-previews/";
|
|
146
|
+
/**
|
|
147
|
+
* The absolute URL of a factory preset's example picture on the installation
|
|
148
|
+
* at `baseUrl` (its public origin, e.g. "https://app.nodaro.ai"), or null when
|
|
149
|
+
* the preset has none. Only a preset whose file is in the committed map gets a
|
|
150
|
+
* URL, so it never points at a file that does not exist.
|
|
151
|
+
*
|
|
152
|
+
* @param files the preset id → file map; defaults to the committed one
|
|
153
|
+
*/
|
|
154
|
+
declare function factoryPresetPreviewUrl(presetId: string, baseUrl: string, files?: Readonly<Record<string, string>>): string | null;
|
|
155
|
+
|
|
106
156
|
/** System/factory presets shipped with the app. Assembled here in the original
|
|
107
157
|
* single-file key order; each value lives in its per-domain module. */
|
|
108
158
|
declare const FACTORY_PRESETS: Readonly<Record<string, readonly FactoryPreset[]>>;
|
|
159
|
+
/** The catalog for `nodeType`, or an empty one — also for a name that is an
|
|
160
|
+
* Object.prototype member (`constructor`), which is no catalog of ours. */
|
|
109
161
|
declare function getFactoryPresets(nodeType: string): readonly FactoryPreset[];
|
|
110
162
|
|
|
111
163
|
declare const HOOK_PLATE_PRESET_ID = "add-captions/hook-plate";
|
|
@@ -196,4 +248,4 @@ declare const FACTORY_SNIPPETS: readonly FactorySnippet[];
|
|
|
196
248
|
/** Factory snippets for one field: target match + media membership. */
|
|
197
249
|
declare function getFactorySnippets(target: SnippetTarget, media: SnippetMedia): readonly FactorySnippet[];
|
|
198
250
|
|
|
199
|
-
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, type BrandCasing, type BrandFonts, type BrandLogo, type BrandPalette, type BrandPresetId, type BrandPresetMeta, type BrandTokens, type BrandTypeSpec, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, type CaptionLanguageLevers, type CaptionSegmentRole, FACTORY_PRESETS, FACTORY_SNIPPETS, type FactoryPreset, type FactoryPresetGroup, FactorySnippet, HOOK_PLATE_PRESET_ID, type HookPlateSegmentsOptions, type HookPlateSegmentsResult, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, type ObjectPresetAssetType, STYLE_PRESETS, SnippetMedia, SnippetTarget, type StylePreset, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, resolveBrandInput };
|
|
251
|
+
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, type BrandCasing, type BrandFonts, type BrandLogo, type BrandPalette, type BrandPresetId, type BrandPresetMeta, type BrandTokens, type BrandTypeSpec, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, type CaptionLanguageLevers, type CaptionSegmentRole, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_SNIPPETS, type FactoryPreset, type FactoryPresetGroup, FactorySnippet, HOOK_PLATE_PRESET_ID, type HookPlateSegmentsOptions, type HookPlateSegmentsResult, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, type ObjectPresetAssetType, PRESET_PREVIEW_PATH, STYLE_PRESETS, SnippetMedia, SnippetTarget, type StylePreset, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput };
|
package/dist/entries/presets.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, FACTORY_PRESETS, FACTORY_SNIPPETS, HOOK_PLATE_PRESET_ID, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, SNIPPET_MEDIA_VALUES, STYLE_PRESETS, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, resolveBrandInput } from '../chunk-
|
|
1
|
+
export { BODY_CAPTIONS_PRESET_ID, BRAND_PRESETS, BRAND_PRESET_IDS, BRAND_PRESET_META, CAPTION_LEVERS_BY_LANGUAGE, CAPTION_SEGMENT_LEVER_KEYS, FACTORY_PRESETS, FACTORY_PRESET_PREVIEW_FILES, FACTORY_SNIPPETS, HOOK_PLATE_PRESET_ID, MAX_PRESET_REFERENCES, OBJECT_ANGLE_PRESETS, OBJECT_ANGLE_PROMPTS, OBJECT_ASSET_PRESETS, OBJECT_ASSET_PROMPTS, OBJECT_MATERIAL_PRESETS, OBJECT_MATERIAL_PROMPTS, OBJECT_VARIATION_PRESETS, OBJECT_VARIATION_PROMPTS, PRESET_PREVIEW_PATH, SNIPPET_MEDIA_VALUES, STYLE_PRESETS, factoryPresetPreviewUrl, getFactoryPresets, getFactorySnippets, getStylePreset, groupFactoryPresets, hookPlateCaptionSegments, presetMinReferences, resolveBrandInput } from '../chunk-RB2F5JQF.js';
|
|
2
|
+
import '../chunk-N6VMPG5S.js';
|
|
3
|
+
import '../chunk-GILUVQQJ.js';
|
|
2
4
|
import '../chunk-T64D26P4.js';
|
|
5
|
+
import '../chunk-DVP6ILDR.js';
|
|
3
6
|
import '../chunk-PZ5AY32C.js';
|
|
4
7
|
//# sourceMappingURL=presets.js.map
|
|
5
8
|
//# sourceMappingURL=presets.js.map
|