2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00
books/schemas/schemas.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

92 lines
2.8 KiB
TypeScript
Raw Normal View History

2022-03-23 08:37:00 +00:00
import Account from './app/Account.json';
import AccountingLedgerEntry from './app/AccountingLedgerEntry.json';
import AccountingSettings from './app/AccountingSettings.json';
import Address from './app/Address.json';
import Color from './app/Color.json';
import CompanySettings from './app/CompanySettings.json';
import Currency from './app/Currency.json';
2022-10-12 08:35:18 +00:00
import Defaults from './app/Defaults.json';
2022-03-23 08:37:00 +00:00
import GetStarted from './app/GetStarted.json';
2022-09-27 09:37:11 +00:00
import Invoice from './app/Invoice.json';
import InvoiceItem from './app/InvoiceItem.json';
2022-03-23 08:37:00 +00:00
import Item from './app/Item.json';
import JournalEntry from './app/JournalEntry.json';
import JournalEntryAccount from './app/JournalEntryAccount.json';
2022-10-12 08:35:18 +00:00
import Misc from './app/Misc.json';
2022-03-23 08:37:00 +00:00
import NumberSeries from './app/NumberSeries.json';
import Party from './app/Party.json';
2022-03-23 08:37:00 +00:00
import Payment from './app/Payment.json';
import PaymentFor from './app/PaymentFor.json';
import PrintSettings from './app/PrintSettings.json';
import PurchaseInvoice from './app/PurchaseInvoice.json';
import PurchaseInvoiceItem from './app/PurchaseInvoiceItem.json';
import SalesInvoice from './app/SalesInvoice.json';
import SalesInvoiceItem from './app/SalesInvoiceItem.json';
import SetupWizard from './app/SetupWizard.json';
import Tax from './app/Tax.json';
import TaxDetail from './app/TaxDetail.json';
import TaxSummary from './app/TaxSummary.json';
2022-07-08 17:51:21 +00:00
import UOM from './app/UOM.json';
2022-03-23 08:37:00 +00:00
import PatchRun from './core/PatchRun.json';
import SingleValue from './core/SingleValue.json';
import SystemSettings from './core/SystemSettings.json';
2022-03-23 16:40:36 +00:00
import base from './meta/base.json';
import child from './meta/child.json';
2022-03-28 10:01:29 +00:00
import submittable from './meta/submittable.json';
2022-03-23 16:40:36 +00:00
import tree from './meta/tree.json';
2022-03-23 14:46:19 +00:00
import { Schema, SchemaStub } from './types';
2022-03-23 08:37:00 +00:00
export const coreSchemas: Schema[] = [
PatchRun as Schema,
SingleValue as Schema,
SystemSettings as Schema,
];
2022-03-23 16:40:36 +00:00
export const metaSchemas: SchemaStub[] = [
base as SchemaStub,
child as SchemaStub,
submittable as SchemaStub,
tree as SchemaStub,
];
2022-03-23 14:46:19 +00:00
export const appSchemas: Schema[] | SchemaStub[] = [
2022-07-20 08:44:36 +00:00
Misc as Schema,
2022-03-23 08:37:00 +00:00
SetupWizard as Schema,
GetStarted as Schema,
Color as Schema,
Currency as Schema,
2022-10-12 08:35:18 +00:00
Defaults as Schema,
2022-03-23 08:37:00 +00:00
NumberSeries as Schema,
PrintSettings as Schema,
CompanySettings as Schema,
Account as Schema,
AccountingSettings as Schema,
AccountingLedgerEntry as Schema,
Party as Schema,
Address as Schema,
Item as Schema,
2022-07-08 17:51:21 +00:00
UOM as Schema,
2022-03-23 08:37:00 +00:00
Payment as Schema,
PaymentFor as Schema,
JournalEntry as Schema,
JournalEntryAccount as Schema,
2022-09-27 09:37:11 +00:00
Invoice as Schema,
SalesInvoice as Schema,
2022-03-23 08:37:00 +00:00
PurchaseInvoice as Schema,
2022-09-27 09:37:11 +00:00
InvoiceItem as Schema,
SalesInvoiceItem as SchemaStub,
PurchaseInvoiceItem as SchemaStub,
2022-03-23 08:37:00 +00:00
Tax as Schema,
TaxDetail as Schema,
TaxSummary as Schema,
];