From d10b14a6362c35e554706d4071496cfe260b9f57 Mon Sep 17 00:00:00 2001 From: Sara Wasim Date: Wed, 25 Sep 2024 14:09:34 -0700 Subject: [PATCH] feat(custom apis): adds `presentation` property to `CustomApiField` --- src/types/custom-apis.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/types/custom-apis.ts b/src/types/custom-apis.ts index 258f66d..73f945c 100644 --- a/src/types/custom-apis.ts +++ b/src/types/custom-apis.ts @@ -6,7 +6,9 @@ import { Identifiable, Resource, ResourcePage } from './core'; - +export interface Presentation { + sort_order: number +} export interface CustomApiBase { name: string description: string @@ -66,7 +68,8 @@ export interface CustomApiFieldBase { type: string slug: string validation?: CustomFieldValidation, - use_as_url_slug: boolean + use_as_url_slug: boolean, + presentation?: Presentation } export interface CustomApiField extends Identifiable, CustomApiFieldBase {