@supernova-studio/client 1.88.1 → 1.89.0
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/index.d.mts +40 -4
- package/dist/index.d.ts +40 -4
- package/dist/index.js +18 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7227,10 +7227,24 @@ var DTOCodeComponentListResponse = z226.object({
|
|
|
7227
7227
|
|
|
7228
7228
|
// src/api/dto/design-systems/code-history.ts
|
|
7229
7229
|
import z227 from "zod";
|
|
7230
|
+
var DTOCodeHistoryRepositoryFilter = z227.object({
|
|
7231
|
+
repositoryName: z227.string(),
|
|
7232
|
+
usagePackageNames: z227.array(z227.string()).optional()
|
|
7233
|
+
});
|
|
7230
7234
|
var DTOCodeHistoryQuery = z227.object({
|
|
7231
|
-
|
|
7232
|
-
|
|
7235
|
+
/** Filters components and usages by component package name (e.g. `@supernovaio/dm`) */
|
|
7236
|
+
packageNames: z227.array(z227.string()).optional(),
|
|
7237
|
+
/**
|
|
7238
|
+
* Filters usages by repository and optionally by usage package within that repository.
|
|
7239
|
+
*
|
|
7240
|
+
* - `{"repositoryName": "cloud"}` — all usages for this repository (no package filter)
|
|
7241
|
+
* - `{"repositoryName": "cloud", "usagePackageNames": []}` — no usages for this repository
|
|
7242
|
+
* - `{"repositoryName": "cloud", "usagePackageNames": ["@supernovaio/portal"]}` — only matching packages for this repository
|
|
7243
|
+
*/
|
|
7244
|
+
repositoryFilters: z227.array(DTOCodeHistoryRepositoryFilter).optional(),
|
|
7245
|
+
/** Start of the time range filter (inclusive, ISO 8601 string) */
|
|
7233
7246
|
timeFrameFrom: z227.string().optional(),
|
|
7247
|
+
/** End of the time range filter (inclusive, ISO 8601 string) */
|
|
7234
7248
|
timeFrameTo: z227.string().optional()
|
|
7235
7249
|
});
|
|
7236
7250
|
var DTOCodeHistorySnapshot = z227.object({
|
|
@@ -21098,6 +21112,7 @@ export {
|
|
|
21098
21112
|
DTOCodeComponentUsage,
|
|
21099
21113
|
DTOCodeComponentUsageResponse,
|
|
21100
21114
|
DTOCodeHistoryQuery,
|
|
21115
|
+
DTOCodeHistoryRepositoryFilter,
|
|
21101
21116
|
DTOCodeHistoryResponse,
|
|
21102
21117
|
DTOCodeHistorySnapshot,
|
|
21103
21118
|
DTOCodeSnapshotFinalizePayload,
|