-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathfields.d.ts
25 lines (25 loc) · 856 Bytes
/
fields.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Specifies the type of an top-level object exposed in the global namespace
declare namespace kintone.fieldTypes {
// SystemFields are boilerplate, fields in addition to our custom fields above.
// These usually don't need to be changed.
interface SystemFields {
$id: Id;
$revision: Revision;
Created_by: Creator;
Updated_by: Modifier;
Updated_datetime: UpdatedTime;
Created_datetime: CreatedTime;
Record_number: RecordNumber;
}
//These are fields from our app.
//If you add more, make sure to add their field codes here as well. (An image to upload, for example.)
interface CustomFields extends SystemFields {
title: SingleLineText;
body: MultiLineText;
tags: MultiSelect;
image: File;
mediumAPIKey: SingleLineText;
mediumAuthorID: SingleLineText;
devtoAPIKey: SingleLineText;
}
}