2023-04-06 16:10:38 +08:00
|
|
|
import { SchemaComponentOptions } from '@nocobase/client';
|
2022-06-10 17:46:46 +08:00
|
|
|
import React from 'react';
|
|
|
|
import { AuditLogsBlockInitializer } from './AuditLogsBlockInitializer';
|
2023-03-03 00:16:26 +08:00
|
|
|
import { AuditLogsBlockProvider } from './AuditLogsBlockProvider';
|
2023-04-06 16:10:38 +08:00
|
|
|
import { AuditLogsField } from './components/AuditLogsField';
|
|
|
|
import { AuditLogsValue } from './components/AuditLogsValue';
|
2023-03-03 00:16:26 +08:00
|
|
|
import { AuditLogsViewActionInitializer } from './components/AuditLogsViewActionInitializer';
|
2023-04-06 16:10:38 +08:00
|
|
|
import { AuditLogs } from './deplicated/AuditLogs';
|
|
|
|
import { AuditLogsTableActionColumnInitializer } from './initializers/AuditLogsTableActionColumnInitializer';
|
2022-06-10 17:46:46 +08:00
|
|
|
|
|
|
|
export const AuditLogsProvider = (props: any) => {
|
|
|
|
return (
|
2023-03-03 00:16:26 +08:00
|
|
|
<SchemaComponentOptions
|
|
|
|
components={{
|
|
|
|
AuditLogs,
|
|
|
|
AuditLogsBlockProvider,
|
|
|
|
AuditLogsBlockInitializer,
|
|
|
|
AuditLogsValue,
|
|
|
|
AuditLogsField,
|
|
|
|
AuditLogsViewActionInitializer,
|
|
|
|
AuditLogsTableActionColumnInitializer,
|
|
|
|
}}
|
|
|
|
>
|
2022-06-10 17:46:46 +08:00
|
|
|
{props.children}
|
|
|
|
</SchemaComponentOptions>
|
|
|
|
);
|
|
|
|
};
|