@confighub/rtk-query 0.4.12 → 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. */
@@ -15354,6 +15356,8 @@ type UploadResult = {
15354
15356
  type UploadComponentRequest = {
15355
15357
  /** Synthesize the release Namespace if the bundle lacks it. Off by default. */
15356
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[];
15357
15361
  /** The component name. */
15358
15362
  Name?: string;
15359
15363
  /** The release namespace. Required when the bundle has namespaced resources that name no namespace. */
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. */
@@ -15354,6 +15356,8 @@ type UploadResult = {
15354
15356
  type UploadComponentRequest = {
15355
15357
  /** Synthesize the release Namespace if the bundle lacks it. Off by default. */
15356
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[];
15357
15361
  /** The component name. */
15358
15362
  Name?: string;
15359
15363
  /** The release namespace. Required when the bundle has namespaced resources that name no namespace. */
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"]