@fayz-ai/plugin-registry 0.12.1 → 0.14.2
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/index.d.ts +30 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +601 -85
- package/dist/index.js.map +1 -1
- package/dist/lib/entities.d.ts +4 -0
- package/dist/lib/entities.d.ts.map +1 -1
- package/dist/lib/person-fields.d.ts +61 -0
- package/dist/lib/person-fields.d.ts.map +1 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,13 @@ declare const SCREENS: readonly [{
|
|
|
13
13
|
readonly icon: "Tag";
|
|
14
14
|
readonly feature: "services";
|
|
15
15
|
readonly nested: true;
|
|
16
|
+
}, {
|
|
17
|
+
readonly id: "servicePackages";
|
|
18
|
+
readonly path: "/registry/service-packages";
|
|
19
|
+
readonly entity: EntityDef<Record<string, unknown>>;
|
|
20
|
+
readonly icon: "PackageCheck";
|
|
21
|
+
readonly feature: "services";
|
|
22
|
+
readonly nested: true;
|
|
16
23
|
}, {
|
|
17
24
|
readonly id: "locations";
|
|
18
25
|
readonly path: "/registry/locations";
|
|
@@ -31,6 +38,18 @@ declare const SCREENS: readonly [{
|
|
|
31
38
|
readonly path: "/registry/staff";
|
|
32
39
|
readonly entity: EntityDef<Record<string, unknown>>;
|
|
33
40
|
readonly icon: "UserCog";
|
|
41
|
+
}, {
|
|
42
|
+
readonly id: "teams";
|
|
43
|
+
readonly path: "/registry/teams";
|
|
44
|
+
readonly entity: EntityDef<Record<string, unknown>>;
|
|
45
|
+
readonly icon: "Users";
|
|
46
|
+
readonly nested: true;
|
|
47
|
+
}, {
|
|
48
|
+
readonly id: "professions";
|
|
49
|
+
readonly path: "/registry/professions";
|
|
50
|
+
readonly entity: EntityDef<Record<string, unknown>>;
|
|
51
|
+
readonly icon: "BriefcaseBusiness";
|
|
52
|
+
readonly nested: true;
|
|
34
53
|
}, {
|
|
35
54
|
readonly id: "contacts";
|
|
36
55
|
readonly path: "/registry/contacts";
|
|
@@ -56,6 +75,12 @@ declare const SCREENS: readonly [{
|
|
|
56
75
|
readonly path: "/registry/origins";
|
|
57
76
|
readonly entity: EntityDef<Record<string, unknown>>;
|
|
58
77
|
readonly icon: "Globe";
|
|
78
|
+
}, {
|
|
79
|
+
readonly id: "petSpecies";
|
|
80
|
+
readonly path: "/registry/pet-species";
|
|
81
|
+
readonly entity: EntityDef<Record<string, unknown>>;
|
|
82
|
+
readonly icon: "PawPrint";
|
|
83
|
+
readonly feature: "pets";
|
|
59
84
|
}];
|
|
60
85
|
export type RegistryScreenId = (typeof SCREENS)[number]['id'];
|
|
61
86
|
export interface RegistryPluginOptions {
|
|
@@ -65,11 +90,14 @@ export interface RegistryPluginOptions {
|
|
|
65
90
|
navPosition?: number;
|
|
66
91
|
navSection?: 'main' | 'secondary' | 'settings';
|
|
67
92
|
/**
|
|
68
|
-
* Quais telas esta casa tem. Ausente = todas.
|
|
93
|
+
* Quais telas esta casa tem. Ausente = todas, menos as de ofício.
|
|
69
94
|
*
|
|
70
95
|
* `false` é a única forma de negar: uma chave que ninguém respondeu cai no
|
|
71
96
|
* padrão, não em "não" — do contrário, publicar uma ficha nova seria o dia
|
|
72
97
|
* em que ela some de toda conta que não a listou.
|
|
98
|
+
*
|
|
99
|
+
* A exceção é a tela que só um ofício reconhece (ver `OPT_IN`): essa nasce
|
|
100
|
+
* desligada, e `true` é o que a liga.
|
|
73
101
|
*/
|
|
74
102
|
modules?: Partial<Record<RegistryScreenId, boolean>>;
|
|
75
103
|
/**
|
|
@@ -82,5 +110,5 @@ export interface RegistryPluginOptions {
|
|
|
82
110
|
entities?: Partial<Record<RegistryScreenId, EntityDef>>;
|
|
83
111
|
}
|
|
84
112
|
export declare function createRegistryPlugin(options?: RegistryPluginOptions): PluginManifest;
|
|
85
|
-
export { staffEntity, supplierEntity, contactEntity, partnershipEntity, equipmentEntity, originEntity, serviceCategoryEntity, serviceLocationEntity, locationGroupEntity, serviceEntity, } from './lib/entities';
|
|
113
|
+
export { staffEntity, supplierEntity, contactEntity, partnershipEntity, equipmentEntity, originEntity, serviceCategoryEntity, serviceLocationEntity, locationGroupEntity, professionEntity, petSpeciesEntity, servicePackageEntity, serviceEntity, teamEntity, } from './lib/entities';
|
|
86
114
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAqCvF,sEAAsE;AACtE,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBH,CAAA;AAEV,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAA;AAmC7D,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,UAAU,CAAA;IAC9C;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC,CAAA;IACpD;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAC,CAAA;CACxD;AAED,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE,qBAAqB,GAAG,cAAc,CA2DpF;AAED,OAAO,EACL,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAE,eAAe,EAC9E,YAAY,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,mBAAmB,EAC/E,gBAAgB,EAAE,gBAAgB,EAAE,oBAAoB,EACxD,aAAa,EAAE,UAAU,GAC1B,MAAM,gBAAgB,CAAA"}
|