@confighub/rtk-query 0.4.11 → 0.4.13

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.cts CHANGED
@@ -11104,6 +11104,8 @@ type UploadApiResponse = /** status 200 OK */ UploadResult | /** status 207 Mult
11104
11104
  type UploadApiArg = {
11105
11105
  /** Plan the upload and return the same response without writing anything. */
11106
11106
  dryRun?: boolean;
11107
+ /** Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change. It costs something to return, and on a dry run it runs the merges a plan otherwise skips, so it is returned only when named. */
11108
+ include?: string;
11107
11109
  uploadRequest: UploadRequest;
11108
11110
  };
11109
11111
  type ListUsersApiResponse = UserRead[];
@@ -15306,10 +15308,10 @@ type UploadUnitResult = {
15306
15308
  Action?: string;
15307
15309
  Conflicts?: MutationConflictList;
15308
15310
  Error?: ResponseError;
15309
- Mutations?: MutationMap;
15311
+ Mutations?: ResourceMutationList;
15310
15312
  /** The resource identity this Unit is keyed by. */
15311
15313
  Resource?: string;
15312
- /** Resource, AppConfig, AppConfigRendered, or Record. */
15314
+ /** Resource, AppConfig, or AppConfigRendered. */
15313
15315
  Role?: string;
15314
15316
  Slug?: string;
15315
15317
  /** Absent for a Unit a dry run would create. */
@@ -15337,8 +15339,6 @@ type UploadComponentResult = {
15337
15339
  BrokenLinks?: UploadBrokenEdge[];
15338
15340
  Name?: string;
15339
15341
  NamespaceCollision?: UploadNamespaceCollision;
15340
- /** The record Unit holding what was uploaded and from where. Absent on a dry run. */
15341
- RecordUnitID?: string;
15342
15342
  /** Secret resources dropped from the bundle, as Kind/namespace/name. Secrets are never uploaded. */
15343
15343
  SkippedSecrets?: string[];
15344
15344
  SourceName?: string;
@@ -15356,6 +15356,8 @@ type UploadResult = {
15356
15356
  type UploadComponentRequest = {
15357
15357
  /** Synthesize the release Namespace if the bundle lacks it. Off by default. */
15358
15358
  CreateNamespace?: boolean;
15359
+ /** Names of the components this one depends on, recorded in the Space's DependsOn annotation. Requires a Variant Space label. */
15360
+ DependsOn?: string[];
15359
15361
  /** The component name. */
15360
15362
  Name?: string;
15361
15363
  /** The release namespace. Required when the bundle has namespaced resources that name no namespace. */
@@ -15377,7 +15379,7 @@ type UploadComponentRequest = {
15377
15379
  SpaceLabels?: {
15378
15380
  [key: string]: string;
15379
15381
  };
15380
- /** Applies to the component's Spaces. New Units are created on it, except AppConfig and record Units. */
15382
+ /** Applies to the component's Spaces. New Units are created on it, except AppConfig Units. */
15381
15383
  TargetID?: string;
15382
15384
  UnitAnnotations?: {
15383
15385
  [key: string]: string;
package/dist/index.d.ts CHANGED
@@ -11104,6 +11104,8 @@ type UploadApiResponse = /** status 200 OK */ UploadResult | /** status 207 Mult
11104
11104
  type UploadApiArg = {
11105
11105
  /** Plan the upload and return the same response without writing anything. */
11106
11106
  dryRun?: boolean;
11107
+ /** Comma-separated parts of the result to return in addition to the actions: Mutations for what each Unit write changed, or on a dry run would change. It costs something to return, and on a dry run it runs the merges a plan otherwise skips, so it is returned only when named. */
11108
+ include?: string;
11107
11109
  uploadRequest: UploadRequest;
11108
11110
  };
11109
11111
  type ListUsersApiResponse = UserRead[];
@@ -15306,10 +15308,10 @@ type UploadUnitResult = {
15306
15308
  Action?: string;
15307
15309
  Conflicts?: MutationConflictList;
15308
15310
  Error?: ResponseError;
15309
- Mutations?: MutationMap;
15311
+ Mutations?: ResourceMutationList;
15310
15312
  /** The resource identity this Unit is keyed by. */
15311
15313
  Resource?: string;
15312
- /** Resource, AppConfig, AppConfigRendered, or Record. */
15314
+ /** Resource, AppConfig, or AppConfigRendered. */
15313
15315
  Role?: string;
15314
15316
  Slug?: string;
15315
15317
  /** Absent for a Unit a dry run would create. */
@@ -15337,8 +15339,6 @@ type UploadComponentResult = {
15337
15339
  BrokenLinks?: UploadBrokenEdge[];
15338
15340
  Name?: string;
15339
15341
  NamespaceCollision?: UploadNamespaceCollision;
15340
- /** The record Unit holding what was uploaded and from where. Absent on a dry run. */
15341
- RecordUnitID?: string;
15342
15342
  /** Secret resources dropped from the bundle, as Kind/namespace/name. Secrets are never uploaded. */
15343
15343
  SkippedSecrets?: string[];
15344
15344
  SourceName?: string;
@@ -15356,6 +15356,8 @@ type UploadResult = {
15356
15356
  type UploadComponentRequest = {
15357
15357
  /** Synthesize the release Namespace if the bundle lacks it. Off by default. */
15358
15358
  CreateNamespace?: boolean;
15359
+ /** Names of the components this one depends on, recorded in the Space's DependsOn annotation. Requires a Variant Space label. */
15360
+ DependsOn?: string[];
15359
15361
  /** The component name. */
15360
15362
  Name?: string;
15361
15363
  /** The release namespace. Required when the bundle has namespaced resources that name no namespace. */
@@ -15377,7 +15379,7 @@ type UploadComponentRequest = {
15377
15379
  SpaceLabels?: {
15378
15380
  [key: string]: string;
15379
15381
  };
15380
- /** Applies to the component's Spaces. New Units are created on it, except AppConfig and record Units. */
15382
+ /** Applies to the component's Spaces. New Units are created on it, except AppConfig Units. */
15381
15383
  TargetID?: string;
15382
15384
  UnitAnnotations?: {
15383
15385
  [key: string]: string;
package/dist/index.js CHANGED
@@ -2459,7 +2459,8 @@ var injectedRtkApi = confighubApi.enhanceEndpoints({
2459
2459
  method: "POST",
2460
2460
  body: queryArg.uploadRequest,
2461
2461
  params: {
2462
- dry_run: queryArg.dryRun
2462
+ dry_run: queryArg.dryRun,
2463
+ include: queryArg.include
2463
2464
  }
2464
2465
  }),
2465
2466
  invalidatesTags: ["Upload"]