rapida-partner 1.7.7 → 1.8.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapida-partner",
3
- "version": "1.7.7",
3
+ "version": "1.8.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "index.ts",
6
6
  "files": [
@@ -9,7 +9,7 @@ export const movieBackoffice: IProject = {
9
9
  id: "movieBackoffice",
10
10
  title: "Movie Backoffice",
11
11
  description: "Sistema de gerenciamento para filmes e personagens.",
12
- flow: "permeson",
12
+ flow: "backofficeOpenedAndPermissionsByComponent",
13
13
  businessPlan: {
14
14
  businessValue: "Gerenciar e otimizar as operações do Movie.",
15
15
  targetMarket: "Empresas que utilizam o Movie para gerenciar sugestões e feedbacks.",
@@ -4,6 +4,7 @@ import type { IBusinessRule } from "./project.interface";
4
4
 
5
5
  export interface IFormInheritance {
6
6
  type: "inheritance";
7
+ name?: string;
7
8
  form: IForm;
8
9
  conditions?: IFormCondition[];
9
10
  todo?: string;
@@ -24,7 +24,7 @@ export interface IForm {
24
24
  contracts: {
25
25
  id: string;
26
26
  endpoint: string;
27
- actions: ("create" | "get" | "getById" | "update" | "delete" | "clone")[];
27
+ actions: ("create" | "get" | "getById" | "update" | "delete" | "clone" | "sendEmail")[];
28
28
  request?: IContractRequest;
29
29
  conditions?: IFormCondition[];
30
30
  businessRules?: IBusinessRule[];
@@ -17,12 +17,13 @@ export interface IProject {
17
17
  businessPlan?: IBusinessPLan;
18
18
  businessRules?: IBusinessRule[];
19
19
  flow:
20
- | "autentikigo"
21
- | "invito"
22
- | "permeson"
23
- | "komerco"
24
- | "labotablo"
25
- | "reto";
20
+ | "backofficeByInvitationWithoutPermissions"
21
+ | "backofficeByInvitationAndPermissionsByComponent"
22
+ | "backofficeOpenedWithoutPermissions"
23
+ | "backofficeOpenedAndPermissionsByComponent"
24
+ | "marketplace"
25
+ | "landingPage"
26
+ | "socialNetwork";
26
27
  frontend?: IFrontend;
27
28
  backend?: IBackend;
28
29
  modules?: IModule[];
@@ -7,6 +7,10 @@
7
7
  "type": "string",
8
8
  "const": "inheritance"
9
9
  },
10
+ "name": {
11
+ "type": "string",
12
+ "description": "IF no name is provided, the form's id will be used"
13
+ },
10
14
  "form": {
11
15
  "$ref": "form.ref.json"
12
16
  },
@@ -43,7 +43,7 @@
43
43
  "type": "array",
44
44
  "items": {
45
45
  "type": "string",
46
- "enum": ["create", "get", "getById", "update", "delete", "clone"]
46
+ "enum": ["create", "get", "getById", "update", "delete", "clone", "sendEmail"]
47
47
  }
48
48
  },
49
49
  "request": {
@@ -159,7 +159,8 @@
159
159
  "getById",
160
160
  "update",
161
161
  "delete",
162
- "clone"
162
+ "clone",
163
+ "sendEmail"
163
164
  ]
164
165
  }
165
166
  }
@@ -15,12 +15,13 @@
15
15
  "flow": {
16
16
  "type": "string",
17
17
  "enum": [
18
- "autentikigo",
19
- "invito",
20
- "permeson",
21
- "komerco",
22
- "labotablo",
23
- "reto"
18
+ "backofficeByInvitationWithoutPermissions",
19
+ "backofficeByInvitationAndPermissionsByComponent",
20
+ "backofficeOpenedWithoutPermissions",
21
+ "backofficeOpenedAndPermissionsByComponent",
22
+ "marketplace",
23
+ "landingPage",
24
+ "socialNetwork"
24
25
  ]
25
26
  },
26
27
  "businessPlan": {