mirror of
https://github.com/papra-hq/papra.git
synced 2025-12-19 12:19:37 -06:00
Compare commits
1 Commits
@papra/api
...
storage-dr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ed9f34ee8 |
5
.changeset/brave-parrots-fold.md
Normal file
5
.changeset/brave-parrots-fold.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-client": patch
|
||||
---
|
||||
|
||||
Lazy load the PDF viewer to reduce the main chunk size
|
||||
6
.changeset/brown-tigers-cut.md
Normal file
6
.changeset/brown-tigers-cut.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@papra/app-client": patch
|
||||
"@papra/app-server": patch
|
||||
---
|
||||
|
||||
Allow for more complex intake-email origin adresses
|
||||
8
.changeset/curly-beds-dig.md
Normal file
8
.changeset/curly-beds-dig.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"@papra/webhooks": minor
|
||||
"@papra/api-sdk": minor
|
||||
"@papra/lecture": minor
|
||||
"@papra/cli": minor
|
||||
---
|
||||
|
||||
Ditched CommonJs build for packages
|
||||
5
.changeset/fuzzy-clocks-sell.md
Normal file
5
.changeset/fuzzy-clocks-sell.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-server": patch
|
||||
---
|
||||
|
||||
Use node file streams in ingestion folder for smaller RAM footprint
|
||||
5
.changeset/hot-towns-draw.md
Normal file
5
.changeset/hot-towns-draw.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-client": patch
|
||||
---
|
||||
|
||||
Simplified i18n tooling + improved performances
|
||||
5
.changeset/lazy-tables-cover.md
Normal file
5
.changeset/lazy-tables-cover.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-server": patch
|
||||
---
|
||||
|
||||
Fixed an issue where tags assigned to only deleted documents won't show up in the tag list
|
||||
5
.changeset/purple-emus-smile.md
Normal file
5
.changeset/purple-emus-smile.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-server": minor
|
||||
---
|
||||
|
||||
Dropped support for the dedicated backblaze b2 storage driver as b2 now fully support s3 client
|
||||
5
.changeset/rich-parents-flash.md
Normal file
5
.changeset/rich-parents-flash.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-client": patch
|
||||
---
|
||||
|
||||
Prevent infinit loading in search modal when an error occure
|
||||
6
.changeset/rude-loops-lose.md
Normal file
6
.changeset/rude-loops-lose.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@papra/app-server": minor
|
||||
"@papra/docs": minor
|
||||
---
|
||||
|
||||
Added documents encryption layer
|
||||
5
.changeset/shiny-aliens-wonder.md
Normal file
5
.changeset/shiny-aliens-wonder.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-server": patch
|
||||
---
|
||||
|
||||
Properly handle missing files errors in storage drivers
|
||||
5
.changeset/sweet-cougars-bathe.md
Normal file
5
.changeset/sweet-cougars-bathe.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-client": patch
|
||||
---
|
||||
|
||||
Improved the UX of the document content edition panel
|
||||
5
.changeset/twenty-grapes-brake.md
Normal file
5
.changeset/twenty-grapes-brake.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-server": minor
|
||||
---
|
||||
|
||||
Stream file upload instead of full in-memory loading
|
||||
5
.changeset/young-laws-wish.md
Normal file
5
.changeset/young-laws-wish.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@papra/app-client": patch
|
||||
---
|
||||
|
||||
Added content edition support in demo mode
|
||||
@@ -1,11 +1,5 @@
|
||||
# @papra/docs
|
||||
|
||||
## 0.6.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#480](https://github.com/papra-hq/papra/pull/480) [`0a03f42`](https://github.com/papra-hq/papra/commit/0a03f42231f691d339c7ab5a5916c52385e31bd2) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added documents encryption layer
|
||||
|
||||
## 0.5.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@papra/docs",
|
||||
"type": "module",
|
||||
"version": "0.6.0",
|
||||
"version": "0.5.3",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.12.3",
|
||||
"description": "Papra documentation website",
|
||||
|
||||
@@ -1,21 +1,5 @@
|
||||
# @papra/app-client
|
||||
|
||||
## 0.9.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#471](https://github.com/papra-hq/papra/pull/471) [`e77a42f`](https://github.com/papra-hq/papra/commit/e77a42fbf14da011cd396426aa0bbea56c889740) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Lazy load the PDF viewer to reduce the main chunk size
|
||||
|
||||
- [#481](https://github.com/papra-hq/papra/pull/481) [`1606310`](https://github.com/papra-hq/papra/commit/1606310745e8edf405b527127078143481419e8c) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Allow for more complex intake-email origin adresses
|
||||
|
||||
- [#470](https://github.com/papra-hq/papra/pull/470) [`d488efe`](https://github.com/papra-hq/papra/commit/d488efe2cc4aa4f433cec4e9b8cc909b091eccc4) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Simplified i18n tooling + improved performances
|
||||
|
||||
- [#468](https://github.com/papra-hq/papra/pull/468) [`14c3587`](https://github.com/papra-hq/papra/commit/14c3587de07a605ec586bdc428d9e76956bf1c67) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Prevent infinit loading in search modal when an error occure
|
||||
|
||||
- [#468](https://github.com/papra-hq/papra/pull/468) [`14c3587`](https://github.com/papra-hq/papra/commit/14c3587de07a605ec586bdc428d9e76956bf1c67) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Improved the UX of the document content edition panel
|
||||
|
||||
- [#468](https://github.com/papra-hq/papra/pull/468) [`14c3587`](https://github.com/papra-hq/papra/commit/14c3587de07a605ec586bdc428d9e76956bf1c67) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added content edition support in demo mode
|
||||
|
||||
## 0.8.2
|
||||
|
||||
## 0.8.1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@papra/app-client",
|
||||
"type": "module",
|
||||
"version": "0.9.0",
|
||||
"version": "0.8.2",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.12.3",
|
||||
"description": "Papra frontend client",
|
||||
|
||||
@@ -1,31 +1,5 @@
|
||||
# @papra/app-server
|
||||
|
||||
## 0.9.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#472](https://github.com/papra-hq/papra/pull/472) [`b08241f`](https://github.com/papra-hq/papra/commit/b08241f20fc326a65a8de0551a7bfa91d9e4c71d) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Dropped support for the dedicated backblaze b2 storage driver as b2 now fully support s3 client
|
||||
|
||||
- [#480](https://github.com/papra-hq/papra/pull/480) [`0a03f42`](https://github.com/papra-hq/papra/commit/0a03f42231f691d339c7ab5a5916c52385e31bd2) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Added documents encryption layer
|
||||
|
||||
- [#472](https://github.com/papra-hq/papra/pull/472) [`b08241f`](https://github.com/papra-hq/papra/commit/b08241f20fc326a65a8de0551a7bfa91d9e4c71d) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Stream file upload instead of full in-memory loading
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#481](https://github.com/papra-hq/papra/pull/481) [`1606310`](https://github.com/papra-hq/papra/commit/1606310745e8edf405b527127078143481419e8c) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Allow for more complex intake-email origin adresses
|
||||
|
||||
- [#483](https://github.com/papra-hq/papra/pull/483) [`ec0a437`](https://github.com/papra-hq/papra/commit/ec0a437d86b4c8c0979ba9d0c2ff7b39f054cec0) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Fix a bug where the ingestion folder was not working when the done or error destination folder path (INGESTION_FOLDER_POST_PROCESSING_MOVE_FOLDER_PATH and INGESTION_FOLDER_ERROR_FOLDER_PATH) were absolute.
|
||||
|
||||
- [#475](https://github.com/papra-hq/papra/pull/475) [`ea9d90d`](https://github.com/papra-hq/papra/commit/ea9d90d6cff6954297152b3ad16f99170e8cd0dc) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Use node file streams in ingestion folder for smaller RAM footprint
|
||||
|
||||
- [#477](https://github.com/papra-hq/papra/pull/477) [`a62d376`](https://github.com/papra-hq/papra/commit/a62d3767729ab02ae203a1ac7b7fd6eb6e011d98) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Fixed an issue where tags assigned to only deleted documents won't show up in the tag list
|
||||
|
||||
- [#472](https://github.com/papra-hq/papra/pull/472) [`b08241f`](https://github.com/papra-hq/papra/commit/b08241f20fc326a65a8de0551a7bfa91d9e4c71d) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Properly handle missing files errors in storage drivers
|
||||
|
||||
- Updated dependencies [[`14bc2b8`](https://github.com/papra-hq/papra/commit/14bc2b8f8d0d6605062f37188e7c57bbc61b2c1a)]:
|
||||
- @papra/webhooks@0.3.0
|
||||
- @papra/lecture@0.2.0
|
||||
|
||||
## 0.8.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@papra/app-server",
|
||||
"type": "module",
|
||||
"version": "0.9.0",
|
||||
"version": "0.8.2",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.12.3",
|
||||
"description": "Papra app server",
|
||||
|
||||
@@ -49,7 +49,7 @@ function setupCreateDocumentRoute({ app, ...deps }: RouteDefinitionContext) {
|
||||
headers: context.req.header(),
|
||||
});
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({ ...deps });
|
||||
const createDocument = await createDocumentCreationUsecase({ ...deps });
|
||||
|
||||
const { document } = await createDocument({ fileStream, fileName, mimeType, userId, organizationId });
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ describe('documents usecases', () => {
|
||||
});
|
||||
const documentsStorageService = createDocumentStorageService({ documentStorageConfig: config.documentsStorage });
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
config,
|
||||
generateDocumentId: () => 'doc_1',
|
||||
@@ -96,7 +96,7 @@ describe('documents usecases', () => {
|
||||
const documentsStorageService = createDocumentStorageService({ documentStorageConfig: config.documentsStorage });
|
||||
|
||||
let documentIdIndex = 1;
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
config,
|
||||
generateDocumentId: () => `doc_${documentIdIndex++}`,
|
||||
@@ -201,7 +201,7 @@ describe('documents usecases', () => {
|
||||
organizationPlans: { isFreePlanUnlimited: true },
|
||||
});
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
config,
|
||||
taskServices,
|
||||
@@ -256,7 +256,7 @@ describe('documents usecases', () => {
|
||||
const documentsRepository = createDocumentsRepository({ db });
|
||||
const documentsStorageService = createDocumentStorageService({ documentStorageConfig: config.documentsStorage });
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
documentsStorageService,
|
||||
db,
|
||||
config,
|
||||
@@ -305,7 +305,7 @@ describe('documents usecases', () => {
|
||||
});
|
||||
|
||||
let documentIdIndex = 1;
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
config,
|
||||
generateDocumentId: () => `doc_${documentIdIndex++}`,
|
||||
@@ -369,7 +369,7 @@ describe('documents usecases', () => {
|
||||
}),
|
||||
} as PlansRepository;
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
config: overrideConfig(),
|
||||
taskServices,
|
||||
@@ -434,7 +434,7 @@ describe('documents usecases', () => {
|
||||
}),
|
||||
} as PlansRepository;
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
config: overrideConfig(),
|
||||
taskServices,
|
||||
@@ -492,7 +492,7 @@ describe('documents usecases', () => {
|
||||
}),
|
||||
} as PlansRepository;
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
config: overrideConfig(),
|
||||
taskServices,
|
||||
|
||||
@@ -176,7 +176,7 @@ export async function createDocument({
|
||||
export type CreateDocumentUsecase = Awaited<ReturnType<typeof createDocumentCreationUsecase>>;
|
||||
export type DocumentUsecaseDependencies = Omit<Parameters<typeof createDocument>[0], 'fileStream' | 'fileName' | 'mimeType' | 'userId' | 'organizationId'>;
|
||||
|
||||
export function createDocumentCreationUsecase({
|
||||
export async function createDocumentCreationUsecase({
|
||||
db,
|
||||
config,
|
||||
taskServices,
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import { documentsTable } from "../documents.table";
|
||||
import { DocumentStorageService } from "./documents.storage.services";
|
||||
|
||||
export async function migrateDocumentsStorage({db, inputDocumentStorageService, outputDocumentStorageService, logger = createLogger({ namespace: 'migrateDocumentsStorage' })}: {
|
||||
db: Database;
|
||||
inputDocumentStorageService: DocumentStorageService;
|
||||
outputDocumentStorageService: DocumentStorageService;
|
||||
logger?: Logger;
|
||||
}) {
|
||||
|
||||
|
||||
}
|
||||
@@ -2,6 +2,7 @@ import type { DocumentStorageConfig } from '../../documents.storage.types';
|
||||
import { AzuriteContainer } from '@testcontainers/azurite';
|
||||
import { describe } from 'vitest';
|
||||
import { TEST_CONTAINER_IMAGES } from '../../../../../../test/containers/images';
|
||||
import { overrideConfig } from '../../../../config/config.test-utils';
|
||||
import { runDriverTestSuites } from '../drivers.test-suite';
|
||||
import { azBlobStorageDriverFactory } from './az-blob.storage-driver';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { Readable } from 'node:stream';
|
||||
import type { Config } from '../../../config/config.types';
|
||||
import type { ExtendNamedArguments, ExtendReturnPromise } from '../../../shared/types';
|
||||
import type { DocumentStorageConfig } from '../documents.storage.types';
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import type { Config } from '../../../../config/config.types';
|
||||
import type { DocumentStorageConfig } from '../../documents.storage.types';
|
||||
import fs from 'node:fs';
|
||||
import { tmpdir } from 'node:os';
|
||||
|
||||
@@ -3,6 +3,7 @@ import { CreateBucketCommand } from '@aws-sdk/client-s3';
|
||||
import { LocalstackContainer } from '@testcontainers/localstack';
|
||||
import { describe } from 'vitest';
|
||||
import { TEST_CONTAINER_IMAGES } from '../../../../../../test/containers/images';
|
||||
import { overrideConfig } from '../../../../config/config.test-utils';
|
||||
import { runDriverTestSuites } from '../drivers.test-suite';
|
||||
import { s3StorageDriverFactory } from './s3.storage-driver';
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ describe('document-encryption usecases', () => {
|
||||
|
||||
const storageDriver = inMemoryStorageDriverFactory();
|
||||
|
||||
const createDocumentWithoutEncryption = createDocumentCreationUsecase({
|
||||
const createDocumentWithoutEncryption = await createDocumentCreationUsecase({
|
||||
db,
|
||||
config: overrideConfig(),
|
||||
taskServices: noopTaskServices,
|
||||
@@ -61,7 +61,7 @@ describe('document-encryption usecases', () => {
|
||||
},
|
||||
});
|
||||
|
||||
const createDocumentWithEncryption = createDocumentCreationUsecase({
|
||||
const createDocumentWithEncryption = await createDocumentCreationUsecase({
|
||||
db,
|
||||
documentsStorageService: documentStorageServiceWithEncryption,
|
||||
config: overrideConfig(),
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
import type { Logger } from '@crowlog/logger';
|
||||
import type { Database } from '../../../app/database/database.types';
|
||||
import type { Config } from '../../../config/config.types';
|
||||
import type { DocumentStorageService } from '../documents.storage.services';
|
||||
import { eq, isNull } from 'drizzle-orm';
|
||||
import { eq, isNotNull, isNull } from 'drizzle-orm';
|
||||
import { createLogger } from '../../../shared/logger/logger';
|
||||
import { documentsTable } from '../../documents.table';
|
||||
import {
|
||||
createDocumentStorageService,
|
||||
|
||||
} from '../documents.storage.services';
|
||||
|
||||
export async function encryptAllUnencryptedDocuments({
|
||||
db,
|
||||
|
||||
@@ -52,7 +52,7 @@ describe('ingestion-folders usecases', () => {
|
||||
organizationsRepository,
|
||||
logger,
|
||||
fs,
|
||||
createDocument: createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
createDocument: await createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
});
|
||||
|
||||
// Check database
|
||||
@@ -154,7 +154,7 @@ describe('ingestion-folders usecases', () => {
|
||||
organizationsRepository,
|
||||
logger,
|
||||
fs,
|
||||
createDocument: createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
createDocument: await createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
});
|
||||
|
||||
// Check database
|
||||
@@ -257,7 +257,7 @@ describe('ingestion-folders usecases', () => {
|
||||
organizationsRepository,
|
||||
logger,
|
||||
fs,
|
||||
createDocument: createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
createDocument: await createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
}));
|
||||
|
||||
expect(error).to.deep.equal(createInvalidPostProcessingStrategyError({ strategy: 'unknown' }));
|
||||
@@ -335,7 +335,7 @@ describe('ingestion-folders usecases', () => {
|
||||
throw new Error('File not found');
|
||||
},
|
||||
},
|
||||
createDocument: createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
createDocument: await createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
});
|
||||
|
||||
// Check logs
|
||||
@@ -475,7 +475,7 @@ describe('ingestion-folders usecases', () => {
|
||||
organizationsRepository,
|
||||
logger,
|
||||
fs,
|
||||
createDocument: createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
createDocument: await createDocumentCreationUsecase({ db, config, logger, documentsStorageService, generateDocumentId, taskServices }),
|
||||
});
|
||||
|
||||
// Check database
|
||||
|
||||
@@ -47,7 +47,7 @@ export function createIngestionFolderWatcher({
|
||||
return {
|
||||
startWatchingIngestionFolders: async () => {
|
||||
const organizationsRepository = createOrganizationsRepository({ db });
|
||||
const createDocument = createDocumentCreationUsecase({ db, config, logger, taskServices, documentsStorageService });
|
||||
const createDocument = await createDocumentCreationUsecase({ db, config, logger, taskServices, documentsStorageService });
|
||||
|
||||
const ignored = await buildPathIgnoreFunction({ config, cwd, organizationsRepository });
|
||||
|
||||
@@ -235,10 +235,10 @@ async function buildPathIgnoreFunction({
|
||||
const { organizationIds } = await organizationsRepository.getAllOrganizationIds();
|
||||
|
||||
const doneFolders = strategy === 'move'
|
||||
? isAbsolute(moveToFolderPath) ? [moveToFolderPath] : uniq(organizationIds.map(id => join(cwd, folderRootPath, id, moveToFolderPath)))
|
||||
? isAbsolute(moveToFolderPath) ? moveToFolderPath : uniq(organizationIds.map(id => join(cwd, folderRootPath, id, moveToFolderPath)))
|
||||
: [];
|
||||
|
||||
const errorFolders = isAbsolute(errorFolder) ? [errorFolder] : uniq(organizationIds.map(id => join(cwd, folderRootPath, id, errorFolder)));
|
||||
const errorFolders = isAbsolute(errorFolder) ? errorFolder : uniq(organizationIds.map(id => join(cwd, folderRootPath, id, errorFolder)));
|
||||
|
||||
const ignoredFolders = [...doneFolders, ...errorFolders];
|
||||
const matchExcludedPatterns = picomatch(ignoredPatterns);
|
||||
|
||||
@@ -189,7 +189,7 @@ function setupIngestIntakeEmailRoute({ app, db, config, trackingServices, taskSe
|
||||
|
||||
const intakeEmailsRepository = createIntakeEmailsRepository({ db });
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
documentsStorageService,
|
||||
db,
|
||||
config,
|
||||
|
||||
@@ -29,7 +29,7 @@ describe('intake-emails usecases', () => {
|
||||
|
||||
const intakeEmailsRepository = createIntakeEmailsRepository({ db });
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
taskServices,
|
||||
documentsStorageService: inMemoryStorageDriverFactory(),
|
||||
@@ -71,7 +71,7 @@ describe('intake-emails usecases', () => {
|
||||
|
||||
const intakeEmailsRepository = createIntakeEmailsRepository({ db });
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
taskServices,
|
||||
documentsStorageService: inMemoryStorageDriverFactory(),
|
||||
@@ -104,7 +104,7 @@ describe('intake-emails usecases', () => {
|
||||
|
||||
const intakeEmailsRepository = createIntakeEmailsRepository({ db });
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
taskServices,
|
||||
documentsStorageService: inMemoryStorageDriverFactory(),
|
||||
@@ -142,7 +142,7 @@ describe('intake-emails usecases', () => {
|
||||
|
||||
const intakeEmailsRepository = createIntakeEmailsRepository({ db });
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
taskServices,
|
||||
documentsStorageService: inMemoryStorageDriverFactory(),
|
||||
@@ -191,7 +191,7 @@ describe('intake-emails usecases', () => {
|
||||
|
||||
const intakeEmailsRepository = createIntakeEmailsRepository({ db });
|
||||
|
||||
const createDocument = createDocumentCreationUsecase({
|
||||
const createDocument = await createDocumentCreationUsecase({
|
||||
db,
|
||||
taskServices,
|
||||
documentsStorageService: inMemoryStorageDriverFactory(),
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# @papra/api-sdk
|
||||
|
||||
## 1.1.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#464](https://github.com/papra-hq/papra/pull/464) [`14bc2b8`](https://github.com/papra-hq/papra/commit/14bc2b8f8d0d6605062f37188e7c57bbc61b2c1a) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Ditched CommonJs build for packages
|
||||
|
||||
## 1.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@papra/api-sdk",
|
||||
"type": "module",
|
||||
"version": "1.1.0",
|
||||
"version": "1.0.2",
|
||||
"packageManager": "pnpm@10.12.3",
|
||||
"description": "Api SDK for Papra, the document archiving platform.",
|
||||
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
|
||||
|
||||
@@ -1,16 +1,5 @@
|
||||
# @papra/cli
|
||||
|
||||
## 0.1.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#464](https://github.com/papra-hq/papra/pull/464) [`14bc2b8`](https://github.com/papra-hq/papra/commit/14bc2b8f8d0d6605062f37188e7c57bbc61b2c1a) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Ditched CommonJs build for packages
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`14bc2b8`](https://github.com/papra-hq/papra/commit/14bc2b8f8d0d6605062f37188e7c57bbc61b2c1a)]:
|
||||
- @papra/api-sdk@1.1.0
|
||||
|
||||
## 0.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@papra/cli",
|
||||
"type": "module",
|
||||
"version": "0.1.0",
|
||||
"version": "0.0.2",
|
||||
"packageManager": "pnpm@10.12.3",
|
||||
"description": "Command line interface for Papra, the document archiving platform.",
|
||||
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# @papra/lecture
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#464](https://github.com/papra-hq/papra/pull/464) [`14bc2b8`](https://github.com/papra-hq/papra/commit/14bc2b8f8d0d6605062f37188e7c57bbc61b2c1a) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Ditched CommonJs build for packages
|
||||
|
||||
## 0.1.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@papra/lecture",
|
||||
"type": "module",
|
||||
"version": "0.2.0",
|
||||
"version": "0.1.0",
|
||||
"packageManager": "pnpm@10.12.3",
|
||||
"description": "A simple library to extract text from files",
|
||||
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# @papra/webhooks
|
||||
|
||||
## 0.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#464](https://github.com/papra-hq/papra/pull/464) [`14bc2b8`](https://github.com/papra-hq/papra/commit/14bc2b8f8d0d6605062f37188e7c57bbc61b2c1a) Thanks [@CorentinTh](https://github.com/CorentinTh)! - Ditched CommonJs build for packages
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@papra/webhooks",
|
||||
"type": "module",
|
||||
"version": "0.3.0",
|
||||
"version": "0.2.0",
|
||||
"packageManager": "pnpm@10.12.3",
|
||||
"description": "Webhooks helper library for Papra, the document archiving platform.",
|
||||
"author": "Corentin Thomasset <corentinth@proton.me> (https://corentin.tech)",
|
||||
|
||||
Reference in New Issue
Block a user