@fugood/bricks-project 2.25.0-beta.36 → 2.25.0-beta.37

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/compile/index.ts CHANGED
@@ -513,9 +513,10 @@ const compileKind = (kind: Data['kind']) => {
513
513
  }
514
514
 
515
515
  const compileRemoteUpdate = (remoteUpdate: Data['remoteUpdate']) => {
516
- if (!remoteUpdate) return {}
517
- if (remoteUpdate.type === 'auto') return { enable_remote_update: true }
516
+ if (!remoteUpdate) return { bank_type: 'none' }
517
+ if (remoteUpdate.type === 'auto') return { bank_type: 'create', enable_remote_update: true }
518
518
  return {
519
+ bank_type: remoteUpdate.type === 'device-specific' ? 'create-device-specific' : 'global',
519
520
  enable_remote_update: true,
520
521
  ...(remoteUpdate.type === 'device-specific' ? { use_remote_id_prefix: true } : {}),
521
522
  ...(remoteUpdate.type === 'global-data' ? { global_remote_update_prop: remoteUpdate.id } : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.25.0-beta.36",
3
+ "version": "2.25.0-beta.37",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "typecheck": "tsc --noEmit",
package/package.json.bak CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fugood/bricks-ctor",
3
- "version": "2.25.0-beta.36",
3
+ "version": "2.25.0-beta.37",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "typecheck": "tsc --noEmit",