@jjlmoya/utils-social 1.7.0 → 1.9.0
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/package.json +3 -2
- package/src/entries.ts +23 -0
- package/src/index.ts +0 -7
- package/src/tool/redditFormatter/entry.ts +30 -0
- package/src/tool/redditFormatter/index.ts +2 -32
- package/src/tool/safeZones/entry.ts +30 -0
- package/src/tool/safeZones/index.ts +2 -32
- package/src/tool/socialImageResizer/entry.ts +30 -0
- package/src/tool/socialImageResizer/index.ts +2 -32
- package/src/tool/socialValueCalculator/entry.ts +30 -0
- package/src/tool/socialValueCalculator/index.ts +2 -32
- package/src/tool/tinderPhotoOptimizer/entry.ts +30 -0
- package/src/tool/tinderPhotoOptimizer/index.ts +2 -32
- package/src/tool/youtubeThumbnail/entry.ts +30 -0
- package/src/tool/youtubeThumbnail/index.ts +2 -32
- package/src/tool/youtubeThumbnailPreviewer/entry.ts +46 -0
- package/src/tool/youtubeThumbnailPreviewer/index.ts +2 -48
- package/src/tools.ts +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jjlmoya/utils-social",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./src/index.ts",
|
|
9
|
-
"./data": "./src/data.ts"
|
|
9
|
+
"./data": "./src/data.ts",
|
|
10
|
+
"./entries": "./src/entries.ts"
|
|
10
11
|
},
|
|
11
12
|
"files": [
|
|
12
13
|
"src"
|
package/src/entries.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { redditFormatter } from './tool/redditFormatter/entry';
|
|
2
|
+
export type { RedditFormatterLocaleContent } from './tool/redditFormatter/entry';
|
|
3
|
+
export { safeZones } from './tool/safeZones/entry';
|
|
4
|
+
export type { SafeZonesLocaleContent } from './tool/safeZones/entry';
|
|
5
|
+
export { socialImageResizer } from './tool/socialImageResizer/entry';
|
|
6
|
+
export type { SocialImageResizerLocaleContent } from './tool/socialImageResizer/entry';
|
|
7
|
+
export { socialValueCalculator } from './tool/socialValueCalculator/entry';
|
|
8
|
+
export type { SocialValueCalculatorLocaleContent } from './tool/socialValueCalculator/entry';
|
|
9
|
+
export { tinderPhotoOptimizer } from './tool/tinderPhotoOptimizer/entry';
|
|
10
|
+
export type { TinderPhotoOptimizerLocaleContent } from './tool/tinderPhotoOptimizer/entry';
|
|
11
|
+
export { youtubeThumbnail } from './tool/youtubeThumbnail/entry';
|
|
12
|
+
export type { YoutubeThumbnailLocaleContent } from './tool/youtubeThumbnail/entry';
|
|
13
|
+
export { youtubeThumbnailPreviewer } from './tool/youtubeThumbnailPreviewer/entry';
|
|
14
|
+
export type { YoutubeThumbnailPreviewerLocaleContent } from './tool/youtubeThumbnailPreviewer/entry';
|
|
15
|
+
export { socialCategory } from './category';
|
|
16
|
+
import { redditFormatter } from './tool/redditFormatter/entry';
|
|
17
|
+
import { safeZones } from './tool/safeZones/entry';
|
|
18
|
+
import { socialImageResizer } from './tool/socialImageResizer/entry';
|
|
19
|
+
import { socialValueCalculator } from './tool/socialValueCalculator/entry';
|
|
20
|
+
import { tinderPhotoOptimizer } from './tool/tinderPhotoOptimizer/entry';
|
|
21
|
+
import { youtubeThumbnail } from './tool/youtubeThumbnail/entry';
|
|
22
|
+
import { youtubeThumbnailPreviewer } from './tool/youtubeThumbnailPreviewer/entry';
|
|
23
|
+
export const ALL_ENTRIES = [redditFormatter, safeZones, socialImageResizer, socialValueCalculator, tinderPhotoOptimizer, youtubeThumbnail, youtubeThumbnailPreviewer];
|
package/src/index.ts
CHANGED
|
@@ -17,13 +17,6 @@ export type {
|
|
|
17
17
|
|
|
18
18
|
export { ALL_ENTRIES, ALL_TOOLS } from './tools';
|
|
19
19
|
|
|
20
|
-
export { SafeZonesComponent, SafeZonesSEO, SafeZonesBibliography } from './tool/safeZones';
|
|
21
|
-
export { YoutubeThumbnailComponent, YoutubeThumbnailSEO, YoutubeThumbnailBibliography } from './tool/youtubeThumbnail';
|
|
22
|
-
export { SocialValueCalculatorComponent, SocialValueCalculatorSEO, SocialValueCalculatorBibliography } from './tool/socialValueCalculator';
|
|
23
|
-
export { RedditFormatterComponent, RedditFormatterSEO, RedditFormatterBibliography } from './tool/redditFormatter';
|
|
24
|
-
export { SocialImageResizerComponent, SocialImageResizerSEO, SocialImageResizerBibliography } from './tool/socialImageResizer';
|
|
25
|
-
export { TinderPhotoOptimizerComponent, TinderPhotoOptimizerSEO, TinderPhotoOptimizerBibliography } from './tool/tinderPhotoOptimizer';
|
|
26
|
-
export { YoutubeThumbnailPreviewerComponent, YoutubeThumbnailPreviewerSEO, YoutubeThumbnailPreviewerBibliography } from './tool/youtubeThumbnailPreviewer';
|
|
27
20
|
|
|
28
21
|
export { SAFE_ZONES_TOOL } from './tool/safeZones/index';
|
|
29
22
|
export { YOUTUBE_THUMBNAIL_TOOL } from './tool/youtubeThumbnail/index';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SocialToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { RedditFormatterUI } from './ui';
|
|
5
|
+
export type RedditFormatterLocaleContent = ToolLocaleContent<RedditFormatterUI>;
|
|
6
|
+
|
|
7
|
+
export const redditFormatter: SocialToolEntry<RedditFormatterUI> = {
|
|
8
|
+
id: 'reddit-formatter',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:reddit',
|
|
11
|
+
fg: 'mdi:format-text-rotation-none',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { RedditFormatterUI } from './ui';
|
|
5
|
-
export type RedditFormatterLocaleContent = ToolLocaleContent<RedditFormatterUI>;
|
|
6
|
-
|
|
7
|
-
export const redditFormatter: SocialToolEntry<RedditFormatterUI> = {
|
|
8
|
-
id: 'reddit-formatter',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:reddit',
|
|
11
|
-
fg: 'mdi:format-text-rotation-none',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { redditFormatter } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const REDDIT_FORMATTER_TOOL: ToolDefinition = {
|
|
34
4
|
entry: redditFormatter,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SocialToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
import type { SafeZonesUI } from './ui';
|
|
4
|
+
|
|
5
|
+
export type SafeZonesLocaleContent = ToolLocaleContent<SafeZonesUI>;
|
|
6
|
+
|
|
7
|
+
export const safeZones: SocialToolEntry<SafeZonesUI> = {
|
|
8
|
+
id: 'safe-zones',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:video-outline',
|
|
11
|
+
fg: 'mdi:aspect-ratio',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import type { SafeZonesUI } from './ui';
|
|
4
|
-
|
|
5
|
-
export type SafeZonesLocaleContent = ToolLocaleContent<SafeZonesUI>;
|
|
6
|
-
|
|
7
|
-
export const safeZones: SocialToolEntry<SafeZonesUI> = {
|
|
8
|
-
id: 'safe-zones',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:video-outline',
|
|
11
|
-
fg: 'mdi:aspect-ratio',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { safeZones } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const SAFE_ZONES_TOOL: ToolDefinition = {
|
|
34
4
|
entry: safeZones,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SocialToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { SocialImageResizerUI } from './ui';
|
|
5
|
+
export type SocialImageResizerLocaleContent = ToolLocaleContent<SocialImageResizerUI>;
|
|
6
|
+
|
|
7
|
+
export const socialImageResizer: SocialToolEntry<SocialImageResizerUI> = {
|
|
8
|
+
id: 'social-image-resizer',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:image-edit-outline',
|
|
11
|
+
fg: 'mdi:crop',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { SocialImageResizerUI } from './ui';
|
|
5
|
-
export type SocialImageResizerLocaleContent = ToolLocaleContent<SocialImageResizerUI>;
|
|
6
|
-
|
|
7
|
-
export const socialImageResizer: SocialToolEntry<SocialImageResizerUI> = {
|
|
8
|
-
id: 'social-image-resizer',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:image-edit-outline',
|
|
11
|
-
fg: 'mdi:crop',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { socialImageResizer } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const SOCIAL_IMAGE_RESIZER_TOOL: ToolDefinition = {
|
|
34
4
|
entry: socialImageResizer,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SocialToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { SocialValueCalculatorUI } from './ui';
|
|
5
|
+
export type SocialValueCalculatorLocaleContent = ToolLocaleContent<SocialValueCalculatorUI>;
|
|
6
|
+
|
|
7
|
+
export const socialValueCalculator: SocialToolEntry<SocialValueCalculatorUI> = {
|
|
8
|
+
id: 'social-value-calculator',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:calculator-variant-outline',
|
|
11
|
+
fg: 'mdi:currency-usd',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { SocialValueCalculatorUI } from './ui';
|
|
5
|
-
export type SocialValueCalculatorLocaleContent = ToolLocaleContent<SocialValueCalculatorUI>;
|
|
6
|
-
|
|
7
|
-
export const socialValueCalculator: SocialToolEntry<SocialValueCalculatorUI> = {
|
|
8
|
-
id: 'social-value-calculator',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:calculator-variant-outline',
|
|
11
|
-
fg: 'mdi:currency-usd',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { socialValueCalculator } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const SOCIAL_VALUE_CALCULATOR_TOOL: ToolDefinition = {
|
|
34
4
|
entry: socialValueCalculator,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SocialToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
import type { TinderPhotoOptimizerUI } from './ui';
|
|
4
|
+
|
|
5
|
+
export type TinderPhotoOptimizerLocaleContent = ToolLocaleContent<TinderPhotoOptimizerUI>;
|
|
6
|
+
|
|
7
|
+
export const tinderPhotoOptimizer: SocialToolEntry<TinderPhotoOptimizerUI> = {
|
|
8
|
+
id: 'tinder-photo-optimizer',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:face-recognition',
|
|
11
|
+
fg: 'mdi:star-four-points-outline',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import type { TinderPhotoOptimizerUI } from './ui';
|
|
4
|
-
|
|
5
|
-
export type TinderPhotoOptimizerLocaleContent = ToolLocaleContent<TinderPhotoOptimizerUI>;
|
|
6
|
-
|
|
7
|
-
export const tinderPhotoOptimizer: SocialToolEntry<TinderPhotoOptimizerUI> = {
|
|
8
|
-
id: 'tinder-photo-optimizer',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:face-recognition',
|
|
11
|
-
fg: 'mdi:star-four-points-outline',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { tinderPhotoOptimizer } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const TINDER_PHOTO_OPTIMIZER_TOOL: ToolDefinition = {
|
|
34
4
|
entry: tinderPhotoOptimizer,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SocialToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import type { YoutubeThumbnailUI } from './ui';
|
|
5
|
+
export type YoutubeThumbnailLocaleContent = ToolLocaleContent<YoutubeThumbnailUI>;
|
|
6
|
+
|
|
7
|
+
export const youtubeThumbnail: SocialToolEntry<YoutubeThumbnailUI> = {
|
|
8
|
+
id: 'youtube-thumbnail-extractor',
|
|
9
|
+
icons: {
|
|
10
|
+
bg: 'mdi:youtube',
|
|
11
|
+
fg: 'mdi:image-search-outline',
|
|
12
|
+
},
|
|
13
|
+
i18n: {
|
|
14
|
+
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
+
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
+
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
+
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
+
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
+
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
+
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
+
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
+
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
+
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
+
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
+
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
+
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
+
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
+
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -1,35 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { YoutubeThumbnailUI } from './ui';
|
|
5
|
-
export type YoutubeThumbnailLocaleContent = ToolLocaleContent<YoutubeThumbnailUI>;
|
|
6
|
-
|
|
7
|
-
export const youtubeThumbnail: SocialToolEntry<YoutubeThumbnailUI> = {
|
|
8
|
-
id: 'youtube-thumbnail-extractor',
|
|
9
|
-
icons: {
|
|
10
|
-
bg: 'mdi:youtube',
|
|
11
|
-
fg: 'mdi:image-search-outline',
|
|
12
|
-
},
|
|
13
|
-
i18n: {
|
|
14
|
-
es: () => import('./i18n/es').then((m) => m.content),
|
|
15
|
-
en: () => import('./i18n/en').then((m) => m.content),
|
|
16
|
-
fr: () => import('./i18n/fr').then((m) => m.content),
|
|
17
|
-
de: () => import('./i18n/de').then((m) => m.content),
|
|
18
|
-
id: () => import('./i18n/id').then((m) => m.content),
|
|
19
|
-
it: () => import('./i18n/it').then((m) => m.content),
|
|
20
|
-
ja: () => import('./i18n/ja').then((m) => m.content),
|
|
21
|
-
ko: () => import('./i18n/ko').then((m) => m.content),
|
|
22
|
-
nl: () => import('./i18n/nl').then((m) => m.content),
|
|
23
|
-
pl: () => import('./i18n/pl').then((m) => m.content),
|
|
24
|
-
pt: () => import('./i18n/pt').then((m) => m.content),
|
|
25
|
-
ru: () => import('./i18n/ru').then((m) => m.content),
|
|
26
|
-
sv: () => import('./i18n/sv').then((m) => m.content),
|
|
27
|
-
tr: () => import('./i18n/tr').then((m) => m.content),
|
|
28
|
-
zh: () => import('./i18n/zh').then((m) => m.content),
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import { youtubeThumbnail } from './entry';
|
|
2
|
+
export * from './entry';
|
|
33
3
|
export const YOUTUBE_THUMBNAIL_TOOL: ToolDefinition = {
|
|
34
4
|
entry: youtubeThumbnail,
|
|
35
5
|
Component: () => import('./component.astro'),
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { SocialToolEntry, ToolLocaleContent } from '../../types';
|
|
2
|
+
|
|
3
|
+
import type { YoutubeThumbnailPreviewerUI } from './ui';
|
|
4
|
+
|
|
5
|
+
export type YoutubeThumbnailPreviewerLocaleContent = ToolLocaleContent<YoutubeThumbnailPreviewerUI>;
|
|
6
|
+
|
|
7
|
+
import { content as es } from './i18n/es';
|
|
8
|
+
import { content as en } from './i18n/en';
|
|
9
|
+
import { content as fr } from './i18n/fr';
|
|
10
|
+
import { content as de } from './i18n/de';
|
|
11
|
+
import { content as id } from './i18n/id';
|
|
12
|
+
import { content as it } from './i18n/it';
|
|
13
|
+
import { content as ja } from './i18n/ja';
|
|
14
|
+
import { content as ko } from './i18n/ko';
|
|
15
|
+
import { content as nl } from './i18n/nl';
|
|
16
|
+
import { content as pl } from './i18n/pl';
|
|
17
|
+
import { content as pt } from './i18n/pt';
|
|
18
|
+
import { content as ru } from './i18n/ru';
|
|
19
|
+
import { content as sv } from './i18n/sv';
|
|
20
|
+
import { content as tr } from './i18n/tr';
|
|
21
|
+
import { content as zh } from './i18n/zh';
|
|
22
|
+
|
|
23
|
+
export const youtubeThumbnailPreviewer: SocialToolEntry<YoutubeThumbnailPreviewerUI> = {
|
|
24
|
+
id: 'youtube-thumbnail-previewer',
|
|
25
|
+
icons: {
|
|
26
|
+
bg: 'mdi:youtube',
|
|
27
|
+
fg: 'mdi:image-search-outline',
|
|
28
|
+
},
|
|
29
|
+
i18n: {
|
|
30
|
+
es: async () => es,
|
|
31
|
+
en: async () => en,
|
|
32
|
+
fr: async () => fr,
|
|
33
|
+
de: async () => de,
|
|
34
|
+
id: async () => id,
|
|
35
|
+
it: async () => it,
|
|
36
|
+
ja: async () => ja,
|
|
37
|
+
ko: async () => ko,
|
|
38
|
+
nl: async () => nl,
|
|
39
|
+
pl: async () => pl,
|
|
40
|
+
pt: async () => pt,
|
|
41
|
+
ru: async () => ru,
|
|
42
|
+
sv: async () => sv,
|
|
43
|
+
tr: async () => tr,
|
|
44
|
+
zh: async () => zh,
|
|
45
|
+
},
|
|
46
|
+
};
|
|
@@ -1,51 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import type { YoutubeThumbnailPreviewerUI } from './ui';
|
|
4
|
-
|
|
5
|
-
export type YoutubeThumbnailPreviewerLocaleContent = ToolLocaleContent<YoutubeThumbnailPreviewerUI>;
|
|
6
|
-
|
|
7
|
-
import { content as es } from './i18n/es';
|
|
8
|
-
import { content as en } from './i18n/en';
|
|
9
|
-
import { content as fr } from './i18n/fr';
|
|
10
|
-
import { content as de } from './i18n/de';
|
|
11
|
-
import { content as id } from './i18n/id';
|
|
12
|
-
import { content as it } from './i18n/it';
|
|
13
|
-
import { content as ja } from './i18n/ja';
|
|
14
|
-
import { content as ko } from './i18n/ko';
|
|
15
|
-
import { content as nl } from './i18n/nl';
|
|
16
|
-
import { content as pl } from './i18n/pl';
|
|
17
|
-
import { content as pt } from './i18n/pt';
|
|
18
|
-
import { content as ru } from './i18n/ru';
|
|
19
|
-
import { content as sv } from './i18n/sv';
|
|
20
|
-
import { content as tr } from './i18n/tr';
|
|
21
|
-
import { content as zh } from './i18n/zh';
|
|
22
|
-
|
|
23
|
-
export const youtubeThumbnailPreviewer: SocialToolEntry<YoutubeThumbnailPreviewerUI> = {
|
|
24
|
-
id: 'youtube-thumbnail-previewer',
|
|
25
|
-
icons: {
|
|
26
|
-
bg: 'mdi:youtube',
|
|
27
|
-
fg: 'mdi:image-search-outline',
|
|
28
|
-
},
|
|
29
|
-
i18n: {
|
|
30
|
-
es: async () => es,
|
|
31
|
-
en: async () => en,
|
|
32
|
-
fr: async () => fr,
|
|
33
|
-
de: async () => de,
|
|
34
|
-
id: async () => id,
|
|
35
|
-
it: async () => it,
|
|
36
|
-
ja: async () => ja,
|
|
37
|
-
ko: async () => ko,
|
|
38
|
-
nl: async () => nl,
|
|
39
|
-
pl: async () => pl,
|
|
40
|
-
pt: async () => pt,
|
|
41
|
-
ru: async () => ru,
|
|
42
|
-
sv: async () => sv,
|
|
43
|
-
tr: async () => tr,
|
|
44
|
-
zh: async () => zh,
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
|
|
1
|
+
import { youtubeThumbnailPreviewer } from './entry';
|
|
2
|
+
export * from './entry';
|
|
49
3
|
export const YOUTUBE_THUMBNAIL_PREVIEWER_TOOL: ToolDefinition = {
|
|
50
4
|
entry: youtubeThumbnailPreviewer,
|
|
51
5
|
Component: () => import('./component.astro'),
|
package/src/tools.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { ALL_ENTRIES } from './entries';
|
|
1
2
|
import type { ToolDefinition } from './types';
|
|
2
3
|
import { SAFE_ZONES_TOOL } from './tool/safeZones/index';
|
|
3
4
|
import { YOUTUBE_THUMBNAIL_TOOL } from './tool/youtubeThumbnail/index';
|
|
@@ -9,4 +10,3 @@ import { YOUTUBE_THUMBNAIL_PREVIEWER_TOOL } from './tool/youtubeThumbnailPreview
|
|
|
9
10
|
|
|
10
11
|
export const ALL_TOOLS: ToolDefinition[] = [SAFE_ZONES_TOOL, YOUTUBE_THUMBNAIL_TOOL, SOCIAL_VALUE_CALCULATOR_TOOL, REDDIT_FORMATTER_TOOL, SOCIAL_IMAGE_RESIZER_TOOL, TINDER_PHOTO_OPTIMIZER_TOOL, YOUTUBE_THUMBNAIL_PREVIEWER_TOOL];
|
|
11
12
|
|
|
12
|
-
export const ALL_ENTRIES = ALL_TOOLS.map(t => t.entry);
|