@nodaro/prompts 1.40.0 → 1.42.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/{catalog-packs-BP21C1lp.d.cts → catalog-packs-C9CXEWfl.d.cts} +1 -1
- package/dist/{catalog-packs-3SxAVxPF.d.ts → catalog-packs-D7NJpo4k.d.ts} +1 -1
- package/dist/{chunk-3U7X6JZN.cjs → chunk-4YUXR23B.cjs} +13 -13
- package/dist/{chunk-3U7X6JZN.cjs.map → chunk-4YUXR23B.cjs.map} +1 -1
- package/dist/{chunk-DUXX6CBX.js → chunk-6JABZ5OC.js} +4 -4
- package/dist/{chunk-DUXX6CBX.js.map → chunk-6JABZ5OC.js.map} +1 -1
- package/dist/{chunk-PWWM7Q3T.cjs → chunk-AXQK7UH7.cjs} +49 -49
- package/dist/{chunk-PWWM7Q3T.cjs.map → chunk-AXQK7UH7.cjs.map} +1 -1
- package/dist/{chunk-SXXW4LCR.js → chunk-CYMIXKFT.js} +12 -8
- package/dist/chunk-CYMIXKFT.js.map +1 -0
- package/dist/{chunk-6GVFJLDL.js → chunk-GIO77YH5.js} +4 -4
- package/dist/{chunk-6GVFJLDL.js.map → chunk-GIO77YH5.js.map} +1 -1
- package/dist/{chunk-C3NHNECH.cjs → chunk-H4JMZWOE.cjs} +39 -39
- package/dist/{chunk-C3NHNECH.cjs.map → chunk-H4JMZWOE.cjs.map} +1 -1
- package/dist/{chunk-GTDKDD7Y.js → chunk-HL6PZ4A6.js} +5 -5
- package/dist/{chunk-GTDKDD7Y.js.map → chunk-HL6PZ4A6.js.map} +1 -1
- package/dist/chunk-HOMR5XFP.js +3 -0
- package/dist/{chunk-F4VO6YEJ.js.map → chunk-HOMR5XFP.js.map} +1 -1
- package/dist/{chunk-SECAGGRK.cjs → chunk-I3QS7BSY.cjs} +8 -8
- package/dist/{chunk-SECAGGRK.cjs.map → chunk-I3QS7BSY.cjs.map} +1 -1
- package/dist/{chunk-JOHYGDUU.js → chunk-IFRFYBGE.js} +3 -3
- package/dist/{chunk-JOHYGDUU.js.map → chunk-IFRFYBGE.js.map} +1 -1
- package/dist/chunk-JCYK7NSR.js +3384 -0
- package/dist/chunk-JCYK7NSR.js.map +1 -0
- package/dist/{chunk-2P26SZX5.cjs → chunk-JDNHMVEV.cjs} +35 -35
- package/dist/{chunk-2P26SZX5.cjs.map → chunk-JDNHMVEV.cjs.map} +1 -1
- package/dist/{chunk-HQTHDTHN.js → chunk-PHFOKGYS.js} +6 -6
- package/dist/{chunk-HQTHDTHN.js.map → chunk-PHFOKGYS.js.map} +1 -1
- package/dist/{chunk-C46256GZ.js → chunk-QBUSJGV3.js} +43 -2
- package/dist/chunk-QBUSJGV3.js.map +1 -0
- package/dist/{chunk-EAYEZXWT.js → chunk-QJACEKMZ.js} +3 -3
- package/dist/{chunk-EAYEZXWT.js.map → chunk-QJACEKMZ.js.map} +1 -1
- package/dist/{chunk-MQEXFCNU.cjs → chunk-SB7AYE6S.cjs} +14 -10
- package/dist/chunk-SB7AYE6S.cjs.map +1 -0
- package/dist/chunk-T4OJFIJK.cjs +4 -0
- package/dist/{chunk-VIT3NKGB.cjs.map → chunk-T4OJFIJK.cjs.map} +1 -1
- package/dist/chunk-WARNUGXT.cjs +3403 -0
- package/dist/chunk-WARNUGXT.cjs.map +1 -0
- package/dist/{chunk-DQFQJECU.cjs → chunk-XTOSNRWT.cjs} +43 -2
- package/dist/chunk-XTOSNRWT.cjs.map +1 -0
- package/dist/{chunk-QDUTMOF4.js → chunk-ZFOXGNLK.js} +4 -4
- package/dist/{chunk-QDUTMOF4.js.map → chunk-ZFOXGNLK.js.map} +1 -1
- package/dist/{chunk-IUCNJAHW.cjs → chunk-ZGA72NCT.cjs} +125 -125
- package/dist/{chunk-IUCNJAHW.cjs.map → chunk-ZGA72NCT.cjs.map} +1 -1
- package/dist/{chunk-WRM52ZBN.cjs → chunk-ZLRB5BVT.cjs} +18 -18
- package/dist/{chunk-WRM52ZBN.cjs.map → chunk-ZLRB5BVT.cjs.map} +1 -1
- package/dist/entries/assembly.cjs +29 -29
- package/dist/entries/assembly.js +6 -6
- package/dist/entries/catalog-packs.d.cts +4 -4
- package/dist/entries/catalog-packs.d.ts +4 -4
- package/dist/entries/doctrine.cjs +46 -46
- package/dist/entries/doctrine.js +1 -1
- package/dist/entries/person.d.cts +3 -3
- package/dist/entries/person.d.ts +3 -3
- package/dist/entries/picker-art.cjs +29 -17
- package/dist/entries/picker-art.d.cts +1122 -447
- package/dist/entries/picker-art.d.ts +1122 -447
- package/dist/entries/picker-art.js +2 -2
- package/dist/entries/picker-catalogs.cjs +57 -57
- package/dist/entries/picker-catalogs.d.cts +3 -3
- package/dist/entries/picker-catalogs.d.ts +3 -3
- package/dist/entries/picker-catalogs.js +5 -5
- package/dist/entries/pickers.cjs +374 -374
- package/dist/entries/pickers.js +3 -3
- package/dist/entries/prompt-builder.cjs +76 -76
- package/dist/entries/prompt-builder.js +5 -5
- package/dist/images-DrbQB9Yh.d.cts +65 -0
- package/dist/images-DrbQB9Yh.d.ts +65 -0
- package/dist/index.cjs +600 -588
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -11
- package/dist/{picker-catalogs-DDjtZND3.d.ts → picker-catalogs-BM8IphF1.d.ts} +1 -1
- package/dist/{picker-catalogs-CmV7r0j1.d.cts → picker-catalogs-C3utGMRB.d.cts} +1 -1
- package/package.json +2 -2
- package/src/__tests__/picker-art-images.test.ts +94 -3
- package/src/picker-art/images.ts +59 -9
- package/src/picker-art/index.ts +1 -0
- package/src/picker-art/look-preview-sets.ts +449 -445
- package/src/picker-art/sound-render-sets.ts +688 -0
- package/src/picker-catalogs.ts +12 -8
- package/src/prompt-wizard-categories.ts +4 -0
- package/src/provider-prompt-doctrine.ts +44 -0
- package/dist/chunk-C46256GZ.js.map +0 -1
- package/dist/chunk-DQFQJECU.cjs.map +0 -1
- package/dist/chunk-F4VO6YEJ.js +0 -3
- package/dist/chunk-MQEXFCNU.cjs.map +0 -1
- package/dist/chunk-QGVZXBDE.cjs +0 -2708
- package/dist/chunk-QGVZXBDE.cjs.map +0 -1
- package/dist/chunk-RZJEROA2.js +0 -2692
- package/dist/chunk-RZJEROA2.js.map +0 -1
- package/dist/chunk-SXXW4LCR.js.map +0 -1
- package/dist/chunk-VIT3NKGB.cjs +0 -4
- package/dist/images-BAnMUUmW.d.cts +0 -39
- package/dist/images-BAnMUUmW.d.ts +0 -39
package/dist/chunk-VIT3NKGB.cjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* How the API pictures picker options. Pass it to the catalog projections
|
|
3
|
-
* (projectPickerCatalog / projectAllCatalogs / summarizePickerCatalogs); leave
|
|
4
|
-
* it out and no option carries an `imageUrl` — the package itself never
|
|
5
|
-
* decides which host an install is reached at.
|
|
6
|
-
*/
|
|
7
|
-
interface PickerImageOptions {
|
|
8
|
-
/**
|
|
9
|
-
* The installation's public origin, e.g. "https://app.nodaro.ai" or a
|
|
10
|
-
* self-hosted "http://localhost:3000". Self-hosted pictures are served from
|
|
11
|
-
* it, so an external app gets absolute URLs on the install it asked.
|
|
12
|
-
*/
|
|
13
|
-
readonly baseUrl: string;
|
|
14
|
-
/** Include the rendered look previews, which live on the Nodaro CDN (Cloud only). */
|
|
15
|
-
readonly lookPreviews?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* A still, 480px-wide picture of a rendered look preview: the image resized by
|
|
19
|
-
* the CDN, or — for a clip (camera motion) — a frame taken 1s in. The same
|
|
20
|
-
* transforms the editor's tiles use. A URL off the transforming CDN is kept
|
|
21
|
-
* as is for an image, and dropped for a clip (no still to offer).
|
|
22
|
-
*/
|
|
23
|
-
declare function lookPreviewStillUrl(url: string, width?: number): string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* The absolute picture URL of one picker option, or undefined when it has
|
|
26
|
-
* none. Self-hosted art (the character photos, the music / voice art) wins;
|
|
27
|
-
* otherwise, when allowed, the option's rendered look preview.
|
|
28
|
-
*
|
|
29
|
-
* @param catalog the catalog's node type (look previews are keyed by it) and catalog id (the self-hosted maps are)
|
|
30
|
-
* @param field the dimension field the option belongs to (music / voice art is keyed by it)
|
|
31
|
-
*/
|
|
32
|
-
declare function pickerOptionImageUrl(catalog: {
|
|
33
|
-
readonly nodeType: string;
|
|
34
|
-
readonly catalogId: string;
|
|
35
|
-
}, field: string | undefined, id: string, images: PickerImageOptions): string | undefined;
|
|
36
|
-
/** The absolute URL of a Person / Styling topic's round picture, or undefined. */
|
|
37
|
-
declare function pickerSectionImageUrl(sectionLabel: string, images: PickerImageOptions): string | undefined;
|
|
38
|
-
|
|
39
|
-
export { type PickerImageOptions as P, pickerSectionImageUrl as a, lookPreviewStillUrl as l, pickerOptionImageUrl as p };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* How the API pictures picker options. Pass it to the catalog projections
|
|
3
|
-
* (projectPickerCatalog / projectAllCatalogs / summarizePickerCatalogs); leave
|
|
4
|
-
* it out and no option carries an `imageUrl` — the package itself never
|
|
5
|
-
* decides which host an install is reached at.
|
|
6
|
-
*/
|
|
7
|
-
interface PickerImageOptions {
|
|
8
|
-
/**
|
|
9
|
-
* The installation's public origin, e.g. "https://app.nodaro.ai" or a
|
|
10
|
-
* self-hosted "http://localhost:3000". Self-hosted pictures are served from
|
|
11
|
-
* it, so an external app gets absolute URLs on the install it asked.
|
|
12
|
-
*/
|
|
13
|
-
readonly baseUrl: string;
|
|
14
|
-
/** Include the rendered look previews, which live on the Nodaro CDN (Cloud only). */
|
|
15
|
-
readonly lookPreviews?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* A still, 480px-wide picture of a rendered look preview: the image resized by
|
|
19
|
-
* the CDN, or — for a clip (camera motion) — a frame taken 1s in. The same
|
|
20
|
-
* transforms the editor's tiles use. A URL off the transforming CDN is kept
|
|
21
|
-
* as is for an image, and dropped for a clip (no still to offer).
|
|
22
|
-
*/
|
|
23
|
-
declare function lookPreviewStillUrl(url: string, width?: number): string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* The absolute picture URL of one picker option, or undefined when it has
|
|
26
|
-
* none. Self-hosted art (the character photos, the music / voice art) wins;
|
|
27
|
-
* otherwise, when allowed, the option's rendered look preview.
|
|
28
|
-
*
|
|
29
|
-
* @param catalog the catalog's node type (look previews are keyed by it) and catalog id (the self-hosted maps are)
|
|
30
|
-
* @param field the dimension field the option belongs to (music / voice art is keyed by it)
|
|
31
|
-
*/
|
|
32
|
-
declare function pickerOptionImageUrl(catalog: {
|
|
33
|
-
readonly nodeType: string;
|
|
34
|
-
readonly catalogId: string;
|
|
35
|
-
}, field: string | undefined, id: string, images: PickerImageOptions): string | undefined;
|
|
36
|
-
/** The absolute URL of a Person / Styling topic's round picture, or undefined. */
|
|
37
|
-
declare function pickerSectionImageUrl(sectionLabel: string, images: PickerImageOptions): string | undefined;
|
|
38
|
-
|
|
39
|
-
export { type PickerImageOptions as P, pickerSectionImageUrl as a, lookPreviewStillUrl as l, pickerOptionImageUrl as p };
|