Skip to content

Commit 6645113

Browse files
committed
style: cleanup
1 parent 2c012d3 commit 6645113

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

src/consts.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ export const BUILD_TYPE = {
7878
BUILD: 'build',
7979
CHANGELOG: 'changelog',
8080
PREFIX_GROUPS_CHANGELOG: 'prefix-groups-changelog',
81-
DOCUMENT_GROUP: 'documentGroup',
82-
REDUCED_SOURCE_SPECIFICATIONS: 'reducedSourceSpecifications',
83-
MERGED_SPECIFICATION: 'mergedSpecification',
81+
DOCUMENT_GROUP: 'documentGroup', // deprecated
82+
REDUCED_SOURCE_SPECIFICATIONS: 'reducedSourceSpecifications', // deprecated
83+
MERGED_SPECIFICATION: 'mergedSpecification', // deprecated
8484
EXPORT_VERSION: 'exportVersion',
8585
EXPORT_REST_DOCUMENT: 'exportRestDocument',
8686
EXPORT_REST_OPERATIONS_GROUP: 'exportRestOperationsGroup',

src/types/internal/documents.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export interface ZippableDocument<T = any> {
3838
publish?: boolean
3939
}
4040

41-
// todo is there's a need to convert everything to VersionDocument, even if it is for export? (looks like yes cos buildBinaryDocument and buildUnknownDocument already use it) (nope)
4241
export interface VersionDocument<T = any> extends ZippableDocument<T> {
4342
format: FileFormat
4443
slug: string

src/types/package/config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616

1717
import { BuildConfigRef, BuildType, ExportFormat, PackageId, VersionId } from '../external'
1818

19-
20-
//todo this is info.json, add format and other missing fields
21-
// /portal/packages/NC.CP.AH.RS/2025.1/operations/rest/api-v3-packages-packageid-publish-publishid-status-post?mode=raw#/
2219
export interface PackageConfig {
2320
packageId: PackageId
2421
version: VersionId
@@ -30,6 +27,5 @@ export interface PackageConfig {
3027
refs?: BuildConfigRef[]
3128

3229
metadata?: Record<string, unknown>
33-
// todo
3430
format?: ExportFormat
3531
}

0 commit comments

Comments
 (0)