@greatapps/greatauth 0.2.2 → 0.2.4
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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const properties = {
|
|
2
|
+
slug: {
|
|
3
|
+
type: "string",
|
|
4
|
+
required: true,
|
|
5
|
+
unique: true,
|
|
6
|
+
maxLength: 50,
|
|
7
|
+
searchable: true,
|
|
8
|
+
filterable: true,
|
|
9
|
+
interface: {
|
|
10
|
+
label: { "pt-br": "Slug", en: "Slug" },
|
|
11
|
+
component: "input",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
name: {
|
|
15
|
+
type: "string",
|
|
16
|
+
required: true,
|
|
17
|
+
maxLength: 100,
|
|
18
|
+
searchable: true,
|
|
19
|
+
filterable: true,
|
|
20
|
+
interface: {
|
|
21
|
+
label: { "pt-br": "Nome", en: "Name" },
|
|
22
|
+
component: "input",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export default properties;
|
package/src/product.js
CHANGED
|
@@ -5,6 +5,7 @@ import users from "./modules/users/index.js";
|
|
|
5
5
|
import user_phones from "./modules/user_phones/index.js";
|
|
6
6
|
import superadmins from "./modules/superadmins/index.js";
|
|
7
7
|
import products from "./modules/products/index.js";
|
|
8
|
+
import profiles from "./modules/profiles/index.js";
|
|
8
9
|
|
|
9
10
|
/* Shared */
|
|
10
11
|
|
|
@@ -34,6 +35,7 @@ export default {
|
|
|
34
35
|
user_phones,
|
|
35
36
|
superadmins,
|
|
36
37
|
products,
|
|
38
|
+
profiles,
|
|
37
39
|
},
|
|
38
40
|
documentation: {
|
|
39
41
|
title: "Great Platform API",
|