@graphql-hive/cli 0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320 → 0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f

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
@@ -80,7 +80,7 @@ DESCRIPTION
80
80
  create an app deployment
81
81
  ```
82
82
 
83
- _See code: [src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/app/create.ts)_
83
+ _See code: [src/commands/app/create.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/app/create.ts)_
84
84
 
85
85
  ## `hive app:publish`
86
86
 
@@ -106,7 +106,7 @@ DESCRIPTION
106
106
  publish an app deployment
107
107
  ```
108
108
 
109
- _See code: [src/commands/app/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/app/publish.ts)_
109
+ _See code: [src/commands/app/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/app/publish.ts)_
110
110
 
111
111
  ## `hive app:retire`
112
112
 
@@ -132,7 +132,7 @@ DESCRIPTION
132
132
  retire an app deployment
133
133
  ```
134
134
 
135
- _See code: [src/commands/app/retire.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/app/retire.ts)_
135
+ _See code: [src/commands/app/retire.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/app/retire.ts)_
136
136
 
137
137
  ## `hive artifact:fetch`
138
138
 
@@ -155,7 +155,7 @@ DESCRIPTION
155
155
  fetch artifacts from the CDN
156
156
  ```
157
157
 
158
- _See code: [src/commands/artifact/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/artifact/fetch.ts)_
158
+ _See code: [src/commands/artifact/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/artifact/fetch.ts)_
159
159
 
160
160
  ## `hive dev`
161
161
 
@@ -197,7 +197,7 @@ DESCRIPTION
197
197
  Work in Progress: Please note that this command is still under development and may undergo changes in future releases
198
198
  ```
199
199
 
200
- _See code: [src/commands/dev.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/dev.ts)_
200
+ _See code: [src/commands/dev.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/dev.ts)_
201
201
 
202
202
  ## `hive help [COMMAND]`
203
203
 
@@ -239,7 +239,7 @@ DESCRIPTION
239
239
  introspects a GraphQL Schema
240
240
  ```
241
241
 
242
- _See code: [src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/introspect.ts)_
242
+ _See code: [src/commands/introspect.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/introspect.ts)_
243
243
 
244
244
  ## `hive operations:check FILE`
245
245
 
@@ -297,7 +297,7 @@ DESCRIPTION
297
297
  checks operations against a published schema
298
298
  ```
299
299
 
300
- _See code: [src/commands/operations/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/operations/check.ts)_
300
+ _See code: [src/commands/operations/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/operations/check.ts)_
301
301
 
302
302
  ## `hive proposal:create FILE`
303
303
 
@@ -338,7 +338,7 @@ DESCRIPTION
338
338
  Proposes a schema change
339
339
  ```
340
340
 
341
- _See code: [src/commands/proposal/create.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/proposal/create.ts)_
341
+ _See code: [src/commands/proposal/create.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/proposal/create.ts)_
342
342
 
343
343
  ## `hive schema:check FILE`
344
344
 
@@ -382,7 +382,7 @@ DESCRIPTION
382
382
  checks schema
383
383
  ```
384
384
 
385
- _See code: [src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/schema/check.ts)_
385
+ _See code: [src/commands/schema/check.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/schema/check.ts)_
386
386
 
387
387
  ## `hive schema:delete SERVICE`
388
388
 
@@ -413,7 +413,7 @@ DESCRIPTION
413
413
  deletes a schema
414
414
  ```
415
415
 
416
- _See code: [src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/schema/delete.ts)_
416
+ _See code: [src/commands/schema/delete.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/schema/delete.ts)_
417
417
 
418
418
  ## `hive schema:fetch [COMMIT]`
419
419
 
@@ -445,7 +445,7 @@ DESCRIPTION
445
445
  fetch a schema, supergraph, or list of subgraphs from the Hive API
446
446
  ```
447
447
 
448
- _See code: [src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/schema/fetch.ts)_
448
+ _See code: [src/commands/schema/fetch.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/schema/fetch.ts)_
449
449
 
450
450
  ## `hive schema:publish FILE`
451
451
 
@@ -488,7 +488,7 @@ DESCRIPTION
488
488
  publishes schema
489
489
  ```
490
490
 
491
- _See code: [src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/schema/publish.ts)_
491
+ _See code: [src/commands/schema/publish.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/schema/publish.ts)_
492
492
 
493
493
  ## `hive update [CHANNEL]`
494
494
 
@@ -548,7 +548,7 @@ DESCRIPTION
548
548
  shows information about the current token
549
549
  ```
550
550
 
551
- _See code: [src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218013447-eb42eb93dd38d8485006321d27473dd678c7f320/src/commands/whoami.ts)_
551
+ _See code: [src/commands/whoami.ts](https://github.com/graphql-hive/platform/blob/v0.57.0-alpha-20251218014459-95bf9c824b2cf0411575e9809162941a3097f70f/src/commands/whoami.ts)_
552
552
  <!-- commandsstop -->
553
553
 
554
554
  ## Configuration
@@ -2965,9 +2965,21 @@ export type Organization = {
2965
2965
  id: Scalars['ID']['output'];
2966
2966
  invitations?: Maybe<OrganizationInvitationConnection>;
2967
2967
  isAppDeploymentsEnabled: Scalars['Boolean']['output'];
2968
+ /**
2969
+ * Whether or not the monthly operations limit is currently exceeded.
2970
+ * For hobby and pro plans, once the limit is exceeded, operation usage data received from the organization will be ignored.
2971
+ * Enterprise plans will continue to have their usage data ingested.
2972
+ */
2973
+ isMonthlyOperationsLimitExceeded: Scalars['Boolean']['output'];
2968
2974
  me: Member;
2969
2975
  memberRoles?: Maybe<MemberRoleConnection>;
2970
2976
  members: MemberConnection;
2977
+ /**
2978
+ * The monthly limit for number of operations ingested.
2979
+ * For hobby and pro plans, once this limit is exceeded, operation usage data received from the organization will be ignored.
2980
+ * Enterprise plans will continue to have their usage data ingested.
2981
+ */
2982
+ monthlyOperationsLimit: Scalars['SafeInt']['output'];
2971
2983
  /** @deprecated Use the 'slug' field instead. */
2972
2984
  name: Scalars['String']['output'];
2973
2985
  oidcIntegration?: Maybe<OidcIntegration>;
@@ -2990,12 +3002,20 @@ export type Organization = {
2990
3002
  * (e.g., administrative vs. user-level operations).
2991
3003
  */
2992
3004
  projectsForResourceSelector: Array<ProjectForResourceSelector>;
3005
+ /** @deprecated All subfields moved to Organization */
2993
3006
  rateLimit: RateLimit;
2994
3007
  schemaPolicy?: Maybe<SchemaPolicy>;
2995
3008
  /** The slug of the organization. */
2996
3009
  slug: Scalars['String']['output'];
2997
3010
  supportTicket?: Maybe<SupportTicket>;
2998
3011
  supportTickets?: Maybe<SupportTicketConnection>;
3012
+ /**
3013
+ * An approximation of the current monthly operation usage. This is based on how many operations have
3014
+ * been successfully ingested by Hive, which is an asynchronous process.
3015
+ */
3016
+ usageEstimation?: Maybe<UsageEstimation>;
3017
+ /** The configured retention for usage information, in days. Retention impacts how long data is stored. */
3018
+ usageRetentionInDays: Scalars['Int']['output'];
2999
3019
  /** Whether the viewer should be able to access the settings page within the app */
3000
3020
  viewerCanAccessSettings: Scalars['Boolean']['output'];
3001
3021
  /** Whether the viewer can assign roles to users */
@@ -3072,6 +3092,9 @@ export type OrganizationSupportTicketsArgs = {
3072
3092
  after?: InputMaybe<Scalars['String']['input']>;
3073
3093
  first?: InputMaybe<Scalars['Int']['input']>;
3074
3094
  };
3095
+ export type OrganizationUsageEstimationArgs = {
3096
+ input: OrganizationUsageEstimationInput;
3097
+ };
3075
3098
  export declare enum OrganizationAccessScope {
3076
3099
  Delete = "DELETE",
3077
3100
  Integrations = "INTEGRATIONS",
@@ -3188,6 +3211,12 @@ export type OrganizationTransferRequestSelector = {
3188
3211
  code: Scalars['String']['input'];
3189
3212
  organizationSlug: Scalars['String']['input'];
3190
3213
  };
3214
+ export type OrganizationUsageEstimationInput = {
3215
+ /** The calendar month, 1 to 12, where 1 is January and 12 is December. */
3216
+ month: Scalars['Int']['input'];
3217
+ /** The 4 digit year. E.g. 2025 */
3218
+ year: Scalars['Int']['input'];
3219
+ };
3191
3220
  export type PageInfo = {
3192
3221
  __typename?: 'PageInfo';
3193
3222
  endCursor: Scalars['String']['output'];
@@ -3566,8 +3595,11 @@ export type QueryUsageEstimationArgs = {
3566
3595
  };
3567
3596
  export type RateLimit = {
3568
3597
  __typename?: 'RateLimit';
3598
+ /** @deprecated Use Organization.isMonthlyOperationsLimitExceeded */
3569
3599
  limitedForOperations: Scalars['Boolean']['output'];
3600
+ /** @deprecated Use Organization.monthlyOperationsLimit */
3570
3601
  operations: Scalars['SafeInt']['output'];
3602
+ /** @deprecated Use Organization.usageRetentionInDays */
3571
3603
  retentionInDays: Scalars['Int']['output'];
3572
3604
  };
3573
3605
  export type RateLimitInput = {
@@ -5621,6 +5653,7 @@ export type UpgradeToProInput = {
5621
5653
  };
5622
5654
  export type UsageEstimation = {
5623
5655
  __typename?: 'UsageEstimation';
5656
+ /** The estimated number of operations used for the month. */
5624
5657
  operations: Scalars['SafeInt']['output'];
5625
5658
  };
5626
5659
  export type UsageEstimationInput = {