vona-module-a-openapi 5.0.69 → 5.0.71
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/types/actions.d.ts
CHANGED
|
@@ -4,12 +4,13 @@ export interface IResourceActionRowOptions {
|
|
|
4
4
|
}
|
|
5
5
|
export interface TypeResourceActionTableRecord {
|
|
6
6
|
create: IResourceActionTableOptions;
|
|
7
|
+
operationsTable: IResourceActionTableOptions;
|
|
7
8
|
}
|
|
8
9
|
export interface TypeResourceActionRowRecord {
|
|
9
10
|
view: IResourceActionRowOptions;
|
|
10
11
|
update: IResourceActionRowOptions;
|
|
11
12
|
delete: IResourceActionRowOptions;
|
|
12
|
-
|
|
13
|
+
operationsRow: IResourceActionRowOptions;
|
|
13
14
|
}
|
|
14
15
|
export type TypeResourceActionRowRecordRender = {
|
|
15
16
|
[key in keyof TypeResourceActionRowRecord as `action${Capitalize<key>}`]: TypeResourceActionRowRecord[key];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TypeComponentRecordSelectorKeysStrict, TypeResourceActionRowRecord, TypeResourceActionTableRecord } from 'vona-module-a-openapi';
|
|
1
|
+
import type { TypeComponentRecordSelectorKeysStrict, TypeRenderComponentJsx, TypeResourceActionRowRecord, TypeResourceActionTableRecord } from 'vona-module-a-openapi';
|
|
2
2
|
import type { IFormProvider } from './formProvider.ts';
|
|
3
3
|
import type { ITableProvider } from './tableProvider.ts';
|
|
4
4
|
export interface IOpenapiOptionsResourceMeta {
|
|
@@ -27,7 +27,8 @@ export interface IOpenapiOptionsResourceMetaProvider {
|
|
|
27
27
|
components?: IOpenapiOptionsResourceMetaProviderComponents;
|
|
28
28
|
}
|
|
29
29
|
export interface IOpenapiOptionsResourceMetaProviderComponents {
|
|
30
|
-
restPage?: TypeComponentRecordSelectorKeysStrict<'restPage'
|
|
30
|
+
restPage?: TypeComponentRecordSelectorKeysStrict<'restPage'> | TypeRenderComponentJsx;
|
|
31
|
+
restPageEntry?: TypeComponentRecordSelectorKeysStrict<'restPageEntry'> | TypeRenderComponentJsx;
|
|
31
32
|
table?: TypeComponentRecordSelectorKeysStrict<'table'>;
|
|
32
33
|
form?: TypeComponentRecordSelectorKeysStrict<'form'>;
|
|
33
34
|
}
|