@fugood/bricks-project 2.23.0-beta.26 → 2.23.0-beta.27
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.
|
@@ -486,6 +486,16 @@ export const templateActionNameMap = {
|
|
|
486
486
|
packageName: 'GENERATOR_INTENT_PACKAGE_NAME',
|
|
487
487
|
category: 'GENERATOR_INTENT_CATEGORY',
|
|
488
488
|
},
|
|
489
|
+
GENERATOR_INTENT_START_SERVICE: {
|
|
490
|
+
action: 'GENERATOR_INTENT_ACTION',
|
|
491
|
+
data: 'GENERATOR_INTENT_DATA',
|
|
492
|
+
type: 'GENERATOR_INTENT_TYPE',
|
|
493
|
+
extra: 'GENERATOR_INTENT_EXTRA',
|
|
494
|
+
className: 'GENERATOR_INTENT_CLASS_NAME',
|
|
495
|
+
packageName: 'GENERATOR_INTENT_PACKAGE_NAME',
|
|
496
|
+
category: 'GENERATOR_INTENT_CATEGORY',
|
|
497
|
+
foreground: 'GENERATOR_INTENT_FOREGROUND',
|
|
498
|
+
},
|
|
489
499
|
},
|
|
490
500
|
GENERATOR_CASTLES_PAY: {
|
|
491
501
|
GENERATOR_CASTLES_PAY_SALE: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.23.0-beta.
|
|
3
|
+
"version": "2.23.0-beta.27",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "bun scripts/build.js"
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"lodash": "^4.17.4",
|
|
15
15
|
"uuid": "^8.3.1"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "40d4c0f3e77bbb2985ad1aa695103558bd1d5648"
|
|
18
18
|
}
|
|
@@ -21,7 +21,10 @@ Default property:
|
|
|
21
21
|
"type": "image",
|
|
22
22
|
"resizeMode": "cover",
|
|
23
23
|
"provider": "openai",
|
|
24
|
-
"freepikClassicImageSize": "square_1_1"
|
|
24
|
+
"freepikClassicImageSize": "square_1_1",
|
|
25
|
+
"geminiVeoModel": "veo-3.1-generate-preview",
|
|
26
|
+
"geminiVeoResolution": "720p",
|
|
27
|
+
"geminiVeoDuration": 8
|
|
25
28
|
}
|
|
26
29
|
*/
|
|
27
30
|
property?: BrickBasicProperty & {
|
|
@@ -163,6 +166,16 @@ Default property:
|
|
|
163
166
|
geminiAspectRatio?: '1:1' | '16:9' | '9:16' | '3:2' | '2:3' | DataLink
|
|
164
167
|
/* Gemini model to use for image generation */
|
|
165
168
|
geminiModel?: 'gemini-2.5-flash-image' | 'gemini-3-pro-image-preview' | DataLink
|
|
169
|
+
/* Gemini Veo model to use for video generation */
|
|
170
|
+
geminiVeoModel?: 'veo-3.1-generate-preview' | 'veo-3.1-fast-generate-preview' | DataLink
|
|
171
|
+
/* Gemini Veo video resolution (720p or 1080p) */
|
|
172
|
+
geminiVeoResolution?: '720p' | '1080p' | DataLink
|
|
173
|
+
/* Gemini Veo video duration in seconds (4, 6, 8) */
|
|
174
|
+
geminiVeoDuration?: 4 | 6 | 8 | DataLink
|
|
175
|
+
/* Gemini Veo negative prompt (attributes to avoid) */
|
|
176
|
+
geminiVeoNegativePrompt?: string | DataLink
|
|
177
|
+
/* Gemini Veo person generation control */
|
|
178
|
+
geminiVeoPersonGeneration?: 'allow_all' | 'allow_adult' | DataLink
|
|
166
179
|
}
|
|
167
180
|
events?: BrickBasicEvents & {
|
|
168
181
|
/* Event of the brick press */
|
|
@@ -52,6 +52,53 @@ export type GeneratorIntentActionSendIntent = ActionWithParams & {
|
|
|
52
52
|
>
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
/* Start intent service */
|
|
56
|
+
export type GeneratorIntentActionStartService = ActionWithParams & {
|
|
57
|
+
__actionName: 'GENERATOR_INTENT_START_SERVICE'
|
|
58
|
+
params?: Array<
|
|
59
|
+
| {
|
|
60
|
+
input: 'action'
|
|
61
|
+
value?: string | DataLink | EventProperty
|
|
62
|
+
mapping?: string
|
|
63
|
+
}
|
|
64
|
+
| {
|
|
65
|
+
input: 'data'
|
|
66
|
+
value?: string | DataLink | EventProperty
|
|
67
|
+
mapping?: string
|
|
68
|
+
}
|
|
69
|
+
| {
|
|
70
|
+
input: 'type'
|
|
71
|
+
value?: string | DataLink | EventProperty
|
|
72
|
+
mapping?: string
|
|
73
|
+
}
|
|
74
|
+
| {
|
|
75
|
+
input: 'extra'
|
|
76
|
+
value?: {} | DataLink | EventProperty
|
|
77
|
+
mapping?: string
|
|
78
|
+
}
|
|
79
|
+
| {
|
|
80
|
+
input: 'className'
|
|
81
|
+
value?: string | DataLink | EventProperty
|
|
82
|
+
mapping?: string
|
|
83
|
+
}
|
|
84
|
+
| {
|
|
85
|
+
input: 'packageName'
|
|
86
|
+
value?: string | DataLink | EventProperty
|
|
87
|
+
mapping?: string
|
|
88
|
+
}
|
|
89
|
+
| {
|
|
90
|
+
input: 'category'
|
|
91
|
+
value?: string | DataLink | EventProperty
|
|
92
|
+
mapping?: string
|
|
93
|
+
}
|
|
94
|
+
| {
|
|
95
|
+
input: 'foreground'
|
|
96
|
+
value?: boolean | DataLink | EventProperty
|
|
97
|
+
mapping?: string
|
|
98
|
+
}
|
|
99
|
+
>
|
|
100
|
+
}
|
|
101
|
+
|
|
55
102
|
interface GeneratorIntentDef {
|
|
56
103
|
/*
|
|
57
104
|
Default property:
|
|
@@ -72,6 +119,8 @@ Default property:
|
|
|
72
119
|
packageName?: string | DataLink
|
|
73
120
|
/* Intent category */
|
|
74
121
|
category?: string | DataLink
|
|
122
|
+
/* Intent start foreground service */
|
|
123
|
+
foregroundService?: boolean | DataLink
|
|
75
124
|
}
|
|
76
125
|
events?: {
|
|
77
126
|
/* On intent return a result trigger */
|