1
.npmrc
Normal file
1
.npmrc
Normal file
@ -0,0 +1 @@
|
|||||||
|
@transfem-org:registry=https://activitypub.software/api/v4/packages/npm/
|
||||||
@ -65,11 +65,11 @@ const baseStatusSchema = v.object({
|
|||||||
language: v.fallback(v.nullable(v.string()), null),
|
language: v.fallback(v.nullable(v.string()), null),
|
||||||
text: v.fallback(v.nullable(v.string()), null),
|
text: v.fallback(v.nullable(v.string()), null),
|
||||||
edited_at: v.fallback(v.nullable(datetimeSchema), null),
|
edited_at: v.fallback(v.nullable(datetimeSchema), null),
|
||||||
favourited: v.pipe(v.unknown(), v.transform(Boolean)),
|
favourited: v.fallback(v.pipe(v.unknown(), v.transform(Boolean)), false),
|
||||||
reblogged: v.pipe(v.unknown(), v.transform(Boolean)),
|
reblogged: v.fallback(v.pipe(v.unknown(), v.transform(Boolean)), false),
|
||||||
muted: v.pipe(v.unknown(), v.transform(Boolean)),
|
muted: v.fallback(v.pipe(v.unknown(), v.transform(Boolean)), false),
|
||||||
bookmarked: v.pipe(v.unknown(), v.transform(Boolean)),
|
bookmarked: v.fallback(v.pipe(v.unknown(), v.transform(Boolean)), false),
|
||||||
pinned: v.pipe(v.unknown(), v.transform(Boolean)),
|
pinned: v.fallback(v.pipe(v.unknown(), v.transform(Boolean)), false),
|
||||||
filtered: filteredArray(filterResultSchema),
|
filtered: filteredArray(filterResultSchema),
|
||||||
approval_status: v.fallback(v.nullable(v.picklist(['pending', 'approval', 'rejected'])), null),
|
approval_status: v.fallback(v.nullable(v.picklist(['pending', 'approval', 'rejected'])), null),
|
||||||
group: v.fallback(v.nullable(groupSchema), null),
|
group: v.fallback(v.nullable(groupSchema), null),
|
||||||
@ -103,6 +103,8 @@ const baseStatusSchema = v.object({
|
|||||||
disliked: v.fallback(v.pipe(v.unknown(), v.transform(Boolean)), false),
|
disliked: v.fallback(v.pipe(v.unknown(), v.transform(Boolean)), false),
|
||||||
|
|
||||||
interaction_policy: interactionPolicySchema,
|
interaction_policy: interactionPolicySchema,
|
||||||
|
|
||||||
|
content_type: v.fallback(v.nullable(v.string()), null),
|
||||||
});
|
});
|
||||||
|
|
||||||
const preprocess = (status: any) => {
|
const preprocess = (status: any) => {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pl-api",
|
"name": "pl-api",
|
||||||
"version": "1.0.0-rc.67",
|
"version": "1.0.0-rc.68",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"homepage": "https://github.com/mkljczk/pl-fe/tree/develop/packages/pl-api",
|
"homepage": "https://github.com/mkljczk/pl-fe/tree/develop/packages/pl-api",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@ -68,6 +68,7 @@
|
|||||||
"@tailwindcss/typography": "^0.5.16",
|
"@tailwindcss/typography": "^0.5.16",
|
||||||
"@tanstack/react-query": "^5.62.11",
|
"@tanstack/react-query": "^5.62.11",
|
||||||
"@tanstack/react-virtual": "^3.13.0",
|
"@tanstack/react-virtual": "^3.13.0",
|
||||||
|
"@transfem-org/sfm-js": "^0.24.6",
|
||||||
"@twemoji/svg": "^15.0.0",
|
"@twemoji/svg": "^15.0.0",
|
||||||
"@uidotdev/usehooks": "^2.4.1",
|
"@uidotdev/usehooks": "^2.4.1",
|
||||||
"@vitejs/plugin-react": "^4.3.4",
|
"@vitejs/plugin-react": "^4.3.4",
|
||||||
@ -104,7 +105,7 @@
|
|||||||
"multiselect-react-dropdown": "^2.0.25",
|
"multiselect-react-dropdown": "^2.0.25",
|
||||||
"mutative": "^1.1.0",
|
"mutative": "^1.1.0",
|
||||||
"path-browserify": "^1.0.1",
|
"path-browserify": "^1.0.1",
|
||||||
"pl-api": "^1.0.0-rc.67",
|
"pl-api": "^1.0.0-rc.68",
|
||||||
"postcss": "^8.5.3",
|
"postcss": "^8.5.3",
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
"punycode": "^2.1.1",
|
"punycode": "^2.1.1",
|
||||||
|
|||||||
@ -2340,11 +2340,23 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.5.2.tgz#db7257d727c891905947bd1c1a99da20e03c2ebd"
|
resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.5.2.tgz#db7257d727c891905947bd1c1a99da20e03c2ebd"
|
||||||
integrity sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==
|
integrity sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==
|
||||||
|
|
||||||
|
"@transfem-org/sfm-js@^0.24.6":
|
||||||
|
version "0.24.6"
|
||||||
|
resolved "https://activitypub.software/api/v4/projects/2/packages/npm/@transfem-org/sfm-js/-/@transfem-org/sfm-js-0.24.6.tgz#eedf939027773d993e45b6eb19b67f88cb36cbba"
|
||||||
|
integrity sha1-7t+TkCd3PZk+RbbrGbZ/iMs2y7o=
|
||||||
|
dependencies:
|
||||||
|
"@twemoji/parser" "15.0.0"
|
||||||
|
|
||||||
"@trysound/sax@0.2.0":
|
"@trysound/sax@0.2.0":
|
||||||
version "0.2.0"
|
version "0.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad"
|
resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad"
|
||||||
integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==
|
integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==
|
||||||
|
|
||||||
|
"@twemoji/parser@15.0.0":
|
||||||
|
version "15.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@twemoji/parser/-/parser-15.0.0.tgz#8ae9749659ef524b5f0e6ee1412d0e48865e77bf"
|
||||||
|
integrity sha512-lh9515BNsvKSNvyUqbj5yFu83iIDQ77SwVcsN/SnEGawczhsKU6qWuogewN1GweTi5Imo5ToQ9s+nNTf97IXvg==
|
||||||
|
|
||||||
"@twemoji/svg@^15.0.0":
|
"@twemoji/svg@^15.0.0":
|
||||||
version "15.0.0"
|
version "15.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@twemoji/svg/-/svg-15.0.0.tgz#0e3828c654726f1848fe11f31ef4e8a75854cc7f"
|
resolved "https://registry.yarnpkg.com/@twemoji/svg/-/svg-15.0.0.tgz#0e3828c654726f1848fe11f31ef4e8a75854cc7f"
|
||||||
@ -6863,10 +6875,10 @@ pkg-dir@^4.1.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
find-up "^4.0.0"
|
find-up "^4.0.0"
|
||||||
|
|
||||||
pl-api@^1.0.0-rc.67:
|
pl-api@^1.0.0-rc.68:
|
||||||
version "1.0.0-rc.67"
|
version "1.0.0-rc.68"
|
||||||
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.67.tgz#e1a98e7f94bcedef7f0cf89295b917f2050ca42e"
|
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.68.tgz#c334e710e349403bebcd89e42dbc87efc0b4d612"
|
||||||
integrity sha512-IrAVsUMuY/vhye8jPYQuHtyycexfheU6hj1ithFYyVhOfoctqkNACVQ8WpvPRXh68T+0o+uASMhzRFvdVDSLnA==
|
integrity sha512-CMSlxTsKL965J03Y4OfwQq/uV4hSh/daBcsVw2Tzx0KTtR/nnUE+hwfw0E0PypMFxZojPuZEGbxpuoT1JXgPSQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
blurhash "^2.0.5"
|
blurhash "^2.0.5"
|
||||||
http-link-header "^1.1.3"
|
http-link-header "^1.1.3"
|
||||||
|
|||||||
Reference in New Issue
Block a user