Skip to content

Commit b111ec8

Browse files
committed
feat(custom apis): adds presentation sort_order to CustomApiFields
1 parent 5926c7c commit b111ec8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/types/custom-apis.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
import { Identifiable, Resource, ResourcePage } from './core';
88

99

10+
export interface Presentation {
11+
sort_order: number
12+
}
13+
1014
export interface CustomApiBase {
1115
name: string
1216
description: string
@@ -67,6 +71,7 @@ export interface CustomApiFieldBase {
6771
slug: string
6872
validation?: CustomFieldValidation,
6973
use_as_url_slug: boolean
74+
presentation?: Presentation
7075
}
7176

7277
export interface CustomApiField extends Identifiable, CustomApiFieldBase {

0 commit comments

Comments
 (0)