@graphql-hive/cli 0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452 → 0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c

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/README.md CHANGED
@@ -79,7 +79,7 @@ DESCRIPTION
79
79
  create an app deployment
80
80
  ```
81
81
 
82
- _See code: [src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/app/create.ts)_
82
+ _See code: [src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/app/create.ts)_
83
83
 
84
84
  ## `hive app:publish`
85
85
 
@@ -105,7 +105,7 @@ DESCRIPTION
105
105
  publish an app deployment
106
106
  ```
107
107
 
108
- _See code: [src/commands/app/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/app/publish.ts)_
108
+ _See code: [src/commands/app/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/app/publish.ts)_
109
109
 
110
110
  ## `hive app:retire`
111
111
 
@@ -131,7 +131,7 @@ DESCRIPTION
131
131
  retire an app deployment
132
132
  ```
133
133
 
134
- _See code: [src/commands/app/retire.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/app/retire.ts)_
134
+ _See code: [src/commands/app/retire.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/app/retire.ts)_
135
135
 
136
136
  ## `hive artifact:fetch`
137
137
 
@@ -154,7 +154,7 @@ DESCRIPTION
154
154
  fetch artifacts from the CDN
155
155
  ```
156
156
 
157
- _See code: [src/commands/artifact/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/artifact/fetch.ts)_
157
+ _See code: [src/commands/artifact/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/artifact/fetch.ts)_
158
158
 
159
159
  ## `hive dev`
160
160
 
@@ -196,7 +196,7 @@ DESCRIPTION
196
196
  Work in Progress: Please note that this command is still under development and may undergo changes in future releases
197
197
  ```
198
198
 
199
- _See code: [src/commands/dev.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/dev.ts)_
199
+ _See code: [src/commands/dev.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/dev.ts)_
200
200
 
201
201
  ## `hive help [COMMAND]`
202
202
 
@@ -238,7 +238,7 @@ DESCRIPTION
238
238
  introspects a GraphQL Schema
239
239
  ```
240
240
 
241
- _See code: [src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/introspect.ts)_
241
+ _See code: [src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/introspect.ts)_
242
242
 
243
243
  ## `hive operations:check FILE`
244
244
 
@@ -296,7 +296,7 @@ DESCRIPTION
296
296
  checks operations against a published schema
297
297
  ```
298
298
 
299
- _See code: [src/commands/operations/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/operations/check.ts)_
299
+ _See code: [src/commands/operations/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/operations/check.ts)_
300
300
 
301
301
  ## `hive schema:check FILE`
302
302
 
@@ -340,7 +340,7 @@ DESCRIPTION
340
340
  checks schema
341
341
  ```
342
342
 
343
- _See code: [src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/schema/check.ts)_
343
+ _See code: [src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/schema/check.ts)_
344
344
 
345
345
  ## `hive schema:delete SERVICE`
346
346
 
@@ -371,7 +371,7 @@ DESCRIPTION
371
371
  deletes a schema
372
372
  ```
373
373
 
374
- _See code: [src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/schema/delete.ts)_
374
+ _See code: [src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/schema/delete.ts)_
375
375
 
376
376
  ## `hive schema:fetch [COMMIT]`
377
377
 
@@ -403,7 +403,7 @@ DESCRIPTION
403
403
  fetch a schema, supergraph, or list of subgraphs from the Hive API
404
404
  ```
405
405
 
406
- _See code: [src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/schema/fetch.ts)_
406
+ _See code: [src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/schema/fetch.ts)_
407
407
 
408
408
  ## `hive schema:publish FILE`
409
409
 
@@ -446,7 +446,7 @@ DESCRIPTION
446
446
  publishes schema
447
447
  ```
448
448
 
449
- _See code: [src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/schema/publish.ts)_
449
+ _See code: [src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/schema/publish.ts)_
450
450
 
451
451
  ## `hive update [CHANNEL]`
452
452
 
@@ -506,7 +506,7 @@ DESCRIPTION
506
506
  shows information about the current token
507
507
  ```
508
508
 
509
- _See code: [src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115125519-ffc04d9efbd224ddbbedfb4a18f18bf8a08c2452/src/commands/whoami.ts)_
509
+ _See code: [src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.57.2-rc-20260115141531-6c2887731937592df51b7f2273fd3734d1b66d6c/src/commands/whoami.ts)_
510
510
  <!-- commandsstop -->
511
511
 
512
512
  ## Configuration
@@ -145,6 +145,31 @@ export type ActivateAppDeploymentResult = {
145
145
  error?: Maybe<ActivateAppDeploymentError>;
146
146
  ok?: Maybe<ActivateAppDeploymentOk>;
147
147
  };
148
+ /**
149
+ * Filter options for querying active app deployments.
150
+ * The date filters (lastUsedBefore, neverUsedAndCreatedBefore) use OR semantics:
151
+ * a deployment is included if it matches either date condition.
152
+ * If no date filters are provided, all active deployments are returned.
153
+ */
154
+ export type ActiveAppDeploymentsFilter = {
155
+ /**
156
+ * Returns deployments that were last used before the given timestamp.
157
+ * Useful for identifying stale or inactive deployments that have been used
158
+ * at least once but not recently.
159
+ */
160
+ lastUsedBefore?: InputMaybe<Scalars['DateTime']['input']>;
161
+ /**
162
+ * Filter by app deployment name. Case-insensitive partial match.
163
+ * Applied with AND semantics to narrow down results.
164
+ */
165
+ name?: InputMaybe<Scalars['String']['input']>;
166
+ /**
167
+ * Returns deployments that have never been used and were created before
168
+ * the given timestamp. Useful for identifying old, unused deployments
169
+ * that may be candidates for cleanup.
170
+ */
171
+ neverUsedAndCreatedBefore?: InputMaybe<Scalars['DateTime']['input']>;
172
+ };
148
173
  export type AddAlertChannelError = Error & {
149
174
  __typename?: 'AddAlertChannelError';
150
175
  inputErrors: AddAlertChannelInputErrors;
@@ -321,6 +346,8 @@ export type AnswerOrganizationTransferRequestResult = {
321
346
  };
322
347
  export type AppDeployment = {
323
348
  __typename?: 'AppDeployment';
349
+ /** The timestamp when the app deployment was created. */
350
+ createdAt: Scalars['DateTime']['output'];
324
351
  documents?: Maybe<GraphQlDocumentConnection>;
325
352
  id: Scalars['ID']['output'];
326
353
  /** The last time a GraphQL request that used the app deployment was reported. */
@@ -4748,6 +4775,14 @@ export declare enum SupportTicketStatus {
4748
4775
  }
4749
4776
  export type Target = {
4750
4777
  __typename?: 'Target';
4778
+ /**
4779
+ * Find active app deployments matching specific criteria.
4780
+ * Date filter conditions (lastUsedBefore, neverUsedAndCreatedBefore) use OR semantics.
4781
+ * If no date filters are provided, all active deployments are returned.
4782
+ * The name filter uses AND semantics to narrow results.
4783
+ * Only active deployments are returned (not pending or retired).
4784
+ */
4785
+ activeAppDeployments: AppDeploymentConnection;
4751
4786
  /** Get a list of paginated schema contracts that are active for the target. */
4752
4787
  activeContracts: ContractConnection;
4753
4788
  appDeployment?: Maybe<AppDeployment>;
@@ -4826,6 +4861,11 @@ export type Target = {
4826
4861
  viewerCanViewLaboratory: Scalars['Boolean']['output'];
4827
4862
  viewerCanViewSchemaProposals: Scalars['Boolean']['output'];
4828
4863
  };
4864
+ export type TargetActiveAppDeploymentsArgs = {
4865
+ after?: InputMaybe<Scalars['String']['input']>;
4866
+ filter: ActiveAppDeploymentsFilter;
4867
+ first?: InputMaybe<Scalars['Int']['input']>;
4868
+ };
4829
4869
  export type TargetActiveContractsArgs = {
4830
4870
  after?: InputMaybe<Scalars['String']['input']>;
4831
4871
  first?: InputMaybe<Scalars['Int']['input']>;