@@ -4306,8 +4306,10 @@ export type StreamPermission = {
4306
4306
stream ?: Maybe < Stream > ;
4307
4307
/** subscribeExpires timestamp tells until what time this address may subscribe to the stream */
4308
4308
subscribeExpiration ?: Maybe < Scalars [ 'BigInt' ] [ 'output' ] > ;
4309
- /** Ethereum address, owner of this permission */
4310
- userAddress : Scalars [ 'Bytes' ] [ 'output' ] ;
4309
+ /** [DEPRECATED] Ethereum address, owner of this permission; only if permission granting didn't use *forUserId functions */
4310
+ userAddress ?: Maybe < Scalars [ 'Bytes' ] [ 'output' ] > ;
4311
+ /** Ethereum address or other ID, owner of this permission */
4312
+ userId : Scalars [ 'Bytes' ] [ 'output' ] ;
4311
4313
} ;
4312
4314
4313
4315
export type StreamPermission_Filter = {
@@ -4382,6 +4384,16 @@ export type StreamPermission_Filter = {
4382
4384
userAddress_not ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4383
4385
userAddress_not_contains ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4384
4386
userAddress_not_in ?: InputMaybe < Array < Scalars [ 'Bytes' ] [ 'input' ] > > ;
4387
+ userId ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4388
+ userId_contains ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4389
+ userId_gt ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4390
+ userId_gte ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4391
+ userId_in ?: InputMaybe < Array < Scalars [ 'Bytes' ] [ 'input' ] > > ;
4392
+ userId_lt ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4393
+ userId_lte ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4394
+ userId_not ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4395
+ userId_not_contains ?: InputMaybe < Scalars [ 'Bytes' ] [ 'input' ] > ;
4396
+ userId_not_in ?: InputMaybe < Array < Scalars [ 'Bytes' ] [ 'input' ] > > ;
4385
4397
} ;
4386
4398
4387
4399
export enum StreamPermission_OrderBy {
@@ -4396,7 +4408,8 @@ export enum StreamPermission_OrderBy {
4396
4408
StreamMetadata = 'stream__metadata' ,
4397
4409
StreamUpdatedAt = 'stream__updatedAt' ,
4398
4410
SubscribeExpiration = 'subscribeExpiration' ,
4399
- UserAddress = 'userAddress'
4411
+ UserAddress = 'userAddress' ,
4412
+ UserId = 'userId'
4400
4413
}
4401
4414
4402
4415
export type Stream_Filter = {
@@ -5311,14 +5324,14 @@ export type GetProjectSubscriptionsQueryVariables = Exact<{
5311
5324
5312
5325
export type GetProjectSubscriptionsQuery = { __typename ?: 'Query' , project ?: { __typename ?: 'Project' , subscriptions : Array < { __typename ?: 'ProjectSubscription' , userAddress : any , endTimestamp ?: any | null } > } | null } ;
5313
5326
5314
- export type StreamFieldsFragment = { __typename ?: 'Stream' , id : string , metadata : string , permissions ?: Array < { __typename ?: 'StreamPermission' , id : string , canGrant ?: boolean | null , canEdit ?: boolean | null , canDelete ?: boolean | null , userAddress : any , subscribeExpiration ?: any | null , publishExpiration ?: any | null } > | null } ;
5327
+ export type StreamFieldsFragment = { __typename ?: 'Stream' , id : string , metadata : string , permissions ?: Array < { __typename ?: 'StreamPermission' , id : string , canGrant ?: boolean | null , canEdit ?: boolean | null , canDelete ?: boolean | null , userId : any , subscribeExpiration ?: any | null , publishExpiration ?: any | null } > | null } ;
5315
5328
5316
5329
export type GetStreamByIdQueryVariables = Exact < {
5317
5330
streamId : Scalars [ 'ID' ] [ 'input' ] ;
5318
5331
} > ;
5319
5332
5320
5333
5321
- export type GetStreamByIdQuery = { __typename ?: 'Query' , stream ?: { __typename ?: 'Stream' , id : string , metadata : string , permissions ?: Array < { __typename ?: 'StreamPermission' , id : string , canGrant ?: boolean | null , canEdit ?: boolean | null , canDelete ?: boolean | null , userAddress : any , subscribeExpiration ?: any | null , publishExpiration ?: any | null } > | null } | null } ;
5334
+ export type GetStreamByIdQuery = { __typename ?: 'Query' , stream ?: { __typename ?: 'Stream' , id : string , metadata : string , permissions ?: Array < { __typename ?: 'StreamPermission' , id : string , canGrant ?: boolean | null , canEdit ?: boolean | null , canDelete ?: boolean | null , userId : any , subscribeExpiration ?: any | null , publishExpiration ?: any | null } > | null } | null } ;
5322
5335
5323
5336
export type GetPagedStreamsQueryVariables = Exact < {
5324
5337
first ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
@@ -5328,7 +5341,7 @@ export type GetPagedStreamsQueryVariables = Exact<{
5328
5341
} > ;
5329
5342
5330
5343
5331
- export type GetPagedStreamsQuery = { __typename ?: 'Query' , streams : Array < { __typename ?: 'Stream' , id : string , metadata : string , permissions ?: Array < { __typename ?: 'StreamPermission' , id : string , canGrant ?: boolean | null , canEdit ?: boolean | null , canDelete ?: boolean | null , userAddress : any , subscribeExpiration ?: any | null , publishExpiration ?: any | null } > | null } > } ;
5344
+ export type GetPagedStreamsQuery = { __typename ?: 'Query' , streams : Array < { __typename ?: 'Stream' , id : string , metadata : string , permissions ?: Array < { __typename ?: 'StreamPermission' , id : string , canGrant ?: boolean | null , canEdit ?: boolean | null , canDelete ?: boolean | null , userId : any , subscribeExpiration ?: any | null , publishExpiration ?: any | null } > | null } > } ;
5332
5345
5333
5346
export type SponsorshipDailyBucketFieldsFragment = { __typename ?: 'SponsorshipDailyBucket' , id : string , operatorCount : number , projectedInsolvency ?: any | null , spotAPY : any , totalStakedWei : any , remainingWei : any , date : any , sponsorship : { __typename ?: 'Sponsorship' , id : string } } ;
5334
5347
@@ -5521,7 +5534,7 @@ export const StreamFieldsFragmentDoc = gql`
5521
5534
canGrant
5522
5535
canEdit
5523
5536
canDelete
5524
- userAddress
5537
+ userId
5525
5538
subscribeExpiration
5526
5539
publishExpiration
5527
5540
}
0 commit comments