We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1947c81 commit 115ae81Copy full SHA for 115ae81
docs/common-patterns.md
@@ -46,16 +46,21 @@ class SpeedingTicket extends BaseModel {
46
// Define default properties here
47
static instanceDefaults() {
48
return {
49
- email: '',
50
- password: ''
+ vin: '',
+ plateState: ''
51
}
52
53
54
const servicePath = 'speeding-tickets'
55
const servicePlugin = makeServicePlugin({
56
Model: SpeedingTicket,
57
service: feathersClient.service(servicePath),
58
- servicePath
+ servicePath,
59
+ mutations: {
60
+ handleSummaryData (state, summaryData) {
61
+ state.mostRecentSummary = summaryData
62
+ }
63
64
})
65
66
feathersClient.service(servicePath)
0 commit comments