@norbix.ai/react-redux 1.8.2 → 1.10.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 +72 -33
- package/dist/index.cjs +88 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +88 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -390,6 +390,7 @@ declare function createNorbixApi(getClient: GetNorbixClient, options?: {
|
|
|
390
390
|
applyDatabaseSchemaBundle: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.ApplyDatabaseSchemaBundleRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.ApplyDatabaseSchemaBundleResponse, string, unknown>;
|
|
391
391
|
updateDatabaseSchemaEmbed: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.UpdateDatabaseSchemaEmbedRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
392
392
|
getDatabaseSchemaListSettings: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetDatabaseSchemaListSettings> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetDatabaseSchemaListSettingsResponse, string, unknown>;
|
|
393
|
+
getDatabaseSchemaIndexStatus: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetDatabaseSchemaIndexStatus> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetDatabaseSchemaIndexStatusResponse, string, unknown>;
|
|
393
394
|
updateDatabaseSchemaListSettings: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.UpdateDatabaseSchemaListSettingsRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
394
395
|
getCollectionImports: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCollectionImports> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCollectionImportsResponse, string, unknown>;
|
|
395
396
|
getCollectionImport: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCollectionImport> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCollectionImportResponse, string, unknown>;
|
|
@@ -424,6 +425,21 @@ declare function createNorbixApi(getClient: GetNorbixClient, options?: {
|
|
|
424
425
|
getMembershipIntegrations: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMembershipIntegrations> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMembershipIntegrationsResponse, string, unknown>;
|
|
425
426
|
saveMembershipIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SaveMembershipIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.IdResponse, string, unknown>;
|
|
426
427
|
setMembershipIntegrationAsDefault: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SetMembershipIntegrationAsDefaultRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
428
|
+
enableCodeModule: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.EnableCode> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
429
|
+
disableCodeModule: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.DisableCode> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
430
|
+
getCodeIntegrations: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeIntegrations> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeIntegrationsResponse, string, unknown>;
|
|
431
|
+
getCodeIntegration: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeIntegrationResponse, string, unknown>;
|
|
432
|
+
saveCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SaveCodeIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.IdResponse, string, unknown>;
|
|
433
|
+
deleteCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.DeleteCodeIntegrationRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
434
|
+
enableCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.EnableCodeIntegrationRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
435
|
+
disableCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.DisableCodeIntegrationRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
436
|
+
setCodeIntegrationAsDefault: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SetCodeIntegrationAsDefault> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
437
|
+
testCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.TestCodeIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.TestCodeIntegrationResponse, string, unknown>;
|
|
438
|
+
getCodeFunctions: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctions> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionsResponse, string, unknown>;
|
|
439
|
+
getCodeFunctionQualifiers: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionQualifiers> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionQualifiersResponse, string, unknown>;
|
|
440
|
+
getCodeFunctionEventSample: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionEventSample> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionEventSampleResponse, string, unknown>;
|
|
441
|
+
getCodeFunctionRuns: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionRuns> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionRunsResponse, string, unknown>;
|
|
442
|
+
invokeCodeFunction: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.InvokeCodeFunction> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.InvokeCodeFunctionResponse, string, unknown>;
|
|
427
443
|
getHubApiKeys: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetApiKeys> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetApiKeysResponse, string, unknown>;
|
|
428
444
|
regenerateHubApiKeys: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.RegenerateApiKeys> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.RegenerateApiKeysResponse, string, unknown>;
|
|
429
445
|
deleteLlmIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.DeleteLlmIntegrationRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ declare function createNorbixApi(getClient: GetNorbixClient, options?: {
|
|
|
390
390
|
applyDatabaseSchemaBundle: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.ApplyDatabaseSchemaBundleRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.ApplyDatabaseSchemaBundleResponse, string, unknown>;
|
|
391
391
|
updateDatabaseSchemaEmbed: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.UpdateDatabaseSchemaEmbedRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
392
392
|
getDatabaseSchemaListSettings: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetDatabaseSchemaListSettings> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetDatabaseSchemaListSettingsResponse, string, unknown>;
|
|
393
|
+
getDatabaseSchemaIndexStatus: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetDatabaseSchemaIndexStatus> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetDatabaseSchemaIndexStatusResponse, string, unknown>;
|
|
393
394
|
updateDatabaseSchemaListSettings: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.UpdateDatabaseSchemaListSettingsRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
394
395
|
getCollectionImports: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCollectionImports> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCollectionImportsResponse, string, unknown>;
|
|
395
396
|
getCollectionImport: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCollectionImport> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCollectionImportResponse, string, unknown>;
|
|
@@ -424,6 +425,21 @@ declare function createNorbixApi(getClient: GetNorbixClient, options?: {
|
|
|
424
425
|
getMembershipIntegrations: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMembershipIntegrations> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMembershipIntegrationsResponse, string, unknown>;
|
|
425
426
|
saveMembershipIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SaveMembershipIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.IdResponse, string, unknown>;
|
|
426
427
|
setMembershipIntegrationAsDefault: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SetMembershipIntegrationAsDefaultRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
428
|
+
enableCodeModule: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.EnableCode> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
429
|
+
disableCodeModule: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.DisableCode> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
430
|
+
getCodeIntegrations: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeIntegrations> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeIntegrationsResponse, string, unknown>;
|
|
431
|
+
getCodeIntegration: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeIntegrationResponse, string, unknown>;
|
|
432
|
+
saveCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SaveCodeIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.IdResponse, string, unknown>;
|
|
433
|
+
deleteCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.DeleteCodeIntegrationRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
434
|
+
enableCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.EnableCodeIntegrationRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
435
|
+
disableCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.DisableCodeIntegrationRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
436
|
+
setCodeIntegrationAsDefault: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SetCodeIntegrationAsDefault> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
|
437
|
+
testCodeIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.TestCodeIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.TestCodeIntegrationResponse, string, unknown>;
|
|
438
|
+
getCodeFunctions: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctions> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionsResponse, string, unknown>;
|
|
439
|
+
getCodeFunctionQualifiers: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionQualifiers> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionQualifiersResponse, string, unknown>;
|
|
440
|
+
getCodeFunctionEventSample: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionEventSample> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionEventSampleResponse, string, unknown>;
|
|
441
|
+
getCodeFunctionRuns: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionRuns> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetCodeFunctionRunsResponse, string, unknown>;
|
|
442
|
+
invokeCodeFunction: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.InvokeCodeFunction> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.InvokeCodeFunctionResponse, string, unknown>;
|
|
427
443
|
getHubApiKeys: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetApiKeys> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetApiKeysResponse, string, unknown>;
|
|
428
444
|
regenerateHubApiKeys: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.RegenerateApiKeys> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.RegenerateApiKeysResponse, string, unknown>;
|
|
429
445
|
deleteLlmIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.DeleteLlmIntegrationRequest> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.EmptyResponse, string, unknown>;
|
package/dist/index.js
CHANGED
|
@@ -935,6 +935,84 @@ var hubApikeys = (b) => ({
|
|
|
935
935
|
})
|
|
936
936
|
});
|
|
937
937
|
|
|
938
|
+
// src/hooks/hub/code.ts
|
|
939
|
+
var hubCode = (b) => {
|
|
940
|
+
const callHC = (norbix) => norbix.hub.code;
|
|
941
|
+
const integrationTags = (arg) => [
|
|
942
|
+
{ type: "CodeIntegrations", id: "LIST" },
|
|
943
|
+
{
|
|
944
|
+
type: "CodeIntegrations",
|
|
945
|
+
id: arg?.id ?? arg?.Id ?? "CURRENT"
|
|
946
|
+
}
|
|
947
|
+
];
|
|
948
|
+
return {
|
|
949
|
+
// ---- Module toggle ----
|
|
950
|
+
enableCodeModule: b.mutation({
|
|
951
|
+
query: (args) => (norbix) => callHC(norbix).enableCode(args),
|
|
952
|
+
invalidatesTags: ["Account", "Projects", "Code"]
|
|
953
|
+
}),
|
|
954
|
+
disableCodeModule: b.mutation({
|
|
955
|
+
query: (args) => (norbix) => callHC(norbix).disableCode(args),
|
|
956
|
+
invalidatesTags: ["Account", "Projects", "Code"]
|
|
957
|
+
}),
|
|
958
|
+
// ---- Integrations ----
|
|
959
|
+
getCodeIntegrations: b.query({
|
|
960
|
+
query: (args) => (norbix) => callHC(norbix).getCodeIntegrations(args),
|
|
961
|
+
providesTags: [{ type: "CodeIntegrations", id: "LIST" }]
|
|
962
|
+
}),
|
|
963
|
+
getCodeIntegration: b.query({
|
|
964
|
+
query: (args) => (norbix) => callHC(norbix).getCodeIntegration(args),
|
|
965
|
+
providesTags: (_res, _err, arg) => [
|
|
966
|
+
{ type: "CodeIntegrations", id: arg?.id ?? "CURRENT" }
|
|
967
|
+
]
|
|
968
|
+
}),
|
|
969
|
+
saveCodeIntegration: b.mutation({
|
|
970
|
+
query: (args) => (norbix) => callHC(norbix).saveCodeIntegration(args),
|
|
971
|
+
invalidatesTags: (_res, _err, arg) => integrationTags(arg)
|
|
972
|
+
}),
|
|
973
|
+
deleteCodeIntegration: b.mutation({
|
|
974
|
+
query: (args) => (norbix) => callHC(norbix).deleteCodeIntegration(args),
|
|
975
|
+
invalidatesTags: (_res, _err, arg) => integrationTags(arg)
|
|
976
|
+
}),
|
|
977
|
+
enableCodeIntegration: b.mutation({
|
|
978
|
+
query: (args) => (norbix) => callHC(norbix).enableCodeIntegration(args),
|
|
979
|
+
invalidatesTags: (_res, _err, arg) => integrationTags(arg)
|
|
980
|
+
}),
|
|
981
|
+
disableCodeIntegration: b.mutation({
|
|
982
|
+
query: (args) => (norbix) => callHC(norbix).disableCodeIntegration(args),
|
|
983
|
+
invalidatesTags: (_res, _err, arg) => integrationTags(arg)
|
|
984
|
+
}),
|
|
985
|
+
setCodeIntegrationAsDefault: b.mutation({
|
|
986
|
+
query: (args) => (norbix) => callHC(norbix).setCodeIntegrationAsDefault(args),
|
|
987
|
+
// The default flag moves between integrations: the whole list changes.
|
|
988
|
+
invalidatesTags: ["CodeIntegrations"]
|
|
989
|
+
}),
|
|
990
|
+
testCodeIntegration: b.mutation({
|
|
991
|
+
query: (args) => (norbix) => callHC(norbix).testCodeIntegration(args)
|
|
992
|
+
}),
|
|
993
|
+
// ---- Cloud functions (core SDK 4.19.0) ----
|
|
994
|
+
getCodeFunctions: b.query({
|
|
995
|
+
query: (args) => (norbix) => callHC(norbix).getCodeFunctions(args),
|
|
996
|
+
providesTags: [{ type: "CodeFunctions", id: "LIST" }]
|
|
997
|
+
}),
|
|
998
|
+
getCodeFunctionQualifiers: b.query({
|
|
999
|
+
query: (args) => (norbix) => callHC(norbix).getCodeFunctionQualifiers(args),
|
|
1000
|
+
providesTags: [{ type: "CodeFunctions", id: "LIST" }]
|
|
1001
|
+
}),
|
|
1002
|
+
getCodeFunctionEventSample: b.query({
|
|
1003
|
+
query: (args) => (norbix) => callHC(norbix).getCodeFunctionEventSample(args),
|
|
1004
|
+
providesTags: [{ type: "CodeFunctions", id: "SAMPLE" }]
|
|
1005
|
+
}),
|
|
1006
|
+
getCodeFunctionRuns: b.query({
|
|
1007
|
+
query: (args) => (norbix) => callHC(norbix).getCodeFunctionRuns(args),
|
|
1008
|
+
providesTags: [{ type: "CodeFunctions", id: "RUNS" }]
|
|
1009
|
+
}),
|
|
1010
|
+
invokeCodeFunction: b.mutation({
|
|
1011
|
+
query: (args) => (norbix) => callHC(norbix).invokeCodeFunction(args)
|
|
1012
|
+
})
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
1015
|
+
|
|
938
1016
|
// src/hooks/hub/database.ts
|
|
939
1017
|
var recordsTag = (arg) => [
|
|
940
1018
|
{
|
|
@@ -1223,6 +1301,15 @@ var hubDatabase = (b) => ({
|
|
|
1223
1301
|
query: (args) => (norbix) => norbix.hub.database.getDatabaseSchemaListSettings(args),
|
|
1224
1302
|
providesTags: ["DatabaseSchemas"]
|
|
1225
1303
|
}),
|
|
1304
|
+
// The last schema-index run (campaign 24 mongo-indexes): building | ready |
|
|
1305
|
+
// refused | partial, one entry per database. Cached per schema so a List
|
|
1306
|
+
// tab polling one schema never refetches the others.
|
|
1307
|
+
getDatabaseSchemaIndexStatus: b.query({
|
|
1308
|
+
query: (args) => (norbix) => norbix.hub.database.getDatabaseSchemaIndexStatus(args),
|
|
1309
|
+
providesTags: (_res, _err, arg) => [
|
|
1310
|
+
{ type: "DatabaseSchemas", id: arg?.id ?? "ANY" }
|
|
1311
|
+
]
|
|
1312
|
+
}),
|
|
1226
1313
|
updateDatabaseSchemaListSettings: b.mutation({
|
|
1227
1314
|
query: (args) => (norbix) => norbix.hub.database.updateDatabaseSchemaListSettings(args),
|
|
1228
1315
|
invalidatesTags: ["DatabaseSchemas"]
|
|
@@ -2252,6 +2339,7 @@ function buildEndpoints(builder) {
|
|
|
2252
2339
|
...hubAccount(builder),
|
|
2253
2340
|
...hubAi(builder),
|
|
2254
2341
|
...hubApikeys(builder),
|
|
2342
|
+
...hubCode(builder),
|
|
2255
2343
|
...hubMembership(builder),
|
|
2256
2344
|
...hubDatabase(builder),
|
|
2257
2345
|
...hubFiles(builder),
|