-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: nostr sdk formatting * fix: data backend formatting * fix: mobile formatting * fix: pwa formatting * fix: typos
- Loading branch information
Showing
109 changed files
with
952 additions
and
997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[default.extend-words] | ||
ba = "ba" | ||
frst = "frst" | ||
|
||
[files] | ||
extend-exclude = ["/**/patches/**", "/**/assets/**", "/**/src/config/**", "**/*.config.ts"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,49 @@ | ||
import fp from 'fastify-plugin'; | ||
import fastifyOauth2 from '@fastify/oauth2'; | ||
import fp from "fastify-plugin"; | ||
import fastifyOauth2 from "@fastify/oauth2"; | ||
|
||
export default fp(async (fastify, opts) => { | ||
// fastify.decorate("oauth2Twitter", | ||
// { | ||
// name: 'twitterOAuth', | ||
// credentials: { | ||
// client: { | ||
// id: process.env.TWITTER_API_KEY!, | ||
// secret: process.env.TWITTER_API_SECRET_KEY!, | ||
// }, | ||
// // auth: fastifyOauth2.TWITTER_CONFIGURATION, | ||
// auth:{ | ||
// authorizeHost: 'https://api.twitter.com', | ||
// authorizePath: '/oauth/authorize', | ||
// tokenHost: 'https://api.twitter.com', | ||
// tokenPath: '/oauth/access_token', | ||
// } | ||
// }, | ||
// startRedirectPath: '/auth/login', | ||
// // callbackUri: process.env.TWITTER_CALLBACK_URL!, | ||
// } | ||
// ) | ||
// fastify.register(fastifyOauth2, { | ||
// name: 'twitterOAuth', | ||
// credentials: { | ||
// client: { | ||
// id: process.env.TWITTER_API_KEY!, | ||
// secret: process.env.TWITTER_API_SECRET_KEY!, | ||
// }, | ||
// // auth: fastifyOauth2.TWITTER_CONFIGURATION, | ||
// auth:{ | ||
// authorizeHost: 'https://api.twitter.com', | ||
// authorizePath: '/oauth/authorize', | ||
// tokenHost: 'https://api.twitter.com', | ||
// tokenPath: '/oauth/access_token', | ||
// } | ||
// }, | ||
// startRedirectPath: '/auth/login', | ||
// // callbackUri: process.env.TWITTER_CALLBACK_URL!, | ||
// }); | ||
// fastify.decorate("oauth2Twitter", | ||
// { | ||
// name: 'twitterOAuth', | ||
// credentials: { | ||
// client: { | ||
// id: process.env.TWITTER_API_KEY!, | ||
// secret: process.env.TWITTER_API_SECRET_KEY!, | ||
// }, | ||
// // auth: fastifyOauth2.TWITTER_CONFIGURATION, | ||
// auth:{ | ||
// authorizeHost: 'https://api.twitter.com', | ||
// authorizePath: '/oauth/authorize', | ||
// tokenHost: 'https://api.twitter.com', | ||
// tokenPath: '/oauth/access_token', | ||
// } | ||
// }, | ||
// startRedirectPath: '/auth/login', | ||
// // callbackUri: process.env.TWITTER_CALLBACK_URL!, | ||
// } | ||
// ) | ||
// fastify.register(fastifyOauth2, { | ||
// name: 'twitterOAuth', | ||
// credentials: { | ||
// client: { | ||
// id: process.env.TWITTER_API_KEY!, | ||
// secret: process.env.TWITTER_API_SECRET_KEY!, | ||
// }, | ||
// // auth: fastifyOauth2.TWITTER_CONFIGURATION, | ||
// auth:{ | ||
// authorizeHost: 'https://api.twitter.com', | ||
// authorizePath: '/oauth/authorize', | ||
// tokenHost: 'https://api.twitter.com', | ||
// tokenPath: '/oauth/access_token', | ||
// } | ||
// }, | ||
// startRedirectPath: '/auth/login', | ||
// // callbackUri: process.env.TWITTER_CALLBACK_URL!, | ||
// }); | ||
}); | ||
|
||
|
||
declare module "fastify" { | ||
interface FastifyInstance { | ||
twitterOAuth: any; | ||
} | ||
interface FastifyInstance { | ||
twitterOAuth: any; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
import allTransactionsRoute from "./all-transactions"; | ||
import buyCoinRoute from "./buy-coin"; | ||
|
||
|
||
export const indexerRoutes = { | ||
buyCoinRoute, | ||
allTransactionsRoute | ||
} | ||
export const indexerRoutes = { | ||
buyCoinRoute, | ||
allTransactionsRoute, | ||
}; |
9 changes: 6 additions & 3 deletions
9
apps/data-backend/src/routes/indexer/nameservice/nameservice.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.