@go-avro/avro-js 0.0.67 → 0.0.68
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/dist/client/QueryClient.js +8 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -107,13 +107,20 @@ const SOCKET_EVENT_CONFIG = {
|
|
|
107
107
|
entityKey: 'companies',
|
|
108
108
|
action: 'create',
|
|
109
109
|
fetchPath: (id) => `/company/${id}`,
|
|
110
|
+
alsoInvalidate: [['/company/list']],
|
|
110
111
|
},
|
|
111
112
|
update_company: {
|
|
112
113
|
entityKey: 'companies',
|
|
113
114
|
action: 'update',
|
|
114
115
|
fetchPath: (id) => `/company/${id}`,
|
|
116
|
+
alsoInvalidate: [['companies', 'current'], ['/company/list']],
|
|
117
|
+
},
|
|
118
|
+
delete_company: {
|
|
119
|
+
entityKey: 'companies',
|
|
120
|
+
action: 'delete',
|
|
121
|
+
fetchPath: null,
|
|
122
|
+
alsoInvalidate: [['companies', 'current'], ['/company/list']],
|
|
115
123
|
},
|
|
116
|
-
delete_company: { entityKey: 'companies', action: 'delete', fetchPath: null },
|
|
117
124
|
// ── Users (no single-entity socket events) ──
|
|
118
125
|
user_updated: { invalidateKeys: [['users'], ['user']] },
|
|
119
126
|
update_users: { invalidateKeys: [['users'], ['user']] },
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AVRO_JS_VERSION = "0.0.
|
|
1
|
+
export declare const AVRO_JS_VERSION = "0.0.68";
|
package/dist/version.js
CHANGED