feat: Deprecate LiveQuery fields option in favor of keys for semantic consistency (#8388)
This commit is contained in:
@@ -70,6 +70,22 @@ const subscribe = {
|
||||
minItems: 1,
|
||||
uniqueItems: true,
|
||||
},
|
||||
keys: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'string',
|
||||
},
|
||||
minItems: 1,
|
||||
uniqueItems: true,
|
||||
},
|
||||
watch: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'string',
|
||||
},
|
||||
minItems: 1,
|
||||
uniqueItems: true,
|
||||
},
|
||||
},
|
||||
required: ['where', 'className'],
|
||||
additionalProperties: false,
|
||||
@@ -108,6 +124,22 @@ const update = {
|
||||
minItems: 1,
|
||||
uniqueItems: true,
|
||||
},
|
||||
keys: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'string',
|
||||
},
|
||||
minItems: 1,
|
||||
uniqueItems: true,
|
||||
},
|
||||
watch: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'string',
|
||||
},
|
||||
minItems: 1,
|
||||
uniqueItems: true,
|
||||
},
|
||||
},
|
||||
required: ['where', 'className'],
|
||||
additionalProperties: false,
|
||||
|
||||
Reference in New Issue
Block a user