Skip to content

Commit d10b14a

Browse files
committed
feat(custom apis): adds presentation property to CustomApiField
1 parent 20737e4 commit d10b14a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/types/custom-apis.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
import { Identifiable, Resource, ResourcePage } from './core';
88

9-
9+
export interface Presentation {
10+
sort_order: number
11+
}
1012
export interface CustomApiBase {
1113
name: string
1214
description: string
@@ -66,7 +68,8 @@ export interface CustomApiFieldBase {
6668
type: string
6769
slug: string
6870
validation?: CustomFieldValidation,
69-
use_as_url_slug: boolean
71+
use_as_url_slug: boolean,
72+
presentation?: Presentation
7073
}
7174

7275
export interface CustomApiField extends Identifiable, CustomApiFieldBase {

0 commit comments

Comments
 (0)