@absolutejs/sync-pack-mentions 0.1.2 → 0.1.3
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/dist/manifest.d.ts +14 -3
- package/dist/manifest.js +83 -17
- package/dist/manifest.js.map +5 -5
- package/dist/manifest.json +11 -1
- package/package.json +69 -69
package/dist/manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contract":
|
|
2
|
+
"contract": 2,
|
|
3
3
|
"identity": {
|
|
4
4
|
"accent": "#3b82f6",
|
|
5
5
|
"category": "sync",
|
|
@@ -48,6 +48,16 @@
|
|
|
48
48
|
"annotations": {
|
|
49
49
|
"readOnlyHint": true
|
|
50
50
|
},
|
|
51
|
+
"authorization": {
|
|
52
|
+
"approval": "never",
|
|
53
|
+
"audience": "owner",
|
|
54
|
+
"effects": [
|
|
55
|
+
"read"
|
|
56
|
+
],
|
|
57
|
+
"requiredScopes": [
|
|
58
|
+
"sync:packs:read"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
51
61
|
"description": "What this mentions pack adds to the sync engine: the table it owns, its collection, and its mutations.",
|
|
52
62
|
"input": {
|
|
53
63
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
2
|
+
"name": "@absolutejs/sync-pack-mentions",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "@mention parser pack for @absolutejs/sync — extracts @usernames from a body, writes per-actor mention rows, fires an onMention hook that composes with the notifications pack",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/absolutejs/sync-packs.git",
|
|
8
|
+
"directory": "mentions"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/absolutejs/sync-packs/tree/main/mentions",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/absolutejs/sync-packs/issues"
|
|
13
|
+
},
|
|
14
|
+
"main": "./dist/index.js",
|
|
15
|
+
"module": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"type": "module",
|
|
18
|
+
"license": "Apache-2.0",
|
|
19
|
+
"author": "Alex Kahn",
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"absolutejs",
|
|
25
|
+
"sync",
|
|
26
|
+
"sync-pack",
|
|
27
|
+
"mentions",
|
|
28
|
+
"notifications",
|
|
29
|
+
"composition"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/sync && tsc --project tsconfig.build.json && absolute-manifest emit",
|
|
33
|
+
"test": "bun test",
|
|
34
|
+
"typecheck": "tsc --noEmit",
|
|
35
|
+
"format": "prettier --write \"./**/*.{ts,json,md}\"",
|
|
36
|
+
"release": "bun run format && bun run typecheck && bun run test && bun run build && bun publish"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@absolutejs/sync": ">= 1.9.2"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@absolutejs/sync": "^1.9.2",
|
|
43
|
+
"@types/bun": "1.3.14",
|
|
44
|
+
"prettier": "3.5.3",
|
|
45
|
+
"typescript": "5.8.3"
|
|
46
|
+
},
|
|
47
|
+
"exports": {
|
|
48
|
+
".": {
|
|
49
|
+
"types": "./dist/index.d.ts",
|
|
50
|
+
"import": "./dist/index.js",
|
|
51
|
+
"default": "./dist/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./manifest": {
|
|
54
|
+
"types": "./dist/manifest.d.ts",
|
|
55
|
+
"import": "./dist/manifest.js",
|
|
56
|
+
"default": "./dist/manifest.js"
|
|
57
|
+
},
|
|
58
|
+
"./manifest.json": "./dist/manifest.json"
|
|
59
|
+
},
|
|
60
|
+
"files": [
|
|
61
|
+
"dist",
|
|
62
|
+
"README.md"
|
|
63
|
+
],
|
|
64
|
+
"absolutejs": {
|
|
65
|
+
"manifestContract": 2
|
|
66
|
+
},
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"@absolutejs/manifest": "^0.4.0",
|
|
69
|
+
"@sinclair/typebox": "^0.34.0"
|
|
70
|
+
}
|
|
71
71
|
}
|