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';
|
2023-02-22 08:45:59 +00:00
|
|
|
import Batch from './app/Batch.json';
|
2022-03-23 08:37:00 +00:00
|
|
|
import Color from './app/Color.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';
|
2022-04-11 07:15:35 +00:00
|
|
|
import Party from './app/Party.json';
|
2024-08-09 05:11:54 +00:00
|
|
|
import Lead from './app/Lead.json';
|
2022-03-23 08:37:00 +00:00
|
|
|
import Payment from './app/Payment.json';
|
|
|
|
import PaymentFor from './app/PaymentFor.json';
|
2023-07-31 07:08:32 +00:00
|
|
|
import PriceList from './app/PriceList.json';
|
|
|
|
import PriceListItem from './app/PriceListItem.json';
|
2024-01-30 12:54:47 +00:00
|
|
|
import PricingRule from './app/PricingRule.json';
|
|
|
|
import PricingRuleItem from './app/PricingRuleItem.json';
|
|
|
|
import PricingRuleDetail from './app/PricingRuleDetail.json';
|
2022-03-23 08:37:00 +00:00
|
|
|
import PrintSettings from './app/PrintSettings.json';
|
2023-02-22 08:45:59 +00:00
|
|
|
import PrintTemplate from './app/PrintTemplate.json';
|
2022-03-23 08:37:00 +00:00
|
|
|
import PurchaseInvoice from './app/PurchaseInvoice.json';
|
|
|
|
import PurchaseInvoiceItem from './app/PurchaseInvoiceItem.json';
|
|
|
|
import SalesInvoice from './app/SalesInvoice.json';
|
|
|
|
import SalesInvoiceItem from './app/SalesInvoiceItem.json';
|
2023-12-22 00:19:13 +00:00
|
|
|
import SalesQuote from './app/SalesQuote.json';
|
|
|
|
import SalesQuoteItem from './app/SalesQuoteItem.json';
|
2022-03-23 08:37:00 +00:00
|
|
|
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';
|
2023-07-31 07:08:32 +00:00
|
|
|
import InventorySettings from './app/inventory/InventorySettings.json';
|
|
|
|
import Location from './app/inventory/Location.json';
|
|
|
|
import PurchaseReceipt from './app/inventory/PurchaseReceipt.json';
|
|
|
|
import PurchaseReceiptItem from './app/inventory/PurchaseReceiptItem.json';
|
|
|
|
import SerialNumber from './app/inventory/SerialNumber.json';
|
|
|
|
import Shipment from './app/inventory/Shipment.json';
|
|
|
|
import ShipmentItem from './app/inventory/ShipmentItem.json';
|
|
|
|
import StockLedgerEntry from './app/inventory/StockLedgerEntry.json';
|
|
|
|
import StockMovement from './app/inventory/StockMovement.json';
|
|
|
|
import StockMovementItem from './app/inventory/StockMovementItem.json';
|
|
|
|
import StockTransfer from './app/inventory/StockTransfer.json';
|
|
|
|
import StockTransferItem from './app/inventory/StockTransferItem.json';
|
|
|
|
import UOMConversionItem from './app/inventory/UOMConversionItem.json';
|
|
|
|
import CustomField from './core/CustomField.json';
|
|
|
|
import CustomForm from './core/CustomForm.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';
|
2023-08-22 06:36:16 +00:00
|
|
|
import CashDenominations from './app/inventory/Point of Sale/CashDenominations.json';
|
|
|
|
import ClosingAmounts from './app/inventory/Point of Sale/ClosingAmounts.json';
|
|
|
|
import ClosingCash from './app/inventory/Point of Sale/ClosingCash.json';
|
|
|
|
import DefaultCashDenominations from './app/inventory/Point of Sale/DefaultCashDenominations.json';
|
|
|
|
import OpeningAmounts from './app/inventory/Point of Sale/OpeningAmounts.json';
|
|
|
|
import OpeningCash from './app/inventory/Point of Sale/OpeningCash.json';
|
2023-09-05 12:03:42 +00:00
|
|
|
import POSSettings from './app/inventory/Point of Sale/POSSettings.json';
|
2023-08-22 06:36:16 +00:00
|
|
|
import POSShift from './app/inventory/Point of Sale/POSShift.json';
|
|
|
|
import POSShiftAmounts from './app/inventory/Point of Sale/POSShiftAmounts.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,
|
2023-02-22 08:45:59 +00:00
|
|
|
PrintTemplate as Schema,
|
2022-03-23 08:37:00 +00:00
|
|
|
|
|
|
|
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,
|
|
|
|
|
|
|
|
Account as Schema,
|
|
|
|
AccountingSettings as Schema,
|
|
|
|
AccountingLedgerEntry as Schema,
|
|
|
|
|
|
|
|
Party as Schema,
|
2024-08-09 05:11:54 +00:00
|
|
|
Lead as Schema,
|
2022-03-23 08:37:00 +00:00
|
|
|
Address as Schema,
|
|
|
|
Item as Schema,
|
2022-07-08 17:51:21 +00:00
|
|
|
UOM as Schema,
|
2023-02-21 08:54:35 +00:00
|
|
|
UOMConversionItem 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,
|
2023-12-22 00:19:13 +00:00
|
|
|
SalesQuote as Schema,
|
2022-03-23 08:37:00 +00:00
|
|
|
|
2022-09-27 09:37:11 +00:00
|
|
|
InvoiceItem as Schema,
|
|
|
|
SalesInvoiceItem as SchemaStub,
|
|
|
|
PurchaseInvoiceItem as SchemaStub,
|
2023-12-22 00:19:13 +00:00
|
|
|
SalesQuoteItem as SchemaStub,
|
2022-03-23 08:37:00 +00:00
|
|
|
|
2023-06-06 08:59:08 +00:00
|
|
|
PriceList as Schema,
|
2023-06-07 04:04:56 +00:00
|
|
|
PriceListItem as SchemaStub,
|
2023-06-06 08:59:08 +00:00
|
|
|
|
2024-01-30 12:54:47 +00:00
|
|
|
PricingRule as Schema,
|
|
|
|
PricingRuleItem as SchemaStub,
|
|
|
|
PricingRuleDetail as SchemaStub,
|
|
|
|
|
2022-03-23 08:37:00 +00:00
|
|
|
Tax as Schema,
|
|
|
|
TaxDetail as Schema,
|
|
|
|
TaxSummary as Schema,
|
2022-10-05 14:37:17 +00:00
|
|
|
|
2022-11-18 08:44:29 +00:00
|
|
|
InventorySettings as Schema,
|
2022-10-05 14:37:17 +00:00
|
|
|
Location as Schema,
|
|
|
|
StockLedgerEntry as Schema,
|
|
|
|
StockMovement as Schema,
|
|
|
|
StockMovementItem as Schema,
|
2022-11-14 08:30:11 +00:00
|
|
|
|
|
|
|
StockTransfer as Schema,
|
|
|
|
StockTransferItem as Schema,
|
|
|
|
Shipment as Schema,
|
|
|
|
ShipmentItem as Schema,
|
|
|
|
PurchaseReceipt as Schema,
|
|
|
|
PurchaseReceiptItem as Schema,
|
2023-01-14 11:28:16 +00:00
|
|
|
|
2023-02-22 08:45:59 +00:00
|
|
|
Batch as Schema,
|
2023-05-04 10:45:12 +00:00
|
|
|
SerialNumber as Schema,
|
2023-07-31 07:08:32 +00:00
|
|
|
|
|
|
|
CustomForm as Schema,
|
|
|
|
CustomField as Schema,
|
2023-08-22 06:36:16 +00:00
|
|
|
|
|
|
|
CashDenominations as Schema,
|
|
|
|
ClosingAmounts as Schema,
|
|
|
|
ClosingCash as Schema,
|
|
|
|
DefaultCashDenominations as Schema,
|
|
|
|
OpeningAmounts as Schema,
|
|
|
|
OpeningCash as Schema,
|
2023-09-05 12:03:42 +00:00
|
|
|
POSSettings as Schema,
|
2023-08-22 06:36:16 +00:00
|
|
|
POSShift as Schema,
|
|
|
|
POSShiftAmounts as Schema,
|
2022-03-23 08:37:00 +00:00
|
|
|
];
|