@absolutejs/sync-pack-favorites 0.2.2 → 0.2.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "contract": 1,
2
+ "contract": 2,
3
3
  "identity": {
4
4
  "accent": "#eab308",
5
5
  "category": "sync",
@@ -42,6 +42,16 @@
42
42
  "annotations": {
43
43
  "readOnlyHint": true
44
44
  },
45
+ "authorization": {
46
+ "approval": "never",
47
+ "audience": "owner",
48
+ "effects": [
49
+ "read"
50
+ ],
51
+ "requiredScopes": [
52
+ "sync:packs:read"
53
+ ]
54
+ },
45
55
  "description": "What this favorites pack adds to the sync engine: the table it owns, its collections (including any resource join), and its mutations.",
46
56
  "input": {
47
57
  "type": "object",
package/package.json CHANGED
@@ -1,70 +1,70 @@
1
1
  {
2
- "name": "@absolutejs/sync-pack-favorites",
3
- "version": "0.2.2",
4
- "description": "Per-actor saved-resources pack for @absolutejs/sync — favorite/unfavorite/pin/list with optional join to host resources",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/absolutejs/sync-packs.git",
8
- "directory": "favorites"
9
- },
10
- "homepage": "https://github.com/absolutejs/sync-packs/tree/main/favorites",
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
- "favorites",
28
- "bookmarks"
29
- ],
30
- "scripts": {
31
- "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",
32
- "test": "bun test",
33
- "typecheck": "tsc --noEmit",
34
- "format": "prettier --write \"./**/*.{ts,json,md}\"",
35
- "release": "bun run format && bun run typecheck && bun run test && bun run build && bun publish"
36
- },
37
- "peerDependencies": {
38
- "@absolutejs/sync": ">= 1.9.2"
39
- },
40
- "devDependencies": {
41
- "@absolutejs/sync": "^1.9.2",
42
- "@types/bun": "1.3.14",
43
- "prettier": "3.5.3",
44
- "typescript": "5.8.3"
45
- },
46
- "exports": {
47
- ".": {
48
- "types": "./dist/index.d.ts",
49
- "import": "./dist/index.js",
50
- "default": "./dist/index.js"
51
- },
52
- "./manifest": {
53
- "types": "./dist/manifest.d.ts",
54
- "import": "./dist/manifest.js",
55
- "default": "./dist/manifest.js"
56
- },
57
- "./manifest.json": "./dist/manifest.json"
58
- },
59
- "files": [
60
- "dist",
61
- "README.md"
62
- ],
63
- "absolutejs": {
64
- "manifestContract": 1
65
- },
66
- "dependencies": {
67
- "@absolutejs/manifest": "^0.1.0",
68
- "@sinclair/typebox": "^0.34.0"
69
- }
2
+ "name": "@absolutejs/sync-pack-favorites",
3
+ "version": "0.2.3",
4
+ "description": "Per-actor saved-resources pack for @absolutejs/sync — favorite/unfavorite/pin/list with optional join to host resources",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/absolutejs/sync-packs.git",
8
+ "directory": "favorites"
9
+ },
10
+ "homepage": "https://github.com/absolutejs/sync-packs/tree/main/favorites",
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
+ "favorites",
28
+ "bookmarks"
29
+ ],
30
+ "scripts": {
31
+ "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",
32
+ "test": "bun test",
33
+ "typecheck": "tsc --noEmit",
34
+ "format": "prettier --write \"./**/*.{ts,json,md}\"",
35
+ "release": "bun run format && bun run typecheck && bun run test && bun run build && bun publish"
36
+ },
37
+ "peerDependencies": {
38
+ "@absolutejs/sync": ">= 1.9.2"
39
+ },
40
+ "devDependencies": {
41
+ "@absolutejs/sync": "^1.9.2",
42
+ "@types/bun": "1.3.14",
43
+ "prettier": "3.5.3",
44
+ "typescript": "5.8.3"
45
+ },
46
+ "exports": {
47
+ ".": {
48
+ "types": "./dist/index.d.ts",
49
+ "import": "./dist/index.js",
50
+ "default": "./dist/index.js"
51
+ },
52
+ "./manifest": {
53
+ "types": "./dist/manifest.d.ts",
54
+ "import": "./dist/manifest.js",
55
+ "default": "./dist/manifest.js"
56
+ },
57
+ "./manifest.json": "./dist/manifest.json"
58
+ },
59
+ "files": [
60
+ "dist",
61
+ "README.md"
62
+ ],
63
+ "absolutejs": {
64
+ "manifestContract": 2
65
+ },
66
+ "dependencies": {
67
+ "@absolutejs/manifest": "^0.4.0",
68
+ "@sinclair/typebox": "^0.34.0"
69
+ }
70
70
  }