Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/types/custom-apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

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


export interface Presentation {
sort_order: number
}
export interface CustomApiBase {
name: string
description: string
Expand Down Expand Up @@ -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 {
Expand Down