@neetru/product-feedback 0.1.0 → 0.1.1
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/types.d.ts +2 -1
- package/package.json +42 -40
package/dist/types.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ export interface SupportTicket {
|
|
|
8
8
|
id: string;
|
|
9
9
|
subject: string;
|
|
10
10
|
message: string;
|
|
11
|
-
|
|
11
|
+
/** Os mesmos estados do `SupportStatus` do `@neetru/sdk` (o contrato): o «em andamento» é `'pending'`. */
|
|
12
|
+
status: 'open' | 'pending' | 'resolved' | 'closed';
|
|
12
13
|
/** URL (completa ou so pathname) de onde o ticket foi reportado. Usada pra correlacionar com
|
|
13
14
|
* `currentPath` no modal de satisfacao — "quando aplicavel" (ver `matchesCurrentPath`). */
|
|
14
15
|
pageUrl?: string | null;
|
package/package.json
CHANGED
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@neetru/product-feedback",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Fluxo de feedback pos-suporte (report -> resolvido -> satisfacao -> contestacao) reutilizavel para produtos SaaS Neetru
|
|
5
|
-
"license": "UNLICENSED",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"default": "./dist/index.js"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "tsc",
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"@
|
|
31
|
-
"
|
|
32
|
-
"react": "^19.0.0",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@neetru/product-feedback",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Fluxo de feedback pos-suporte (report -> resolvido -> satisfacao -> contestacao) reutilizavel para produtos SaaS Neetru — deteccao client-side via listMyTickets(), throttle por-usuario configuravel, maquina de estados de 4 estados. Extraido do InterPay v2; headless por padrao (voce estiliza), com modais default prontos pra uso.",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsc",
|
|
20
|
+
"pack:tgz": "npm run build && npm pack",
|
|
21
|
+
"test": "vitest run",
|
|
22
|
+
"prepublishOnly": "node ../../scripts/check-package-json.mjs && node ../../scripts/packages-run.mjs build --pacote @neetru/product-feedback"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"react": ">=18",
|
|
27
|
+
"react-dom": ">=18"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@testing-library/react": "^16.0.0",
|
|
31
|
+
"@types/react": "^19.0.0",
|
|
32
|
+
"@types/react-dom": "^19.0.0",
|
|
33
|
+
"jsdom": "^25.0.0",
|
|
34
|
+
"react": "^19.0.0",
|
|
35
|
+
"react-dom": "^19.0.0",
|
|
36
|
+
"typescript": "^5.6.0",
|
|
37
|
+
"vitest": "^2.1.0"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=22"
|
|
41
|
+
}
|
|
42
|
+
}
|