@fugood/bricks-project 2.23.0-beta.40 → 2.23.0-beta.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.23.0-beta.40",
3
+ "version": "2.23.0-beta.42",
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": "5b18821cb5d33f7ae4f3461e8ee21ca42892e2c4"
17
+ "gitHead": "f5b6cdd736782df9ff1389eac650f738496f309f"
18
18
  }
@@ -69,7 +69,9 @@ Default property:
69
69
  "cacheEnabled": true,
70
70
  "geolocationEnabled": true,
71
71
  "thirdPartyCookiesEnabled": true,
72
- "javaScriptEnabled": true
72
+ "javaScriptEnabled": true,
73
+ "scrollEnabled": true,
74
+ "nestedScrollEnabled": true
73
75
  }
74
76
  */
75
77
  property?: BrickBasicProperty & {
@@ -113,6 +115,10 @@ Default property:
113
115
  forMainFrameOnly?: boolean | DataLink
114
116
  /* Inject JavaScript code before content loaded for main frame only (only `YES` supported for Android) */
115
117
  beforeContentLoadedForMainFrameOnly?: boolean | DataLink
118
+ /* Enable scroll in WebView */
119
+ scrollEnabled?: boolean | DataLink
120
+ /* Enable nested scroll in WebView (Android only) */
121
+ nestedScrollEnabled?: boolean | DataLink
116
122
  }
117
123
  events?: BrickBasicEvents & {
118
124
  /* Event of the WebView on load */
@@ -133,6 +133,8 @@ Default property:
133
133
  onError?: Array<EventAction>
134
134
  }
135
135
  outlets?: {
136
+ /* Server is listening */
137
+ isListening?: () => Data
136
138
  /* Query of request */
137
139
  requestQuery?: () => Data
138
140
  /* Body of request */
@@ -156,7 +158,7 @@ export type GeneratorHTTPServer = Generator &
156
158
  | SwitchCondData
157
159
  | {
158
160
  __typename: 'SwitchCondInnerStateOutlet'
159
- outlet: 'requestQuery' | 'requestBody' | 'clientAddress'
161
+ outlet: 'isListening' | 'requestQuery' | 'requestBody' | 'clientAddress'
160
162
  value: any
161
163
  }
162
164
  }>
@@ -104,6 +104,8 @@ Default property:
104
104
  onError?: Array<EventAction>
105
105
  }
106
106
  outlets?: {
107
+ /* Server is listening */
108
+ isListening?: () => Data
107
109
  /* Is server started */
108
110
  started?: () => Data
109
111
  /* Accepted connections */
@@ -129,7 +131,7 @@ export type GeneratorTCPServer = Generator &
129
131
  | SwitchCondData
130
132
  | {
131
133
  __typename: 'SwitchCondInnerStateOutlet'
132
- outlet: 'started' | 'connections' | 'lastData' | 'errorMessage'
134
+ outlet: 'isListening' | 'started' | 'connections' | 'lastData' | 'errorMessage'
133
135
  value: any
134
136
  }
135
137
  }>
@@ -967,6 +967,7 @@ export const templateEventPropsMap = {
967
967
  'GENERATOR_ASSISTANT_MESSAGES', // type: array
968
968
  'GENERATOR_ASSISTANT_LAST_MESSAGE', // type: object
969
969
  'GENERATOR_ASSISTANT_IS_ERROR', // type: bool
970
+ 'GENERATOR_ASSISTANT_FINISH_REASON', // type: string
970
971
  ],
971
972
  },
972
973
  GENERATOR_VECTOR_STORE: {