cnpmcore 4.10.0 → 4.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/common/FileUtil.js +1 -1
- package/dist/app/common/PackageUtil.d.ts +1 -1
- package/dist/app/common/adapter/BugVersionStore.d.ts +1 -1
- package/dist/app/common/adapter/NFSAdapter.js +1 -1
- package/dist/app/common/adapter/NPMRegistry.d.ts +1 -1
- package/dist/app/common/adapter/NPMRegistry.js +1 -1
- package/dist/app/common/adapter/binary/AbstractBinary.d.ts +2 -2
- package/dist/app/common/adapter/binary/ApiBinary.d.ts +1 -1
- package/dist/app/common/adapter/binary/ApiBinary.js +2 -2
- package/dist/app/common/adapter/binary/BucketBinary.d.ts +2 -2
- package/dist/app/common/adapter/binary/BucketBinary.js +3 -3
- package/dist/app/common/adapter/binary/ChromeForTestingBinary.d.ts +1 -1
- package/dist/app/common/adapter/binary/ChromeForTestingBinary.js +2 -2
- package/dist/app/common/adapter/binary/CypressBinary.d.ts +1 -1
- package/dist/app/common/adapter/binary/CypressBinary.js +2 -2
- package/dist/app/common/adapter/binary/EdgedriverBinary.d.ts +1 -1
- package/dist/app/common/adapter/binary/EdgedriverBinary.js +2 -2
- package/dist/app/common/adapter/binary/ElectronBinary.d.ts +3 -3
- package/dist/app/common/adapter/binary/ElectronBinary.js +4 -4
- package/dist/app/common/adapter/binary/FirefoxBinary.d.ts +2 -2
- package/dist/app/common/adapter/binary/FirefoxBinary.js +3 -3
- package/dist/app/common/adapter/binary/GithubBinary.d.ts +2 -2
- package/dist/app/common/adapter/binary/GithubBinary.js +7 -7
- package/dist/app/common/adapter/binary/ImageminBinary.d.ts +2 -2
- package/dist/app/common/adapter/binary/ImageminBinary.js +3 -3
- package/dist/app/common/adapter/binary/NodeBinary.d.ts +2 -2
- package/dist/app/common/adapter/binary/NodeBinary.js +3 -3
- package/dist/app/common/adapter/binary/NodePreGypBinary.d.ts +2 -2
- package/dist/app/common/adapter/binary/NodePreGypBinary.js +3 -3
- package/dist/app/common/adapter/binary/NwjsBinary.d.ts +2 -2
- package/dist/app/common/adapter/binary/NwjsBinary.js +4 -4
- package/dist/app/common/adapter/binary/PlaywrightBinary.d.ts +1 -1
- package/dist/app/common/adapter/binary/PlaywrightBinary.js +2 -2
- package/dist/app/common/adapter/binary/PrismaBinary.d.ts +2 -2
- package/dist/app/common/adapter/binary/PrismaBinary.js +3 -3
- package/dist/app/common/adapter/binary/PuppeteerBinary.d.ts +1 -1
- package/dist/app/common/adapter/binary/PuppeteerBinary.js +2 -2
- package/dist/app/common/adapter/binary/SqlcipherBinary.d.ts +1 -1
- package/dist/app/common/adapter/binary/SqlcipherBinary.js +2 -2
- package/dist/app/common/adapter/changesStream/AbstractChangesStream.d.ts +2 -2
- package/dist/app/common/adapter/changesStream/CnpmcoreChangesStream.d.ts +2 -2
- package/dist/app/common/adapter/changesStream/CnpmcoreChangesStream.js +2 -2
- package/dist/app/common/adapter/changesStream/CnpmjsorgChangesStream.d.ts +2 -2
- package/dist/app/common/adapter/changesStream/CnpmjsorgChangesStream.js +2 -2
- package/dist/app/common/adapter/changesStream/NpmChangesStream.d.ts +2 -2
- package/dist/app/common/adapter/changesStream/NpmChangesStream.js +2 -2
- package/dist/app/common/typing.d.ts +1 -1
- package/dist/app/core/entity/Binary.d.ts +2 -2
- package/dist/app/core/entity/Binary.js +2 -2
- package/dist/app/core/entity/Change.d.ts +2 -2
- package/dist/app/core/entity/Change.js +2 -2
- package/dist/app/core/entity/Dist.d.ts +2 -2
- package/dist/app/core/entity/Dist.js +2 -2
- package/dist/app/core/entity/Hook.d.ts +3 -3
- package/dist/app/core/entity/Hook.js +2 -2
- package/dist/app/core/entity/HookEvent.d.ts +1 -1
- package/dist/app/core/entity/HookEvent.js +1 -1
- package/dist/app/core/entity/Package.d.ts +3 -3
- package/dist/app/core/entity/Package.js +4 -4
- package/dist/app/core/entity/PackageTag.d.ts +2 -2
- package/dist/app/core/entity/PackageTag.js +2 -2
- package/dist/app/core/entity/PackageVersion.d.ts +3 -3
- package/dist/app/core/entity/PackageVersion.js +3 -3
- package/dist/app/core/entity/PackageVersionBlock.d.ts +2 -2
- package/dist/app/core/entity/PackageVersionBlock.js +2 -2
- package/dist/app/core/entity/PackageVersionFile.d.ts +3 -3
- package/dist/app/core/entity/PackageVersionFile.js +2 -2
- package/dist/app/core/entity/PackageVersionManifest.d.ts +2 -2
- package/dist/app/core/entity/PackageVersionManifest.js +2 -2
- package/dist/app/core/entity/ProxyCache.d.ts +3 -3
- package/dist/app/core/entity/ProxyCache.js +3 -3
- package/dist/app/core/entity/Registry.d.ts +3 -3
- package/dist/app/core/entity/Registry.js +2 -2
- package/dist/app/core/entity/Scope.d.ts +2 -2
- package/dist/app/core/entity/Scope.js +2 -2
- package/dist/app/core/entity/SqlRange.js +1 -1
- package/dist/app/core/entity/Task.d.ts +4 -4
- package/dist/app/core/entity/Task.js +6 -6
- package/dist/app/core/entity/Token.d.ts +2 -2
- package/dist/app/core/entity/Token.js +2 -2
- package/dist/app/core/entity/User.d.ts +2 -2
- package/dist/app/core/entity/User.js +3 -3
- package/dist/app/core/entity/WebauthnCredential.d.ts +2 -2
- package/dist/app/core/entity/WebauthnCredential.js +2 -2
- package/dist/app/core/event/BugVersionFixHandler.js +2 -2
- package/dist/app/core/event/CacheCleaner.js +1 -1
- package/dist/app/core/event/ChangesStream.d.ts +4 -4
- package/dist/app/core/event/ChangesStream.js +4 -4
- package/dist/app/core/event/StoreManifest.js +3 -3
- package/dist/app/core/event/SyncESPackage.d.ts +1 -1
- package/dist/app/core/event/SyncESPackage.js +1 -1
- package/dist/app/core/event/SyncPackageVersionFile.js +2 -2
- package/dist/app/core/event/TotalHandler.d.ts +1 -1
- package/dist/app/core/event/TotalHandler.js +1 -1
- package/dist/app/core/event/index.d.ts +1 -1
- package/dist/app/core/service/BinarySyncerService.d.ts +5 -5
- package/dist/app/core/service/BinarySyncerService.js +10 -10
- package/dist/app/core/service/BugVersionService.d.ts +1 -1
- package/dist/app/core/service/BugVersionService.js +3 -3
- package/dist/app/core/service/CacheService.d.ts +2 -2
- package/dist/app/core/service/CacheService.js +1 -1
- package/dist/app/core/service/ChangesStreamService.d.ts +3 -3
- package/dist/app/core/service/ChangesStreamService.js +8 -8
- package/dist/app/core/service/CreateHookTriggerService.d.ts +2 -2
- package/dist/app/core/service/CreateHookTriggerService.js +6 -6
- package/dist/app/core/service/FixNoPaddingVersionService.js +1 -1
- package/dist/app/core/service/HomeService.d.ts +1 -1
- package/dist/app/core/service/HomeService.js +2 -2
- package/dist/app/core/service/HookManageService.d.ts +2 -2
- package/dist/app/core/service/HookManageService.js +1 -1
- package/dist/app/core/service/HookTriggerService.d.ts +3 -3
- package/dist/app/core/service/HookTriggerService.js +3 -3
- package/dist/app/core/service/PackageManagerService.d.ts +7 -7
- package/dist/app/core/service/PackageManagerService.js +8 -8
- package/dist/app/core/service/PackageSearchService.d.ts +4 -4
- package/dist/app/core/service/PackageSearchService.js +2 -2
- package/dist/app/core/service/PackageSyncerService.d.ts +6 -6
- package/dist/app/core/service/PackageSyncerService.js +7 -7
- package/dist/app/core/service/PackageVersionFileService.d.ts +4 -4
- package/dist/app/core/service/PackageVersionFileService.js +5 -5
- package/dist/app/core/service/PackageVersionService.d.ts +1 -1
- package/dist/app/core/service/PackageVersionService.js +2 -2
- package/dist/app/core/service/ProxyCacheService.d.ts +5 -5
- package/dist/app/core/service/ProxyCacheService.js +7 -7
- package/dist/app/core/service/RegistryManagerService.d.ts +3 -3
- package/dist/app/core/service/RegistryManagerService.js +5 -5
- package/dist/app/core/service/ScopeManagerService.d.ts +3 -3
- package/dist/app/core/service/ScopeManagerService.js +2 -2
- package/dist/app/core/service/TaskService.d.ts +7 -7
- package/dist/app/core/service/TaskService.js +2 -2
- package/dist/app/core/service/TokenService.d.ts +3 -3
- package/dist/app/core/service/TokenService.js +6 -6
- package/dist/app/core/service/UserService.d.ts +6 -6
- package/dist/app/core/service/UserService.js +7 -7
- package/dist/app/core/util/EntityUtil.d.ts +1 -1
- package/dist/app/infra/AuthAdapter.d.ts +1 -1
- package/dist/app/infra/NFSClientAdapter.d.ts +1 -1
- package/dist/app/infra/QueueAdapter.d.ts +1 -1
- package/dist/app/infra/SearchAdapter.d.ts +1 -1
- package/dist/app/port/UserRoleManager.d.ts +3 -3
- package/dist/app/port/UserRoleManager.js +1 -1
- package/dist/app/port/config.d.ts +3 -3
- package/dist/app/port/config.js +1 -1
- package/dist/app/port/controller/AbstractController.d.ts +8 -8
- package/dist/app/port/controller/AbstractController.js +4 -4
- package/dist/app/port/controller/AccessController.d.ts +1 -1
- package/dist/app/port/controller/AccessController.js +3 -3
- package/dist/app/port/controller/BinarySyncController.d.ts +2 -2
- package/dist/app/port/controller/BinarySyncController.js +4 -4
- package/dist/app/port/controller/ChangesStreamController.d.ts +1 -1
- package/dist/app/port/controller/ChangesStreamController.js +1 -1
- package/dist/app/port/controller/DownloadController.d.ts +1 -1
- package/dist/app/port/controller/DownloadController.js +3 -3
- package/dist/app/port/controller/HomeController.d.ts +2 -2
- package/dist/app/port/controller/HomeController.js +1 -1
- package/dist/app/port/controller/HookController.d.ts +5 -5
- package/dist/app/port/controller/HookController.js +2 -2
- package/dist/app/port/controller/PackageBlockController.d.ts +2 -2
- package/dist/app/port/controller/PackageBlockController.js +4 -4
- package/dist/app/port/controller/PackageSyncController.d.ts +5 -5
- package/dist/app/port/controller/PackageSyncController.js +5 -5
- package/dist/app/port/controller/PackageTagController.d.ts +1 -1
- package/dist/app/port/controller/PackageTagController.js +3 -3
- package/dist/app/port/controller/PackageVersionFileController.d.ts +1 -1
- package/dist/app/port/controller/PackageVersionFileController.js +5 -5
- package/dist/app/port/controller/ProxyCacheController.d.ts +2 -2
- package/dist/app/port/controller/ProxyCacheController.js +4 -4
- package/dist/app/port/controller/RegistryController.d.ts +3 -3
- package/dist/app/port/controller/RegistryController.js +3 -3
- package/dist/app/port/controller/ScopeController.d.ts +2 -2
- package/dist/app/port/controller/ScopeController.js +3 -3
- package/dist/app/port/controller/TokenController.d.ts +2 -2
- package/dist/app/port/controller/TokenController.js +2 -2
- package/dist/app/port/controller/UserController.d.ts +2 -2
- package/dist/app/port/controller/UserController.js +4 -4
- package/dist/app/port/controller/admin/PaddingVersionController.d.ts +1 -1
- package/dist/app/port/controller/admin/PaddingVersionController.js +1 -1
- package/dist/app/port/controller/convertor/HookConvertor.d.ts +4 -4
- package/dist/app/port/controller/package/DownloadPackageVersionTar.d.ts +2 -2
- package/dist/app/port/controller/package/DownloadPackageVersionTar.js +3 -3
- package/dist/app/port/controller/package/RemovePackageVersionController.d.ts +1 -1
- package/dist/app/port/controller/package/RemovePackageVersionController.js +2 -2
- package/dist/app/port/controller/package/SavePackageVersionController.d.ts +1 -1
- package/dist/app/port/controller/package/SavePackageVersionController.js +3 -3
- package/dist/app/port/controller/package/SearchPackageController.d.ts +2 -2
- package/dist/app/port/controller/package/SearchPackageController.js +3 -3
- package/dist/app/port/controller/package/ShowPackageController.d.ts +1 -1
- package/dist/app/port/controller/package/ShowPackageController.js +5 -5
- package/dist/app/port/controller/package/ShowPackageVersionController.d.ts +1 -1
- package/dist/app/port/controller/package/ShowPackageVersionController.js +6 -6
- package/dist/app/port/controller/package/UpdatePackageController.d.ts +1 -1
- package/dist/app/port/controller/package/UpdatePackageController.js +2 -2
- package/dist/app/port/middleware/AdminAccess.js +1 -1
- package/dist/app/port/middleware/AlwaysAuth.js +1 -1
- package/dist/app/port/middleware/ErrorHandler.js +1 -1
- package/dist/app/port/middleware/index.js +3 -3
- package/dist/app/port/schedule/CheckProxyCacheUpdateWorker.js +2 -2
- package/dist/app/port/schedule/CheckRecentlyUpdatedPackages.js +2 -2
- package/dist/app/port/schedule/CleanTempDir.js +1 -1
- package/dist/app/port/schedule/CreateSyncBinaryTask.js +1 -1
- package/dist/app/port/schedule/CreateTriggerHookWorker.js +1 -1
- package/dist/app/port/schedule/SyncBinaryWorker.js +1 -1
- package/dist/app/port/schedule/SyncPackageWorker.js +1 -1
- package/dist/app/port/schedule/SyncProxyCacheWorker.js +1 -1
- package/dist/app/port/schedule/TriggerHookWorker.js +1 -1
- package/dist/app/port/schedule/UpdateTotalData.js +3 -3
- package/dist/app/port/typebox.d.ts +2 -2
- package/dist/app/port/typebox.js +3 -3
- package/dist/app/port/webauth/WebauthController.d.ts +2 -2
- package/dist/app/port/webauth/WebauthController.js +4 -4
- package/dist/app/repository/BinaryRepository.d.ts +2 -2
- package/dist/app/repository/BinaryRepository.js +3 -3
- package/dist/app/repository/ChangeRepository.d.ts +3 -3
- package/dist/app/repository/ChangeRepository.js +2 -2
- package/dist/app/repository/DistRepository.d.ts +2 -2
- package/dist/app/repository/HookRepository.d.ts +2 -2
- package/dist/app/repository/HookRepository.js +2 -2
- package/dist/app/repository/PackageRepository.d.ts +8 -8
- package/dist/app/repository/PackageRepository.js +7 -7
- package/dist/app/repository/PackageVersionBlockRepository.d.ts +3 -3
- package/dist/app/repository/PackageVersionBlockRepository.js +3 -3
- package/dist/app/repository/PackageVersionDownloadRepository.d.ts +2 -2
- package/dist/app/repository/PackageVersionDownloadRepository.js +1 -1
- package/dist/app/repository/PackageVersionFileRepository.d.ts +2 -2
- package/dist/app/repository/PackageVersionFileRepository.js +4 -4
- package/dist/app/repository/PackageVersionRepository.d.ts +3 -3
- package/dist/app/repository/PackageVersionRepository.js +2 -2
- package/dist/app/repository/ProxyCacheRepository.d.ts +5 -5
- package/dist/app/repository/ProxyCacheRepository.js +4 -4
- package/dist/app/repository/RegistryRepository.d.ts +4 -4
- package/dist/app/repository/RegistryRepository.js +4 -4
- package/dist/app/repository/ScopeRepository.d.ts +4 -4
- package/dist/app/repository/ScopeRepository.js +4 -4
- package/dist/app/repository/SearchRepository.d.ts +1 -1
- package/dist/app/repository/TaskRepository.d.ts +8 -8
- package/dist/app/repository/TaskRepository.js +4 -4
- package/dist/app/repository/TotalRepository.d.ts +1 -1
- package/dist/app/repository/TotalRepository.js +2 -2
- package/dist/app/repository/UserRepository.d.ts +4 -4
- package/dist/app/repository/UserRepository.js +6 -6
- package/dist/app/repository/model/Binary.d.ts +1 -1
- package/dist/app/repository/model/Binary.js +1 -1
- package/dist/app/repository/model/Change.d.ts +1 -1
- package/dist/app/repository/model/Change.js +1 -1
- package/dist/app/repository/model/Dist.d.ts +1 -1
- package/dist/app/repository/model/Dist.js +1 -1
- package/dist/app/repository/model/HistoryTask.d.ts +2 -2
- package/dist/app/repository/model/HistoryTask.js +1 -1
- package/dist/app/repository/model/Hook.d.ts +2 -2
- package/dist/app/repository/model/Hook.js +1 -1
- package/dist/app/repository/model/Maintainer.d.ts +1 -1
- package/dist/app/repository/model/Maintainer.js +1 -1
- package/dist/app/repository/model/Package.d.ts +1 -1
- package/dist/app/repository/model/Package.js +2 -2
- package/dist/app/repository/model/PackageDep.d.ts +1 -1
- package/dist/app/repository/model/PackageDep.js +1 -1
- package/dist/app/repository/model/PackageTag.d.ts +1 -1
- package/dist/app/repository/model/PackageTag.js +1 -1
- package/dist/app/repository/model/PackageVersion.d.ts +1 -1
- package/dist/app/repository/model/PackageVersion.js +3 -3
- package/dist/app/repository/model/PackageVersionBlock.d.ts +1 -1
- package/dist/app/repository/model/PackageVersionBlock.js +1 -1
- package/dist/app/repository/model/PackageVersionDownload.d.ts +1 -1
- package/dist/app/repository/model/PackageVersionDownload.js +1 -1
- package/dist/app/repository/model/PackageVersionFile.d.ts +1 -1
- package/dist/app/repository/model/PackageVersionFile.js +2 -2
- package/dist/app/repository/model/PackageVersionManifest.d.ts +1 -1
- package/dist/app/repository/model/PackageVersionManifest.js +1 -1
- package/dist/app/repository/model/ProxyCache.d.ts +2 -2
- package/dist/app/repository/model/ProxyCache.js +1 -1
- package/dist/app/repository/model/Registry.d.ts +2 -2
- package/dist/app/repository/model/Registry.js +1 -1
- package/dist/app/repository/model/Scope.d.ts +1 -1
- package/dist/app/repository/model/Scope.js +1 -1
- package/dist/app/repository/model/Task.d.ts +2 -2
- package/dist/app/repository/model/Task.js +1 -1
- package/dist/app/repository/model/Token.d.ts +1 -1
- package/dist/app/repository/model/Token.js +1 -1
- package/dist/app/repository/model/TokenPackage.d.ts +1 -1
- package/dist/app/repository/model/TokenPackage.js +1 -1
- package/dist/app/repository/model/Total.d.ts +1 -1
- package/dist/app/repository/model/Total.js +1 -1
- package/dist/app/repository/model/User.d.ts +1 -1
- package/dist/app/repository/model/User.js +1 -1
- package/dist/app/repository/model/WebauthnCredential.d.ts +1 -1
- package/dist/app/repository/model/WebauthnCredential.js +1 -1
- package/dist/app/repository/util/EntityProperty.js +1 -1
- package/dist/app/repository/util/ModelConvertor.d.ts +1 -1
- package/dist/app/repository/util/ModelConvertor.js +1 -1
- package/dist/app.js +1 -1
- package/dist/config/binaries.d.ts +5 -1
- package/dist/config/binaries.js +6 -3
- package/dist/config/config.default.d.ts +1 -1
- package/dist/config/config.default.js +3 -3
- package/dist/config/config.unittest.js +1 -1
- package/package.json +3 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AbstractRepository } from './AbstractRepository.
|
|
2
|
-
import type { TaskState, TaskType } from '../../app/common/enum/Task.
|
|
3
|
-
import { Task as TaskEntity, type TaskUpdateCondition } from '../core/entity/Task.
|
|
1
|
+
import { AbstractRepository } from './AbstractRepository.ts';
|
|
2
|
+
import type { TaskState, TaskType } from '../../app/common/enum/Task.ts';
|
|
3
|
+
import { Task as TaskEntity, type TaskUpdateCondition } from '../core/entity/Task.ts';
|
|
4
4
|
export declare class TaskRepository extends AbstractRepository {
|
|
5
5
|
private readonly Task;
|
|
6
6
|
private readonly HistoryTask;
|
|
@@ -8,15 +8,15 @@ export declare class TaskRepository extends AbstractRepository {
|
|
|
8
8
|
idempotentSaveTask(task: TaskEntity, condition: TaskUpdateCondition): Promise<boolean>;
|
|
9
9
|
saveTaskToHistory(task: TaskEntity): Promise<void>;
|
|
10
10
|
updateSpecificVersionsOfWaitingTask(task: TaskEntity, specificVersions?: string[]): Promise<void>;
|
|
11
|
-
findTask(taskId: string): Promise<TaskEntity<import("../core/entity/Task.
|
|
12
|
-
findTaskByBizId(bizId: string): Promise<TaskEntity<import("../core/entity/Task.
|
|
11
|
+
findTask(taskId: string): Promise<TaskEntity<import("../core/entity/Task.ts").TaskBaseData> | null>;
|
|
12
|
+
findTaskByBizId(bizId: string): Promise<TaskEntity<import("../core/entity/Task.ts").TaskBaseData> | null>;
|
|
13
13
|
findTasks(taskIds: string[]): Promise<TaskEntity[]>;
|
|
14
14
|
findTasksByCondition(where: {
|
|
15
15
|
targetName?: string;
|
|
16
16
|
state?: TaskState;
|
|
17
17
|
type: TaskType;
|
|
18
18
|
}): Promise<TaskEntity[]>;
|
|
19
|
-
findTaskByTargetName(targetName: string, type: TaskType, state?: TaskState): Promise<TaskEntity<import("../core/entity/Task.
|
|
20
|
-
findTimeoutTasks(taskState: TaskState, timeout: number): Promise<TaskEntity<import("../core/entity/Task.
|
|
21
|
-
findTaskByAuthorIpAndType(authorIp: string, type: TaskType): Promise<TaskEntity<import("../core/entity/Task.
|
|
19
|
+
findTaskByTargetName(targetName: string, type: TaskType, state?: TaskState): Promise<TaskEntity<import("../core/entity/Task.ts").TaskBaseData> | null>;
|
|
20
|
+
findTimeoutTasks(taskState: TaskState, timeout: number): Promise<TaskEntity<import("../core/entity/Task.ts").TaskBaseData>[]>;
|
|
21
|
+
findTaskByAuthorIpAndType(authorIp: string, type: TaskType): Promise<TaskEntity<import("../core/entity/Task.ts").TaskBaseData>[]>;
|
|
22
22
|
}
|
|
@@ -10,10 +10,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
import assert from 'node:assert/strict';
|
|
11
11
|
import { uniq } from 'lodash-es';
|
|
12
12
|
import { AccessLevel, Inject, SingletonProto } from '@eggjs/tegg';
|
|
13
|
-
import { ModelConvertor } from
|
|
14
|
-
import { isDuplicateKeyError } from
|
|
15
|
-
import { AbstractRepository } from
|
|
16
|
-
import { Task as TaskEntity, } from
|
|
13
|
+
import { ModelConvertor } from "./util/ModelConvertor.js";
|
|
14
|
+
import { isDuplicateKeyError } from "./util/ErrorUtil.js";
|
|
15
|
+
import { AbstractRepository } from "./AbstractRepository.js";
|
|
16
|
+
import { Task as TaskEntity, } from "../core/entity/Task.js";
|
|
17
17
|
let TaskRepository = class TaskRepository extends AbstractRepository {
|
|
18
18
|
async saveTask(task) {
|
|
19
19
|
if (task.id) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractRepository } from './AbstractRepository.
|
|
1
|
+
import { AbstractRepository } from './AbstractRepository.ts';
|
|
2
2
|
export declare class TotalRepository extends AbstractRepository {
|
|
3
3
|
private readonly Total;
|
|
4
4
|
incrementPackageCount(count?: number): Promise<void>;
|
|
@@ -8,8 +8,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { AccessLevel, Inject, SingletonProto } from '@eggjs/tegg';
|
|
11
|
-
import { AbstractRepository } from
|
|
12
|
-
import { TotalType } from
|
|
11
|
+
import { AbstractRepository } from "./AbstractRepository.js";
|
|
12
|
+
import { TotalType } from "../common/enum/Total.js";
|
|
13
13
|
let TotalRepository = class TotalRepository extends AbstractRepository {
|
|
14
14
|
// Package count methods
|
|
15
15
|
async incrementPackageCount(count = 1) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { User as UserEntity } from '../core/entity/User.
|
|
2
|
-
import { Token as TokenEntity } from '../core/entity/Token.
|
|
3
|
-
import { WebauthnCredential as WebauthnCredentialEntity } from '../core/entity/WebauthnCredential.
|
|
4
|
-
import { AbstractRepository } from './AbstractRepository.
|
|
1
|
+
import { User as UserEntity } from '../core/entity/User.ts';
|
|
2
|
+
import { Token as TokenEntity } from '../core/entity/Token.ts';
|
|
3
|
+
import { WebauthnCredential as WebauthnCredentialEntity } from '../core/entity/WebauthnCredential.ts';
|
|
4
|
+
import { AbstractRepository } from './AbstractRepository.ts';
|
|
5
5
|
export declare class UserRepository extends AbstractRepository {
|
|
6
6
|
private readonly User;
|
|
7
7
|
private readonly Token;
|
|
@@ -8,12 +8,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { AccessLevel, Inject, SingletonProto } from '@eggjs/tegg';
|
|
11
|
-
import { ModelConvertor } from
|
|
12
|
-
import { User as UserEntity } from
|
|
13
|
-
import { Token as TokenEntity, isGranularToken } from
|
|
14
|
-
import { WebauthnCredential as WebauthnCredentialEntity } from
|
|
15
|
-
import { AbstractRepository } from
|
|
16
|
-
import { getFullname, getScopeAndName } from
|
|
11
|
+
import { ModelConvertor } from "./util/ModelConvertor.js";
|
|
12
|
+
import { User as UserEntity } from "../core/entity/User.js";
|
|
13
|
+
import { Token as TokenEntity, isGranularToken } from "../core/entity/Token.js";
|
|
14
|
+
import { WebauthnCredential as WebauthnCredentialEntity } from "../core/entity/WebauthnCredential.js";
|
|
15
|
+
import { AbstractRepository } from "./AbstractRepository.js";
|
|
16
|
+
import { getFullname, getScopeAndName } from "../common/PackageUtil.js";
|
|
17
17
|
let UserRepository = class UserRepository extends AbstractRepository {
|
|
18
18
|
async saveUser(user) {
|
|
19
19
|
if (user.id) {
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let Binary = class Binary extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let Change = class Change extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let Dist = class Dist extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bone } from '../util/leoric.
|
|
2
|
-
import type { TaskState, TaskType } from '../../common/enum/Task.
|
|
1
|
+
import { Bone } from '../util/leoric.ts';
|
|
2
|
+
import type { TaskState, TaskType } from '../../common/enum/Task.ts';
|
|
3
3
|
export declare class HistoryTask extends Bone {
|
|
4
4
|
id: bigint;
|
|
5
5
|
createdAt: Date;
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes, LENGTH_VARIANTS } from
|
|
11
|
+
import { Bone, DataTypes, LENGTH_VARIANTS } from "../util/leoric.js";
|
|
12
12
|
let HistoryTask = class HistoryTask extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bone } from '../util/leoric.
|
|
2
|
-
import type { HookType } from '../../common/enum/Hook.
|
|
1
|
+
import { Bone } from '../util/leoric.ts';
|
|
2
|
+
import type { HookType } from '../../common/enum/Hook.ts';
|
|
3
3
|
export declare class Hook extends Bone {
|
|
4
4
|
id: bigint;
|
|
5
5
|
createdAt: Date;
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let Hook = class Hook extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let Maintainer = class Maintainer extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,8 +8,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
12
|
-
import { EntityProperty } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
|
+
import { EntityProperty } from "../util/EntityProperty.js";
|
|
13
13
|
let Package = class Package extends Bone {
|
|
14
14
|
};
|
|
15
15
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let PackageDep = class PackageDep extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let PackageTag = class PackageTag extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,9 +8,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
12
|
-
import { EntityProperty } from
|
|
13
|
-
import { PaddingSemVer } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
|
+
import { EntityProperty } from "../util/EntityProperty.js";
|
|
13
|
+
import { PaddingSemVer } from "../../core/entity/PaddingSemVer.js";
|
|
14
14
|
let PackageVersion = class PackageVersion extends Bone {
|
|
15
15
|
static beforeCreate(instance) {
|
|
16
16
|
if (!instance.paddingVersion) {
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes, LENGTH_VARIANTS } from
|
|
11
|
+
import { Bone, DataTypes, LENGTH_VARIANTS } from "../util/leoric.js";
|
|
12
12
|
let PackageVersionBlock = class PackageVersionBlock extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let PackageVersionDownload = class PackageVersionDownload extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,8 +8,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
12
|
-
import { EntityProperty } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
|
+
import { EntityProperty } from "../util/EntityProperty.js";
|
|
13
13
|
let PackageVersionFile = class PackageVersionFile extends Bone {
|
|
14
14
|
};
|
|
15
15
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let PackageVersionManifest = class PackageVersionManifest extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bone } from '../util/leoric.
|
|
2
|
-
import type { DIST_NAMES } from '../../core/entity/Package.
|
|
1
|
+
import { Bone } from '../util/leoric.ts';
|
|
2
|
+
import type { DIST_NAMES } from '../../core/entity/Package.ts';
|
|
3
3
|
export declare class ProxyCache extends Bone {
|
|
4
4
|
id: bigint;
|
|
5
5
|
createdAt: Date;
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let ProxyCache = class ProxyCache extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bone } from '../util/leoric.
|
|
2
|
-
import type { RegistryType } from '../../common/enum/Registry.
|
|
1
|
+
import { Bone } from '../util/leoric.ts';
|
|
2
|
+
import type { RegistryType } from '../../common/enum/Registry.ts';
|
|
3
3
|
export declare class Registry extends Bone {
|
|
4
4
|
id: bigint;
|
|
5
5
|
createdAt: Date;
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let Registry = class Registry extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let Scope = class Scope extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bone } from '../util/leoric.
|
|
2
|
-
import type { TaskState, TaskType } from '../../common/enum/Task.
|
|
1
|
+
import { Bone } from '../util/leoric.ts';
|
|
2
|
+
import type { TaskState, TaskType } from '../../common/enum/Task.ts';
|
|
3
3
|
export declare class Task extends Bone {
|
|
4
4
|
id: bigint;
|
|
5
5
|
createdAt: Date;
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes, LENGTH_VARIANTS } from
|
|
11
|
+
import { Bone, DataTypes, LENGTH_VARIANTS } from "../util/leoric.js";
|
|
12
12
|
let Task = class Task extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let Token = class Token extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let TokenPackage = class TokenPackage extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let Total = class Total extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let User = class User extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { Attribute, Model } from '@eggjs/tegg/orm';
|
|
11
|
-
import { Bone, DataTypes } from
|
|
11
|
+
import { Bone, DataTypes } from "../util/leoric.js";
|
|
12
12
|
let WebauthnCredential = class WebauthnCredential extends Bone {
|
|
13
13
|
};
|
|
14
14
|
__decorate([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import assert from 'node:assert';
|
|
2
|
-
import { ModelConvertorUtil } from
|
|
2
|
+
import { ModelConvertorUtil } from "./ModelConvertorUtil.js";
|
|
3
3
|
export function EntityProperty(entityProperty) {
|
|
4
4
|
// oxlint-disable-next-line typescript-eslint/no-explicit-any
|
|
5
5
|
return (target, modelProperty) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModelMetadataUtil } from '@eggjs/tegg/orm';
|
|
2
2
|
import { get as lodashGet, set as lodashSet } from 'lodash-es';
|
|
3
|
-
import { ModelConvertorUtil } from
|
|
3
|
+
import { ModelConvertorUtil } from "./ModelConvertorUtil.js";
|
|
4
4
|
const CREATED_AT = 'createdAt';
|
|
5
5
|
const UPDATED_AT = 'updatedAt';
|
|
6
6
|
const ID = 'id';
|
package/dist/app.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from 'node:path';
|
|
2
2
|
import { readFile } from 'node:fs/promises';
|
|
3
|
-
import { ChangesStreamService } from
|
|
3
|
+
import { ChangesStreamService } from "./app/core/service/ChangesStreamService.js";
|
|
4
4
|
export default class CnpmcoreAppHook {
|
|
5
5
|
constructor(app) {
|
|
6
6
|
this.app = app;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BinaryType } from '../app/common/enum/Binary.
|
|
1
|
+
import { BinaryType } from '../app/common/enum/Binary.ts';
|
|
2
2
|
declare const binaries: {
|
|
3
3
|
readonly nwjs: {
|
|
4
4
|
readonly category: "nwjs";
|
|
@@ -60,6 +60,9 @@ declare const binaries: {
|
|
|
60
60
|
readonly type: BinaryType.GitHub;
|
|
61
61
|
readonly repo: "astral-sh/python-build-standalone";
|
|
62
62
|
readonly distUrl: "https://github.com/astral-sh/python-build-standalone/releases";
|
|
63
|
+
readonly options: {
|
|
64
|
+
readonly perPage: 10;
|
|
65
|
+
};
|
|
63
66
|
};
|
|
64
67
|
readonly cypress: {
|
|
65
68
|
readonly category: "cypress";
|
|
@@ -913,6 +916,7 @@ export interface BinaryTaskConfig {
|
|
|
913
916
|
nodeArchs?: Record<string, readonly string[]>;
|
|
914
917
|
binFiles?: Record<string, readonly string[]>;
|
|
915
918
|
maxPage?: number;
|
|
919
|
+
perPage?: number;
|
|
916
920
|
npmPackageName?: string;
|
|
917
921
|
requiredNapiVersions?: boolean;
|
|
918
922
|
ignoreDownloadStatuses?: number[];
|