mirror of
https://github.com/frappe/books.git
synced 2026-08-24 02:24:17 -05:00
feat: schema for IntegrationErrorLog
This commit is contained in:
@@ -17,6 +17,10 @@ export enum Verb {
|
||||
Resumed = 'resumed',
|
||||
}
|
||||
|
||||
export enum ErrorLogEnum {
|
||||
IntegrationErrorLog = 'IntegrationErrorLog',
|
||||
}
|
||||
|
||||
export type Noun = string;
|
||||
|
||||
export interface Telemetry {
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "IntegrationErrorLog",
|
||||
"label": "Integration Error Log",
|
||||
"naming": "autoincrement",
|
||||
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "name",
|
||||
"label": "Entry No.",
|
||||
"fieldtype": "Data",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"fieldname": "data",
|
||||
"label": "Data",
|
||||
"readonly": true,
|
||||
"fieldtype": "Text",
|
||||
"section": "Default"
|
||||
},
|
||||
{
|
||||
"fieldname": "error",
|
||||
"label": "Error",
|
||||
"readonly": true,
|
||||
"fieldtype": "Text",
|
||||
"section": "Default"
|
||||
}
|
||||
],
|
||||
"keywordFields": ["name"]
|
||||
}
|
||||
@@ -77,6 +77,7 @@ import POSShiftAmounts from './app/inventory/Point of Sale/POSShiftAmounts.json'
|
||||
import ERPNextSyncSettings from './app/ERPNextSyncSettings.json';
|
||||
import ERPNextSyncQueue from './app/ERPNextSyncQueue.json';
|
||||
import FetchFromERPNextQueue from './app/FetchFromERPNextQueue.json';
|
||||
import IntegrationErrorLog from './app/IntegrationErrorLog.json';
|
||||
import { Schema, SchemaStub } from './types';
|
||||
|
||||
export const coreSchemas: Schema[] = [
|
||||
@@ -183,4 +184,6 @@ export const appSchemas: Schema[] | SchemaStub[] = [
|
||||
ERPNextSyncSettings as Schema,
|
||||
ERPNextSyncQueue as Schema,
|
||||
FetchFromERPNextQueue as Schema,
|
||||
|
||||
IntegrationErrorLog as Schema,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user