@norbix.ai/react-redux 1.8.2 → 1.9.0
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/README.md +1 -0
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -211,6 +211,7 @@ Every `hub.database` method (73) and every `api.database` method (22) of `@norbi
|
|
|
211
211
|
| `useApplyDatabaseSchemaBundleMutation` | `hub.database.applyDatabaseSchemaBundle` | invalidates `DatabaseSchemas` + taxonomies + terms |
|
|
212
212
|
| `useUpdateDatabaseSchemaEmbedMutation` | `hub.database.updateDatabaseSchemaEmbed` | invalidates `DatabaseSchemas` |
|
|
213
213
|
| `useGetDatabaseSchemaListSettingsQuery` | `hub.database.getDatabaseSchemaListSettings` | provides `DatabaseSchemas` |
|
|
214
|
+
| `useGetDatabaseSchemaIndexStatusQuery` | `hub.database.getDatabaseSchemaIndexStatus` | provides `DatabaseSchemas/<id>` — the last schema-index run (building / ready / refused / partial) |
|
|
214
215
|
| `useUpdateDatabaseSchemaListSettingsMutation` | `hub.database.updateDatabaseSchemaListSettings` | invalidates `DatabaseSchemas` |
|
|
215
216
|
| `useGetCollectionImportsQuery` | `hub.database.getCollectionImports` | provides `DatabaseImports` |
|
|
216
217
|
| `useGetCollectionImportQuery` | `hub.database.getCollectionImport` | provides `DatabaseImports` |
|
package/dist/index.cjs
CHANGED
|
@@ -1225,6 +1225,15 @@ var hubDatabase = (b) => ({
|
|
|
1225
1225
|
query: (args) => (norbix) => norbix.hub.database.getDatabaseSchemaListSettings(args),
|
|
1226
1226
|
providesTags: ["DatabaseSchemas"]
|
|
1227
1227
|
}),
|
|
1228
|
+
// The last schema-index run (campaign 24 mongo-indexes): building | ready |
|
|
1229
|
+
// refused | partial, one entry per database. Cached per schema so a List
|
|
1230
|
+
// tab polling one schema never refetches the others.
|
|
1231
|
+
getDatabaseSchemaIndexStatus: b.query({
|
|
1232
|
+
query: (args) => (norbix) => norbix.hub.database.getDatabaseSchemaIndexStatus(args),
|
|
1233
|
+
providesTags: (_res, _err, arg) => [
|
|
1234
|
+
{ type: "DatabaseSchemas", id: arg?.id ?? "ANY" }
|
|
1235
|
+
]
|
|
1236
|
+
}),
|
|
1228
1237
|
updateDatabaseSchemaListSettings: b.mutation({
|
|
1229
1238
|
query: (args) => (norbix) => norbix.hub.database.updateDatabaseSchemaListSettings(args),
|
|
1230
1239
|
invalidatesTags: ["DatabaseSchemas"]
|