Skip to content

Commit

Permalink
Merge pull request #1097 from lens-protocol/cesare/lens-394-not-possi…
Browse files Browse the repository at this point in the history
…ble-to-know-if-app-has-authorisation-endpoint-set

feat: supports App.hasAuthorizationEndpoint
  • Loading branch information
cesarenaldi authored Mar 6, 2025
2 parents 83675c0 + 8b6f0e4 commit 6473f10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ type App {
createdAt: DateTime!
metadata: AppMetadata
owner: EvmAddress!
hasAuthorizationEndpoint: Boolean!
}

type AppFeed {
Expand Down
1 change: 1 addition & 0 deletions packages/graphql/src/fragments/primitives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const AppFragment = graphql(
sponsorshipAddress
treasuryAddress
verificationEnabled
hasAuthorizationEndpoint
metadata {
...AppMetadata
}
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/src/graphql-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export type introspection_types = {
'AnyKeyValueInput': { kind: 'INPUT_OBJECT'; name: 'AnyKeyValueInput'; isOneOf: true; inputFields: [{ name: 'raw'; type: { kind: 'INPUT_OBJECT'; name: 'RawKeyValueInput'; ofType: null; }; defaultValue: null }]; };
'AnyMedia': { kind: 'UNION'; name: 'AnyMedia'; fields: {}; possibleTypes: 'MediaAudio' | 'MediaImage' | 'MediaVideo'; };
'AnyPost': { kind: 'UNION'; name: 'AnyPost'; fields: {}; possibleTypes: 'Post' | 'Repost'; };
'App': { kind: 'OBJECT'; name: 'App'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'defaultFeedAddress': { name: 'defaultFeedAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'graphAddress': { name: 'graphAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AppMetadata'; ofType: null; } }; 'namespaceAddress': { name: 'namespaceAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'owner': { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'sponsorshipAddress': { name: 'sponsorshipAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'treasuryAddress': { name: 'treasuryAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'verificationEnabled': { name: 'verificationEnabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
'App': { kind: 'OBJECT'; name: 'App'; fields: { 'address': { name: 'address'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'createdAt': { name: 'createdAt'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; 'defaultFeedAddress': { name: 'defaultFeedAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'graphAddress': { name: 'graphAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'hasAuthorizationEndpoint': { name: 'hasAuthorizationEndpoint'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; 'metadata': { name: 'metadata'; type: { kind: 'OBJECT'; name: 'AppMetadata'; ofType: null; } }; 'namespaceAddress': { name: 'namespaceAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'owner': { name: 'owner'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'sponsorshipAddress': { name: 'sponsorshipAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'treasuryAddress': { name: 'treasuryAddress'; type: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; } }; 'verificationEnabled': { name: 'verificationEnabled'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'Boolean'; ofType: null; }; } }; }; };
'AppFeed': { kind: 'OBJECT'; name: 'AppFeed'; fields: { 'feed': { name: 'feed'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; } }; 'timestamp': { name: 'timestamp'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'DateTime'; ofType: null; }; } }; }; };
'AppFeedsRequest': { kind: 'INPUT_OBJECT'; name: 'AppFeedsRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
'AppGroupsRequest': { kind: 'INPUT_OBJECT'; name: 'AppGroupsRequest'; isOneOf: false; inputFields: [{ name: 'pageSize'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'ENUM'; name: 'PageSize'; ofType: null; }; }; defaultValue: "FIFTY" }, { name: 'cursor'; type: { kind: 'SCALAR'; name: 'Cursor'; ofType: null; }; defaultValue: null }, { name: 'app'; type: { kind: 'NON_NULL'; name: never; ofType: { kind: 'SCALAR'; name: 'EvmAddress'; ofType: null; }; }; defaultValue: null }]; };
Expand Down

0 comments on commit 6473f10

Please sign in to comment.