v0.9.3
This commit is contained in:
parent
d31325fb4d
commit
ff8de3bfe7
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/factuges-server",
|
"name": "@erp/factuges-server",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup src/index.ts --config tsup.config.ts",
|
"build": "tsup src/index.ts --config tsup.config.ts",
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/factuges-web",
|
"name": "@erp/factuges-web",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/auth",
|
"name": "@erp/auth",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/catalogs",
|
"name": "@erp/catalogs",
|
||||||
"description": "Catalogs module",
|
"description": "Catalogs module",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/companies",
|
"name": "@erp/companies",
|
||||||
"description": "Companies module",
|
"description": "Companies module",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/core",
|
"name": "@erp/core",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/customer-invoices",
|
"name": "@erp/customer-invoices",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -2,14 +2,9 @@ import type { ICatalogs } from "@erp/core/api";
|
|||||||
import type { Sequelize } from "sequelize";
|
import type { Sequelize } from "sequelize";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
buildLegacyIssuedInvoicePersistenceMappers,
|
|
||||||
type IIssuedInvoicePersistenceMappers,
|
|
||||||
} from "./issued-invoice-persistence-mappers.di";
|
|
||||||
import {
|
|
||||||
buildIssuedInvoicePersistenceMappersV2,
|
|
||||||
type IIssuedInvoicePersistenceMappersV2,
|
type IIssuedInvoicePersistenceMappersV2,
|
||||||
|
buildIssuedInvoicePersistenceMappersV2,
|
||||||
} from "./issued-invoice-persistence-mappers-v2.di";
|
} from "./issued-invoice-persistence-mappers-v2.di";
|
||||||
import { buildLegacyIssuedInvoiceRepository } from "./issued-invoice-repositories.di";
|
|
||||||
import { buildIssuedInvoiceRepositoryV2 } from "./issued-invoice-repositories-v2.di";
|
import { buildIssuedInvoiceRepositoryV2 } from "./issued-invoice-repositories-v2.di";
|
||||||
|
|
||||||
type BuildIssuedInvoicePersistenceParams = {
|
type BuildIssuedInvoicePersistenceParams = {
|
||||||
@ -17,11 +12,11 @@ type BuildIssuedInvoicePersistenceParams = {
|
|||||||
database: Sequelize;
|
database: Sequelize;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type LegacyIssuedInvoicePersistence = {
|
/*export type LegacyIssuedInvoicePersistence = {
|
||||||
mode: "legacy";
|
mode: "legacy";
|
||||||
mappers: IIssuedInvoicePersistenceMappers;
|
mappers: IIssuedInvoicePersistenceMappers;
|
||||||
repository: ReturnType<typeof buildLegacyIssuedInvoiceRepository>;
|
repository: ReturnType<typeof buildLegacyIssuedInvoiceRepository>;
|
||||||
};
|
};*/
|
||||||
|
|
||||||
export type V2IssuedInvoicePersistence = {
|
export type V2IssuedInvoicePersistence = {
|
||||||
mode: "v2";
|
mode: "v2";
|
||||||
@ -29,7 +24,7 @@ export type V2IssuedInvoicePersistence = {
|
|||||||
repository: ReturnType<typeof buildIssuedInvoiceRepositoryV2>;
|
repository: ReturnType<typeof buildIssuedInvoiceRepositoryV2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const buildLegacyIssuedInvoicePersistence = (
|
/*export const buildLegacyIssuedInvoicePersistence = (
|
||||||
params: BuildIssuedInvoicePersistenceParams
|
params: BuildIssuedInvoicePersistenceParams
|
||||||
): LegacyIssuedInvoicePersistence => {
|
): LegacyIssuedInvoicePersistence => {
|
||||||
const mappers = buildLegacyIssuedInvoicePersistenceMappers(params.catalogs);
|
const mappers = buildLegacyIssuedInvoicePersistenceMappers(params.catalogs);
|
||||||
@ -42,7 +37,7 @@ export const buildLegacyIssuedInvoicePersistence = (
|
|||||||
mappers,
|
mappers,
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
};
|
};*/
|
||||||
|
|
||||||
export const buildV2IssuedInvoicePersistence = (
|
export const buildV2IssuedInvoicePersistence = (
|
||||||
params: BuildIssuedInvoicePersistenceParams
|
params: BuildIssuedInvoicePersistenceParams
|
||||||
|
|||||||
@ -1,28 +1,22 @@
|
|||||||
import type { Sequelize } from "sequelize";
|
import type { Sequelize } from "sequelize";
|
||||||
|
|
||||||
import { buildLegacyProformaNumberGenerator } from "./proforma-number-generator.di";
|
|
||||||
import { buildV2ProformaNumberGenerator } from "./proforma-number-generator-v2.di";
|
import { buildV2ProformaNumberGenerator } from "./proforma-number-generator-v2.di";
|
||||||
import {
|
import {
|
||||||
buildLegacyProformaPersistenceMappers,
|
|
||||||
type IProformaPersistenceMappers,
|
|
||||||
} from "./proforma-persistence-mappers.di";
|
|
||||||
import {
|
|
||||||
buildProformaPersistenceMappersV2,
|
|
||||||
type IProformaPersistenceMappersV2,
|
type IProformaPersistenceMappersV2,
|
||||||
|
buildProformaPersistenceMappersV2,
|
||||||
} from "./proforma-persistence-mappers-v2.di";
|
} from "./proforma-persistence-mappers-v2.di";
|
||||||
import { buildLegacyProformaRepository } from "./proforma-repositories.di";
|
|
||||||
import { buildProformaRepositoryV2 } from "./proforma-repositories-v2.di";
|
import { buildProformaRepositoryV2 } from "./proforma-repositories-v2.di";
|
||||||
|
|
||||||
type BuildProformaPersistenceParams = {
|
type BuildProformaPersistenceParams = {
|
||||||
database: Sequelize;
|
database: Sequelize;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type LegacyProformaPersistence = {
|
/*export type LegacyProformaPersistence = {
|
||||||
mode: "legacy";
|
mode: "legacy";
|
||||||
mappers: IProformaPersistenceMappers;
|
mappers: IProformaPersistenceMappers;
|
||||||
repository: ReturnType<typeof buildLegacyProformaRepository>;
|
repository: ReturnType<typeof buildLegacyProformaRepository>;
|
||||||
numberGenerator: ReturnType<typeof buildLegacyProformaNumberGenerator>;
|
numberGenerator: ReturnType<typeof buildLegacyProformaNumberGenerator>;
|
||||||
};
|
};*/
|
||||||
|
|
||||||
export type V2ProformaPersistence = {
|
export type V2ProformaPersistence = {
|
||||||
mode: "v2";
|
mode: "v2";
|
||||||
@ -31,7 +25,7 @@ export type V2ProformaPersistence = {
|
|||||||
numberGenerator: ReturnType<typeof buildV2ProformaNumberGenerator>;
|
numberGenerator: ReturnType<typeof buildV2ProformaNumberGenerator>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const buildLegacyProformaPersistence = (
|
/*export const buildLegacyProformaPersistence = (
|
||||||
params: BuildProformaPersistenceParams
|
params: BuildProformaPersistenceParams
|
||||||
): LegacyProformaPersistence => {
|
): LegacyProformaPersistence => {
|
||||||
const mappers = buildLegacyProformaPersistenceMappers();
|
const mappers = buildLegacyProformaPersistenceMappers();
|
||||||
@ -45,7 +39,7 @@ export const buildLegacyProformaPersistence = (
|
|||||||
}),
|
}),
|
||||||
numberGenerator: buildLegacyProformaNumberGenerator(),
|
numberGenerator: buildLegacyProformaNumberGenerator(),
|
||||||
};
|
};
|
||||||
};
|
};*/
|
||||||
|
|
||||||
export const buildV2ProformaPersistence = (
|
export const buildV2ProformaPersistence = (
|
||||||
params: BuildProformaPersistenceParams
|
params: BuildProformaPersistenceParams
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/customers",
|
"name": "@erp/customers",
|
||||||
"description": "Customers",
|
"description": "Customers",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/factuges",
|
"name": "@erp/factuges",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/identity",
|
"name": "@erp/identity",
|
||||||
"description": "Identity module",
|
"description": "Identity module",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/supplier-invoices",
|
"name": "@erp/supplier-invoices",
|
||||||
"description": "Supplier invoices",
|
"description": "Supplier invoices",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@erp/suppliers",
|
"name": "@erp/suppliers",
|
||||||
"description": "Suppliers",
|
"description": "Suppliers",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "uecko-erp-2025",
|
"name": "uecko-erp-2025",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"apps/*",
|
"apps/*",
|
||||||
"modules/*",
|
"modules/*",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@repo/i18next",
|
"name": "@repo/i18next",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@repo/rdx-criteria",
|
"name": "@repo/rdx-criteria",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@repo/rdx-ddd",
|
"name": "@repo/rdx-ddd",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@repo/rdx-logger",
|
"name": "@repo/rdx-logger",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@repo/rdx-ui",
|
"name": "@repo/rdx-ui",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@repo/rdx-utils",
|
"name": "@repo/rdx-utils",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@repo/shadcn-ui",
|
"name": "@repo/shadcn-ui",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@repo/typescript-config",
|
"name": "@repo/typescript-config",
|
||||||
"version": "0.9.2",
|
"version": "0.9.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user