Files
webstudio/packages/authorization-token/package.json
T
Ivan Starkov c3ca454e1f feat: Add Content Editor share permission (#4421)
## Description

Part 2 Of #3994


Hidden under flag

<img width="360" alt="image"
src="https://github.com/user-attachments/assets/59cf859a-3325-425b-b06e-31b74bd93df4">


<img width="350" alt="image"
src="https://github.com/user-attachments/assets/dca8521c-5e2b-4e4f-893f-df416cea0481">


Links with `?mode=content` from free plan should not work

<img width="626" alt="image"
src="https://github.com/user-attachments/assets/d737474d-8110-42a1-98fd-2ab94ed24cde">

Content edit shared links have no design mode

<img width="421" alt="image"
src="https://github.com/user-attachments/assets/42ee3d4b-7aab-4e2c-9e28-b5b0fe6c58af">


## Steps for reproduction

1. click button
2. expect xyz

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env` file
2024-11-15 13:59:28 +04:00

33 lines
763 B
JSON

{
"name": "@webstudio-is/authorization-token",
"version": "0.0.0",
"description": "Webstudio Authorization Token",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"scripts": {
"typecheck": "tsc"
},
"dependencies": {
"@webstudio-is/postrest": "workspace:*",
"@webstudio-is/trpc-interface": "workspace:*",
"zod": "^3.22.4"
},
"devDependencies": {
"@webstudio-is/tsconfig": "workspace:*",
"typescript": "5.6.3",
"type-fest": "^4.26.1"
},
"exports": {
".": {
"webstudio": "./src/index.ts"
},
"./index.server": {
"webstudio": "./src/index.server.ts"
}
},
"license": "AGPL-3.0-or-later",
"private": true,
"sideEffects": false
}