Compare commits
No commits in common. "4b90a5feeccc0c6325469dcb45a8d7cceabb386a" and "dc00c3d58af2c23530b8b3cb6704f3860fdd7d0f" have entirely different histories.
4b90a5feec
...
dc00c3d58a
30
actors.mjs
30
actors.mjs
|
|
@ -222,33 +222,3 @@ export async function interpolateProfiles(actorIdsOrNames, context, options = {}
|
|||
await context.knex.schema.refreshMaterializedView('actors_meta');
|
||||
}
|
||||
}
|
||||
|
||||
export const socials = {
|
||||
urls: {
|
||||
cashapp: 'https://cash.app/${handle}', // eslint-disable-line no-template-curly-in-string
|
||||
fansly: 'https://fansly.com/{handle}',
|
||||
instagram: 'https://www.instagram.com/{handle}',
|
||||
linktree: 'https://linktr.ee/{handle}',
|
||||
loyalfans: 'https://www.loyalfans.com/{handle}',
|
||||
manyvids: 'https://{handle}.manyvids.com',
|
||||
onlyfans: 'https://onlyfans.com/{handle}',
|
||||
pornhub: 'https://www.pornhub.com/model/{handle}',
|
||||
reddit: 'https://www.reddit.com/u/{handle}',
|
||||
twitter: 'https://x.com/{handle}',
|
||||
},
|
||||
prefix: {
|
||||
default: '@',
|
||||
cashapp: '$',
|
||||
reddit: 'u/',
|
||||
},
|
||||
};
|
||||
|
||||
export const platformsByHostname = Object.fromEntries(Object.entries(socials.urls).map(([platform, url]) => {
|
||||
const { hostname, pathname } = new URL(url);
|
||||
|
||||
return [hostname, {
|
||||
platform,
|
||||
pathname: decodeURIComponent(pathname),
|
||||
url,
|
||||
}];
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "traxxx-utils",
|
||||
"version": "1.2.10",
|
||||
"version": "1.2.9",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "traxxx-utils",
|
||||
"version": "1.2.10",
|
||||
"version": "1.2.9",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.25.7",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx-common",
|
||||
"version": "1.2.10",
|
||||
"version": "1.2.9",
|
||||
"description": "Common utilities for traxxx core and web.",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue