@opengis/fastify-table 2.0.156 → 2.0.157
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/module/core/cls/constraint_type.json +14 -0
- package/dist/module/core/cls/constraint_type_table.json +18 -0
- package/dist/module/core/select/core.user_mentioned.sql +1 -1
- package/dist/server/migrations/roles.sql +4 -0
- package/dist/server/plugins/file/providers/fs.d.ts +1 -1
- package/dist/server/routes/access/controllers/access.group.d.ts +2 -2
- package/dist/server/routes/access/controllers/access.group.d.ts.map +1 -1
- package/dist/server/routes/access/controllers/access.group.js +15 -7
- package/dist/server/routes/access/controllers/access.group.post.d.ts +2 -2
- package/dist/server/routes/access/controllers/access.group.post.d.ts.map +1 -1
- package/dist/server/routes/access/controllers/access.group.post.js +17 -9
- package/dist/server/routes/access/controllers/access.user.d.ts +2 -0
- package/dist/server/routes/access/controllers/access.user.d.ts.map +1 -0
- package/dist/server/routes/access/controllers/access.user.js +25 -0
- package/dist/server/routes/access/controllers/access.user.post.d.ts +2 -0
- package/dist/server/routes/access/controllers/access.user.post.d.ts.map +1 -0
- package/dist/server/routes/access/controllers/access.user.post.js +37 -0
- package/dist/server/routes/access/index.d.ts.map +1 -1
- package/dist/server/routes/access/index.js +5 -1
- package/dist/server/routes/access/schema.d.ts +45 -1
- package/dist/server/routes/access/schema.d.ts.map +1 -1
- package/dist/server/routes/access/schema.js +82 -28
- package/package.json +1 -1
- package/dist/log/migration/dist-geo_road_traffic_new-cls.json +0 -1
- package/dist/log/migration/dist-geo_road_traffic_new-cls.sql +0 -0
- package/dist/log/migration/dist-mbk_bc_dma-cls.json +0 -1
- package/dist/log/migration/dist-mbk_bc_dma-cls.sql +0 -0
- package/dist/log/migration/dist-prod-cls.json +0 -1
- package/dist/log/migration/dist-prod-cls.sql +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
select uid, coalesce(sur_name,'')||coalesce(' '||user_name,'') as text, email from admin.users
|
|
1
|
+
select uid, coalesce(sur_name,'')||coalesce(' '||user_name,'') as text, email from admin.users
|
|
2
2
|
where enabled order by coalesce(sur_name,'')||coalesce(' '||user_name,'')
|
|
@@ -188,4 +188,8 @@ COMMENT ON COLUMN admin.role_access.access_granted_time IS 'Час коли на
|
|
|
188
188
|
CREATE INDEX if not exists admin_access_route_id_idx ON admin.role_access USING btree (route_id COLLATE pg_catalog."default");
|
|
189
189
|
CREATE INDEX if not exists admin_access_role_id_idx ON admin.role_access USING btree (role_id COLLATE pg_catalog."default");
|
|
190
190
|
|
|
191
|
+
alter table admin.role_access add column if not exists resource_id text;
|
|
192
|
+
COMMENT ON COLUMN admin.role_access.resource_id IS 'ID ресурсу';
|
|
193
|
+
alter table admin.role_access alter column route_id drop not null;
|
|
194
|
+
|
|
191
195
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
export default function fsStorage(): {
|
|
3
3
|
deleteFile: (fp: string) => Promise<void>;
|
|
4
|
-
downloadFile: (fp: string, options?: Record<string, any>) => Promise<
|
|
4
|
+
downloadFile: (fp: string, options?: Record<string, any>) => Promise<Buffer<ArrayBufferLike> | fs.ReadStream | {
|
|
5
5
|
original: string;
|
|
6
6
|
full: string | null;
|
|
7
7
|
} | null>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { type FastifyReply } from "fastify";
|
|
2
2
|
import { type ExtendedPG } from "../../../types/core.js";
|
|
3
|
-
export default function accessGroup({ pg, params, user,
|
|
3
|
+
export default function accessGroup({ pg, params, user, }: {
|
|
4
4
|
pg: ExtendedPG;
|
|
5
5
|
params: {
|
|
6
6
|
id: string;
|
|
7
7
|
};
|
|
8
8
|
user: Record<string, any>;
|
|
9
|
-
unittest?: any;
|
|
10
9
|
}, reply: FastifyReply): Promise<{
|
|
11
10
|
routes: any;
|
|
11
|
+
resources: any;
|
|
12
12
|
users: any;
|
|
13
13
|
}>;
|
|
14
14
|
//# sourceMappingURL=access.group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.group.d.ts","sourceRoot":"","sources":["../../../../../server/routes/access/controllers/access.group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIzD,wBAA8B,WAAW,CACvC,EACE,EAAqB,EACrB,MAAM,EACN,IAAS,
|
|
1
|
+
{"version":3,"file":"access.group.d.ts","sourceRoot":"","sources":["../../../../../server/routes/access/controllers/access.group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIzD,wBAA8B,WAAW,CACvC,EACE,EAAqB,EACrB,MAAM,EACN,IAAS,GACV,EAAE;IACD,EAAE,EAAE,UAAU,CAAC;IACf,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B,EAED,KAAK,EAAE,YAAY;;;;GA4CpB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pgClients, getAdminAccess } from "../../../../utils.js";
|
|
2
|
-
export default async function accessGroup({ pg = pgClients.client, params, user = {},
|
|
2
|
+
export default async function accessGroup({ pg = pgClients.client, params, user = {}, }, reply) {
|
|
3
3
|
if (!params?.id) {
|
|
4
4
|
return reply.status(400).send("not enough params: id");
|
|
5
5
|
}
|
|
@@ -8,15 +8,23 @@ export default async function accessGroup({ pg = pgClients.client, params, user
|
|
|
8
8
|
id: params.id,
|
|
9
9
|
user,
|
|
10
10
|
});
|
|
11
|
-
if (check?.message && check?.status &&
|
|
11
|
+
if (check?.message && check?.status && process.env.NODE_ENV !== "test") {
|
|
12
12
|
return reply.status(check?.status).send(check?.message);
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const routes = await pg
|
|
15
|
+
.query(`select a.route_id as path, b.actions from admin.routes a
|
|
15
16
|
left join admin.role_access b on a.route_id=b.route_id
|
|
16
|
-
where b.role_id=$1`, [params.id])
|
|
17
|
-
|
|
17
|
+
where b.role_id=$1`, [params.id])
|
|
18
|
+
.then((el) => el.rows || []);
|
|
19
|
+
const resources = await pg
|
|
20
|
+
.query(`select resource_id, actions from admin.role_access
|
|
21
|
+
where resource_id is not null and role_id=$1`, [params.id])
|
|
22
|
+
.then((el) => el.rows || []);
|
|
23
|
+
const users = await pg
|
|
24
|
+
.query(`select user_uid as id, user_name as name, access_granted,
|
|
18
25
|
b.cdate as user_created, b.last_activity_date as last_activity from admin.user_roles a
|
|
19
26
|
left join admin.users b on a.user_uid=b.uid
|
|
20
|
-
where a.role_id=$1`, [params.id])
|
|
21
|
-
|
|
27
|
+
where a.role_id=$1`, [params.id])
|
|
28
|
+
.then((el) => el.rows || []);
|
|
29
|
+
return { routes, resources, users };
|
|
22
30
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { type FastifyReply } from "fastify";
|
|
2
2
|
import { type ExtendedPG } from "../../../types/core.js";
|
|
3
|
-
export default function accessGroupPost({ pg, params, user, body,
|
|
3
|
+
export default function accessGroupPost({ pg, params, user, body, }: {
|
|
4
4
|
pg: ExtendedPG;
|
|
5
5
|
params: {
|
|
6
6
|
id: string;
|
|
7
7
|
};
|
|
8
8
|
user: Record<string, any>;
|
|
9
9
|
body: Record<string, any>;
|
|
10
|
-
unittest?: any;
|
|
11
10
|
}, reply: FastifyReply): Promise<{
|
|
12
11
|
routes: any;
|
|
12
|
+
resources: any;
|
|
13
13
|
users: any;
|
|
14
14
|
}>;
|
|
15
15
|
//# sourceMappingURL=access.group.post.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.group.post.d.ts","sourceRoot":"","sources":["../../../../../server/routes/access/controllers/access.group.post.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKzD,wBAA8B,eAAe,CAC3C,EACE,EAAqB,EACrB,MAAM,EACN,IAAS,EACT,IAAS,
|
|
1
|
+
{"version":3,"file":"access.group.post.d.ts","sourceRoot":"","sources":["../../../../../server/routes/access/controllers/access.group.post.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKzD,wBAA8B,eAAe,CAC3C,EACE,EAAqB,EACrB,MAAM,EACN,IAAS,EACT,IAAS,GACV,EAAE;IACD,EAAE,EAAE,UAAU,CAAC;IACf,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B,EACD,KAAK,EAAE,YAAY;;;;GA+GpB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { pgClients, getAdminAccess } from "../../../../utils.js";
|
|
2
2
|
import accessGroup from "./access.group.js";
|
|
3
|
-
export default async function accessGroupPost({ pg = pgClients.client, params, user = {}, body = {},
|
|
3
|
+
export default async function accessGroupPost({ pg = pgClients.client, params, user = {}, body = {}, }, reply) {
|
|
4
4
|
const { id } = params;
|
|
5
5
|
if (!user?.uid) {
|
|
6
6
|
return reply.status(401).send("unauthorized");
|
|
7
7
|
}
|
|
8
8
|
// restrict access - admin only
|
|
9
9
|
const check = await getAdminAccess({ id, user });
|
|
10
|
-
if (check?.message && check?.status &&
|
|
10
|
+
if (check?.message && check?.status && process.env.NODE_ENV !== "test") {
|
|
11
11
|
return reply.status(check?.status).send(check?.message);
|
|
12
12
|
}
|
|
13
13
|
const { users = [], routes = [] } = body;
|
|
@@ -21,18 +21,27 @@ export default async function accessGroupPost({ pg = pgClients.client, params, u
|
|
|
21
21
|
const routesDB = await pg
|
|
22
22
|
.query('select array_agg(route_id) as "routesDB" from admin.routes where enabled')
|
|
23
23
|
.then((el) => el.rows?.[0]?.routesDB || []);
|
|
24
|
-
await pg.query("delete from admin.role_access where role_id=$1
|
|
24
|
+
await pg.query("delete from admin.role_access where role_id=$1", [id]);
|
|
25
25
|
await Promise.all(routes
|
|
26
|
-
.filter((el) => !routesDB?.includes(el.path))
|
|
26
|
+
.filter((el) => el.path && !routesDB?.includes(el.path))
|
|
27
27
|
.map((el) => pg.query("insert into admin.routes(route_id) values($1)", [el.path])));
|
|
28
28
|
await Promise.all(routes
|
|
29
|
-
.filter((el) =>
|
|
29
|
+
.filter((el) => el.path && el.actions)
|
|
30
30
|
.map((el) => pg.query("insert into admin.role_access(role_id,route_id,actions) values ($1,$2,$3)", [id, el.path, el.actions])));
|
|
31
|
-
|
|
31
|
+
await Promise.all(routes
|
|
32
|
+
.filter((el) => el.resource && el.actions)
|
|
33
|
+
.map((el) => pg.query("insert into admin.role_access(resource_id,route_id,actions) values ($1,$2,$3)", [id, el.path, el.actions])));
|
|
34
|
+
const rows = await pg
|
|
35
|
+
.query(`select a.route_id as path, b.actions as actions from admin.routes a
|
|
32
36
|
left join admin.role_access b on a.route_id=b.route_id
|
|
33
|
-
where b.role_id=$1`, [id])
|
|
37
|
+
where b.role_id=$1`, [id])
|
|
38
|
+
.then((el) => el.rows || []);
|
|
39
|
+
const resources = await pg
|
|
40
|
+
.query(`select resource_id, actions from admin.role_access
|
|
41
|
+
where resource_id is not null and role_id=$1`, [id])
|
|
42
|
+
.then((el) => el.rows || []);
|
|
34
43
|
if (!users?.length) {
|
|
35
|
-
return reply.status(200).send({ id, routes: rows });
|
|
44
|
+
return reply.status(200).send({ id, routes: rows, resources });
|
|
36
45
|
}
|
|
37
46
|
}
|
|
38
47
|
const q = `delete from admin.user_roles where role_id='${id.replace(/'/g, "''")}';
|
|
@@ -45,7 +54,6 @@ export default async function accessGroupPost({ pg = pgClients.client, params, u
|
|
|
45
54
|
pg,
|
|
46
55
|
params,
|
|
47
56
|
user,
|
|
48
|
-
unittest,
|
|
49
57
|
}, reply);
|
|
50
58
|
return res;
|
|
51
59
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access.user.d.ts","sourceRoot":"","sources":["../../../../../server/routes/access/controllers/access.user.ts"],"names":[],"mappings":"AAEA,wBAA8B,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,gBAkC5D"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { config, pgClients } from "../../../../utils.js";
|
|
2
|
+
export default async function accessUser(req, reply) {
|
|
3
|
+
if (!req.params?.id) {
|
|
4
|
+
return reply
|
|
5
|
+
.status(400)
|
|
6
|
+
.send({ error: "not enough params: id", code: 400 });
|
|
7
|
+
}
|
|
8
|
+
// restrict access - admin only
|
|
9
|
+
if (!config.local && !req.user?.user_type?.includes?.("admin")) {
|
|
10
|
+
return reply.status(403).send({ error: "access restricted", code: 403 });
|
|
11
|
+
}
|
|
12
|
+
const { pg = pgClients.client } = req;
|
|
13
|
+
const routes = await pg
|
|
14
|
+
.query(`select a.route_id as path, b.actions from admin.routes a
|
|
15
|
+
left join admin.role_access b on a.route_id=b.route_id
|
|
16
|
+
where b.user_uid=$1`, [req.params.id])
|
|
17
|
+
.then((el) => el.rows || []);
|
|
18
|
+
const user = await pg
|
|
19
|
+
.query(`select user_uid as id, user_name as name, access_granted,
|
|
20
|
+
b.cdate as user_created, b.last_activity_date as last_activity from admin.user_roles a
|
|
21
|
+
left join admin.users b on a.user_uid=b.uid
|
|
22
|
+
where a.user_uid=$1`, [req.params.id])
|
|
23
|
+
.then((el) => el.rows?.[0]);
|
|
24
|
+
return reply.status(200).send({ routes, user });
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access.user.post.d.ts","sourceRoot":"","sources":["../../../../../server/routes/access/controllers/access.user.post.ts"],"names":[],"mappings":"AAIA,wBAA8B,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,gBA8DhE"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { config, pgClients } from "../../../../utils.js";
|
|
2
|
+
import accessUser from "./access.user.js";
|
|
3
|
+
export default async function accessUserPost(req, reply) {
|
|
4
|
+
const { pg = pgClients.client, params, body, user } = req;
|
|
5
|
+
if (!params?.id) {
|
|
6
|
+
return reply
|
|
7
|
+
.status(400)
|
|
8
|
+
.send({ error: "not enough params: id", code: 400 });
|
|
9
|
+
}
|
|
10
|
+
if (!user?.uid) {
|
|
11
|
+
return reply.status(401).send({ error: "unauthorized", code: 401 });
|
|
12
|
+
}
|
|
13
|
+
// restrict access - admin only
|
|
14
|
+
if (!config.local && !user?.user_type?.includes?.("admin")) {
|
|
15
|
+
return reply.status(403).send({ error: "access restricted", code: 403 });
|
|
16
|
+
}
|
|
17
|
+
await pg.query("delete from admin.role_access where user_uid=$1", [
|
|
18
|
+
params.id,
|
|
19
|
+
]);
|
|
20
|
+
if (!body?.routes?.length) {
|
|
21
|
+
return reply.status(200).send({ id: params.id, routes: [] });
|
|
22
|
+
}
|
|
23
|
+
const routesDB = await pg
|
|
24
|
+
.query("select array_agg(route_id) from admin.routes where enabled")
|
|
25
|
+
.then((el) => el.rows?.[0]?.array_agg || []);
|
|
26
|
+
await Promise.all(body.routes
|
|
27
|
+
.filter((el) => el.path && !routesDB?.includes(el.path))
|
|
28
|
+
.map((el) => pg.query("insert into admin.routes(route_id) values($1)", [el.path])));
|
|
29
|
+
await Promise.all(body.routes
|
|
30
|
+
.filter((el) => el.path && el.actions)
|
|
31
|
+
.map((el) => pg.query("insert into admin.role_access(user_uid,route_id,actions) values ($1,$2,$3)", [params.id, el.path, el.actions])));
|
|
32
|
+
await Promise.all(body.routes
|
|
33
|
+
.filter((el) => el.resource && el.actions)
|
|
34
|
+
.map((el) => pg.query("insert into admin.role_access(user_uid,resource_id,actions) values ($1,$2,$3)", [params.id, el.resource, el.actions])));
|
|
35
|
+
const result = await accessUser({ pg, params }, reply);
|
|
36
|
+
return result;
|
|
37
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/routes/access/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/routes/access/index.ts"],"names":[],"mappings":"AAeA,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,GAAE,GAAQ,QAkBxD"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import accessGroup from "./controllers/access.group.js";
|
|
2
2
|
import accessGroupPost from "./controllers/access.group.post.js";
|
|
3
|
+
import accessUser from "./controllers/access.user.js";
|
|
4
|
+
import accessUserPost from "./controllers/access.user.post.js";
|
|
3
5
|
import accessInterface from "./controllers/access.interface.js";
|
|
4
|
-
import { accessGroupPostSchema, accessGroupSchema, accessInterfaceSchema, } from "./schema.js";
|
|
6
|
+
import { accessGroupPostSchema, accessGroupSchema, accessInterfaceSchema, accessUserPostSchema, accessUserSchema, } from "./schema.js";
|
|
5
7
|
export default function route(fastify, opt = {}) {
|
|
6
8
|
fastify.get("/access-group/:id", { schema: accessGroupSchema }, accessGroup);
|
|
7
9
|
fastify.post("/access-group/:id", { schema: accessGroupPostSchema }, accessGroupPost);
|
|
10
|
+
fastify.get("/access-user/:id", { schema: accessUserSchema }, accessUser);
|
|
11
|
+
fastify.post("/access-user/:id", { schema: accessUserPostSchema }, accessUserPost);
|
|
8
12
|
fastify.get("/access-interface/:name", { schema: accessInterfaceSchema }, accessInterface);
|
|
9
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: null;
|
|
2
2
|
export default _default;
|
|
3
|
-
export { accessGroupSchema, accessGroupPostSchema, accessInterfaceSchema };
|
|
3
|
+
export { accessGroupSchema, accessUserSchema, accessGroupPostSchema, accessInterfaceSchema, accessUserPostSchema, };
|
|
4
4
|
declare const accessGroupSchema: {
|
|
5
5
|
params: {
|
|
6
6
|
type: string;
|
|
@@ -13,6 +13,18 @@ declare const accessGroupSchema: {
|
|
|
13
13
|
required: string[];
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
+
declare const accessUserSchema: {
|
|
17
|
+
params: {
|
|
18
|
+
type: string;
|
|
19
|
+
properties: {
|
|
20
|
+
id: {
|
|
21
|
+
type: string;
|
|
22
|
+
pattern: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
required: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
16
28
|
declare const accessInterfaceSchema: {
|
|
17
29
|
params: {
|
|
18
30
|
type: string;
|
|
@@ -57,4 +69,36 @@ declare const accessGroupPostSchema: {
|
|
|
57
69
|
};
|
|
58
70
|
};
|
|
59
71
|
};
|
|
72
|
+
declare const accessUserPostSchema: {
|
|
73
|
+
params: {
|
|
74
|
+
type: string;
|
|
75
|
+
properties: {
|
|
76
|
+
id: {
|
|
77
|
+
type: string;
|
|
78
|
+
pattern: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
required: string[];
|
|
82
|
+
};
|
|
83
|
+
body: {
|
|
84
|
+
type: string;
|
|
85
|
+
properties: {
|
|
86
|
+
users: {
|
|
87
|
+
type: string;
|
|
88
|
+
items: {
|
|
89
|
+
type: string;
|
|
90
|
+
properties: {
|
|
91
|
+
id: {
|
|
92
|
+
type: string;
|
|
93
|
+
pattern: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
routes: {
|
|
99
|
+
type: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
60
104
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../server/routes/access/schema.ts"],"names":[],"mappings":";AAAA,wBAAoB;AACpB,OAAO,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../server/routes/access/schema.ts"],"names":[],"mappings":";AAAA,wBAAoB;AACpB,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,GACrB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;;;;;;;;;;CAQtB,CAAC;AAEF,QAAA,MAAM,gBAAgB;;;;;;;;;;;CAQrB,CAAC;AAEF,QAAA,MAAM,qBAAqB;;;;;;;;;;;CAQ1B,CAAC;AAEF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C1B,CAAC;AAEF,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CzB,CAAC"}
|
|
@@ -1,64 +1,118 @@
|
|
|
1
1
|
export default null;
|
|
2
|
-
export { accessGroupSchema, accessGroupPostSchema, accessInterfaceSchema };
|
|
2
|
+
export { accessGroupSchema, accessUserSchema, accessGroupPostSchema, accessInterfaceSchema, accessUserPostSchema, };
|
|
3
3
|
const accessGroupSchema = {
|
|
4
4
|
params: {
|
|
5
|
-
type:
|
|
5
|
+
type: "object",
|
|
6
6
|
properties: {
|
|
7
|
-
id: { type:
|
|
7
|
+
id: { type: "string", pattern: "^([\\d\\w._-]+)$" },
|
|
8
8
|
},
|
|
9
|
-
required: [
|
|
9
|
+
required: ["id"],
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
const accessUserSchema = {
|
|
13
|
+
params: {
|
|
14
|
+
type: "object",
|
|
15
|
+
properties: {
|
|
16
|
+
id: { type: "string", pattern: "^([\\d\\w._-]+)$" },
|
|
17
|
+
},
|
|
18
|
+
required: ["id"],
|
|
10
19
|
},
|
|
11
20
|
};
|
|
12
21
|
const accessInterfaceSchema = {
|
|
13
22
|
params: {
|
|
14
|
-
type:
|
|
23
|
+
type: "object",
|
|
15
24
|
properties: {
|
|
16
|
-
name: { type:
|
|
25
|
+
name: { type: "string", pattern: "^([\\d\\w._-]+)$" },
|
|
17
26
|
},
|
|
18
|
-
required: [
|
|
27
|
+
required: ["name"],
|
|
19
28
|
},
|
|
20
29
|
};
|
|
21
30
|
const accessGroupPostSchema = {
|
|
22
31
|
params: {
|
|
23
|
-
type:
|
|
32
|
+
type: "object",
|
|
24
33
|
properties: {
|
|
25
|
-
id: { type:
|
|
34
|
+
id: { type: "string", pattern: "^([\\d\\w._-]+)$" },
|
|
26
35
|
},
|
|
27
|
-
required: [
|
|
36
|
+
required: ["id"],
|
|
28
37
|
},
|
|
29
38
|
body: {
|
|
30
|
-
type:
|
|
39
|
+
type: "object",
|
|
31
40
|
properties: {
|
|
32
41
|
users: {
|
|
33
|
-
type:
|
|
42
|
+
type: "array",
|
|
34
43
|
items: {
|
|
35
|
-
type:
|
|
44
|
+
type: "object",
|
|
36
45
|
properties: {
|
|
37
46
|
id: {
|
|
38
|
-
type:
|
|
39
|
-
pattern:
|
|
47
|
+
type: "string",
|
|
48
|
+
pattern: "^([\\d\\w._-]+)$",
|
|
40
49
|
},
|
|
41
50
|
},
|
|
42
51
|
},
|
|
43
52
|
},
|
|
44
53
|
routes: {
|
|
45
|
-
type:
|
|
54
|
+
type: "array",
|
|
46
55
|
/*items: {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
type: 'object',
|
|
57
|
+
properties: {
|
|
58
|
+
path: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
pattern: '^([\\d\\w._-]+)$',
|
|
61
|
+
},
|
|
62
|
+
actions: {
|
|
63
|
+
type: 'array',
|
|
64
|
+
items: {
|
|
65
|
+
type: 'string',
|
|
66
|
+
enum: ['get', 'add', 'edit', 'del'],
|
|
67
|
+
},
|
|
68
|
+
},
|
|
58
69
|
},
|
|
70
|
+
},*/
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
const accessUserPostSchema = {
|
|
76
|
+
params: {
|
|
77
|
+
type: "object",
|
|
78
|
+
properties: {
|
|
79
|
+
id: { type: "string", pattern: "^([\\d\\w._-]+)$" },
|
|
80
|
+
},
|
|
81
|
+
required: ["id"],
|
|
82
|
+
},
|
|
83
|
+
body: {
|
|
84
|
+
type: "object",
|
|
85
|
+
properties: {
|
|
86
|
+
users: {
|
|
87
|
+
type: "array",
|
|
88
|
+
items: {
|
|
89
|
+
type: "object",
|
|
90
|
+
properties: {
|
|
91
|
+
id: {
|
|
92
|
+
type: "string",
|
|
93
|
+
pattern: "^([\\d\\w._-]+)$",
|
|
59
94
|
},
|
|
60
95
|
},
|
|
61
|
-
}
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
routes: {
|
|
99
|
+
type: "array",
|
|
100
|
+
/*items: {
|
|
101
|
+
type: 'object',
|
|
102
|
+
properties: {
|
|
103
|
+
path: {
|
|
104
|
+
type: 'string',
|
|
105
|
+
pattern: '^([\\d\\w._-]+)$',
|
|
106
|
+
},
|
|
107
|
+
actions: {
|
|
108
|
+
type: 'array',
|
|
109
|
+
items: {
|
|
110
|
+
type: 'string',
|
|
111
|
+
enum: ['get', 'add', 'edit', 'del'],
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},*/
|
|
62
116
|
},
|
|
63
117
|
},
|
|
64
118
|
},
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"name":"crm.account_id","module":"codr","type":"select","hash":"1576257d021802fe8d114b45bdc6aa3b","dbhash":"1576257d021802fe8d114b45bdc6aa3b","update":false},{"name":"crm.account_id_proj","module":"codr","type":"select","hash":"aefa800c926a15b240cf81bc7e0eaf85","dbhash":"aefa800c926a15b240cf81bc7e0eaf85","update":false},{"name":"gis.srid_from_setting","module":"codr","type":"select","hash":"a62fc59ad8643ccef23c6654cff5da08","dbhash":"a62fc59ad8643ccef23c6654cff5da08","update":false},{"name":"td.dict_customer","module":"codr","type":"select","hash":"b2629b2d8af9fd6c87635c025fc182f1","dbhash":"b2629b2d8af9fd6c87635c025fc182f1","update":false},{"name":"td.doc_type","module":"codr","type":"select","hash":"ef1456c27da3cd6b849b480df8234eb1","dbhash":"ef1456c27da3cd6b849b480df8234eb1","update":false},{"name":"td.proj_doc_id","module":"codr","type":"select","hash":"54f46c0f73e66e68fbd0f96f234abbeb","dbhash":"54f46c0f73e66e68fbd0f96f234abbeb","update":false},{"name":"td.proj_doc_id_parent","module":"codr","type":"select","hash":"33099b34ecacebaa36cea0716b665d09","dbhash":"33099b34ecacebaa36cea0716b665d09","update":false},{"name":"td.proj_id","module":"codr","type":"select","hash":"ef2978070567c3fd28ec1b36631cb90b","dbhash":"ef2978070567c3fd28ec1b36631cb90b","update":false},{"name":"td.proj_plg_id","module":"codr","type":"select","hash":"9c36eee88d8f8675fdb5496d26e26d9b","dbhash":"9c36eee88d8f8675fdb5496d26e26d9b","update":false},{"name":"td.proj_plg_id_parent","module":"codr","type":"select","hash":"c362bcc7b72c6a227055876ca1092361","dbhash":"c362bcc7b72c6a227055876ca1092361","update":false},{"name":"td.proj_type","module":"codr","type":"select","hash":"cebafeeb771e593ce741df6d02f9dec1","dbhash":"cebafeeb771e593ce741df6d02f9dec1","update":false},{"name":"user_id","module":"codr","type":"select","hash":"4339922d053e66ccd43e34f2838037b1","dbhash":"4339922d053e66ccd43e34f2838037b1","update":false},{"name":"core.user_mentioned","module":"core","type":"select","hash":"6687f073de73a3ec4b6e0811d9310e7e","dbhash":"6687f073de73a3ec4b6e0811d9310e7e","update":false},{"name":"td.odr_creator_department","module":"codr","type":"cls","hash":"fad180803a718000898a9f6253181f41","dbhash":"fad180803a718000898a9f6253181f41","update":false},{"name":"td.plg_survey","module":"codr","type":"cls","hash":"5c7c5032fb65f54f07ac31631d7ac2d5","dbhash":"5c7c5032fb65f54f07ac31631d7ac2d5","update":false},{"name":"td.proj_stat_type","module":"codr","type":"cls","hash":"ba13bcbc4d602e657b132478fcb6e29a","dbhash":"ba13bcbc4d602e657b132478fcb6e29a","update":false},{"name":"td.proj_type_tzrdr","module":"codr","type":"cls","hash":"0e6a34cd1e9a3e0749378c40b2dbb176","dbhash":"0e6a34cd1e9a3e0749378c40b2dbb176","update":false},{"name":"td.proj_validity_type","module":"codr","type":"cls","hash":"c0d2edcf88bc49cc07fc4da850a8caaf","dbhash":"c0d2edcf88bc49cc07fc4da850a8caaf","update":false},{"name":"td.stage","module":"codr","type":"cls","hash":"157956e0222a7c39f3cf6bd84fe998ae","dbhash":"157956e0222a7c39f3cf6bd84fe998ae","update":false},{"name":"td.status","module":"codr","type":"cls","hash":"bf64d2cfe3358ec3d3e96529d6c5a2d2","dbhash":"bf64d2cfe3358ec3d3e96529d6c5a2d2","update":false},{"name":"users.user_type","module":"codr","type":"cls","hash":"750ece56e1d55cd7a1e1b002df88ec91","dbhash":"750ece56e1d55cd7a1e1b002df88ec91","update":false},{"name":"yes_no","module":"codr","type":"cls","hash":"50c527053426248c20b0a2f112ff9046","dbhash":"50c527053426248c20b0a2f112ff9046","update":false},{"name":"constraint_action","module":"core","type":"cls","hash":"1b7129eae9eb42106ed6e646223c806a","dbhash":"1b7129eae9eb42106ed6e646223c806a","update":false},{"name":"constraint_matchtype","module":"core","type":"cls","hash":"446ad903e69a391748a8a27bae2dc5cd","dbhash":"446ad903e69a391748a8a27bae2dc5cd","update":false},{"name":"constraint_type_full","module":"core","type":"cls","hash":"9e1cc580273f7e73fbc08ee553ad8f64","dbhash":"9e1cc580273f7e73fbc08ee553ad8f64","update":false},{"name":"core.user_type","module":"core","type":"cls","hash":"728bc9e0bcc88de83ec56d8dc7e7efff","dbhash":"728bc9e0bcc88de83ec56d8dc7e7efff","update":false}]
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"name":"prc.application_id","module":"APPLICATION","type":"select","hash":"d5b27c80a2a4682e164c8713f36053fd","dbhash":"d5b27c80a2a4682e164c8713f36053fd","update":false},{"name":"prc.application_status.parent","module":"APPLICATION","type":"select","hash":"1d63a805e56b9b350f7a2ec7df26da3c","dbhash":"1d63a805e56b9b350f7a2ec7df26da3c","update":false},{"name":"prc.application_type","module":"APPLICATION","type":"select","hash":"fa2baf8fbb896363b740a74487281b6b","dbhash":"fa2baf8fbb896363b740a74487281b6b","update":false},{"name":"prc.parcel_purpose_id","module":"APPLICATION","type":"select","hash":"22e43518957449f90b63170033b4ae3b","dbhash":"22e43518957449f90b63170033b4ae3b","update":false},{"name":"prc.parcel_status.parent","module":"APPLICATION","type":"select","hash":"7310662b3e674b4dd3c3a0ae4bc76c80","dbhash":"7310662b3e674b4dd3c3a0ae4bc76c80","update":false},{"name":"addr.address_id","module":"LAND-CADASTRE","type":"select","hash":"19c0d463fa55a284d789bb15318f5ef7","dbhash":"19c0d463fa55a284d789bb15318f5ef7","update":false},{"name":"addr.address_id_full","module":"LAND-CADASTRE","type":"select","hash":"6257b7f173167b7057cc2ff1859a21c1","dbhash":"6257b7f173167b7057cc2ff1859a21c1","update":false},{"name":"addr.address_id_parent","module":"LAND-CADASTRE","type":"select","hash":"01b41b8690c6eb5ad3638d74ae4c007d","dbhash":"01b41b8690c6eb5ad3638d74ae4c007d","update":false},{"name":"addr.city_id","module":"LAND-CADASTRE","type":"select","hash":"a943aa5241a30a33c88e58d223d201db","dbhash":"a943aa5241a30a33c88e58d223d201db","update":false},{"name":"addr.district_id","module":"LAND-CADASTRE","type":"select","hash":"a811b43f9d0eb6e79a796e0a5b988294","dbhash":"a811b43f9d0eb6e79a796e0a5b988294","update":false},{"name":"addr.street_id_full","module":"LAND-CADASTRE","type":"select","hash":"d0e3db667578cf8017e69ca6c0c42b0f","dbhash":"d0e3db667578cf8017e69ca6c0c42b0f","update":false},{"name":"address_id","module":"LAND-CADASTRE","type":"select","hash":"e993b5c610baa695cbc8db8f5d20af5a","dbhash":"e993b5c610baa695cbc8db8f5d20af5a","update":false},{"name":"gis.srid_from_setting","module":"LAND-CADASTRE","type":"select","hash":"138a168c385a79ec7a3e949be4daef57","dbhash":"138a168c385a79ec7a3e949be4daef57","update":false},{"name":"prc.acc_id","module":"LAND-CADASTRE","type":"select","hash":"3ed8c88c51586b256b97743f07ca4821","dbhash":"3ed8c88c51586b256b97743f07ca4821","update":false},{"name":"prc.cad_zone_id","module":"LAND-CADASTRE","type":"select","hash":"1c53abf0fad143bbba6b331f9ddd8272","dbhash":"1c53abf0fad143bbba6b331f9ddd8272","update":false},{"name":"prc.decision_type","module":"LAND-CADASTRE","type":"select","hash":"f9490ca91fa59d256651f51262300a75","dbhash":"f9490ca91fa59d256651f51262300a75","update":false},{"name":"prc.doc_id","module":"LAND-CADASTRE","type":"select","hash":"185d98585e3e0be5d4ee929a19b03bfe","dbhash":"185d98585e3e0be5d4ee929a19b03bfe","update":false},{"name":"prc.doc_id_note","module":"LAND-CADASTRE","type":"select","hash":"c83b6536588cfa2ab7b5bac00f04bcd3","dbhash":"c83b6536588cfa2ab7b5bac00f04bcd3","update":false},{"name":"prc.doc_id_short","module":"LAND-CADASTRE","type":"select","hash":"29f98ae3fe10e834b542d53e2dcef592","dbhash":"29f98ae3fe10e834b542d53e2dcef592","update":false},{"name":"prc.parcel_id.full","module":"LAND-CADASTRE","type":"select","hash":"0a3846884fc21a87058d8943ae02df18","dbhash":"0a3846884fc21a87058d8943ae02df18","update":false},{"name":"prc.parcel_id","module":"LAND-CADASTRE","type":"select","hash":"7408a469d8994d4da3235c5e201f8b3a","dbhash":"7408a469d8994d4da3235c5e201f8b3a","update":false},{"name":"prc.techdoc_id","module":"LAND-CADASTRE","type":"select","hash":"1c4c2ebcf86244c5caf6ab345fb8707c","dbhash":"1c4c2ebcf86244c5caf6ab345fb8707c","update":false},{"name":"prc.techdoc_id_parent","module":"LAND-CADASTRE","type":"select","hash":"9f654d802ab549c406ea4b8b9db80a47","dbhash":"9f654d802ab549c406ea4b8b9db80a47","update":false},{"name":"user_id","module":"LAND-CADASTRE","type":"select","hash":"4339922d053e66ccd43e34f2838037b1","dbhash":"4339922d053e66ccd43e34f2838037b1","update":false},{"name":"core.roles","module":"management","type":"select","hash":"ed1290380ea5e5e7e48bd08b41cb7793","dbhash":"ed1290380ea5e5e7e48bd08b41cb7793","update":false},{"name":"core.user_uid","module":"management","type":"select","hash":"45f7d8a57ecbca5b433be7937be51d5c","dbhash":"45f7d8a57ecbca5b433be7937be51d5c","update":false},{"name":"prc.documents_id","module":"RENT","type":"select","hash":"bc5f97cd6c556fefac244b3ff8629be9","dbhash":"bc5f97cd6c556fefac244b3ff8629be9","update":false},{"name":"prc.lease_id.main","module":"RENT","type":"select","hash":"f53e8e47e8ad68572f966d95fcf88163","dbhash":"f53e8e47e8ad68572f966d95fcf88163","update":false},{"name":"prc.lease_id","module":"RENT","type":"select","hash":"3372135b6009a9f2170d18b664750db0","dbhash":"3372135b6009a9f2170d18b664750db0","update":false},{"name":"prc.parcel_parent_id","module":"RENT","type":"select","hash":"bb2617b27f3226757cf816b55011c2bd","dbhash":"bb2617b27f3226757cf816b55011c2bd","update":false},{"name":"core.user_mentioned","module":"core","type":"select","hash":"6687f073de73a3ec4b6e0811d9310e7e","dbhash":"6687f073de73a3ec4b6e0811d9310e7e","update":false},{"name":"prc.application_status","module":"APPLICATION","type":"cls","hash":"d67580fb015c51a6da5cb5c82b405149","dbhash":"d67580fb015c51a6da5cb5c82b405149","update":false},{"name":"prc.application_status_final","module":"APPLICATION","type":"cls","hash":"0c27260728c4beced279366bf5b8662d","dbhash":"0c27260728c4beced279366bf5b8662d","update":false},{"name":"addr.str_type","module":"LAND-CADASTRE","type":"cls","hash":"9c5a1d1cc9dbb53a888894bf4e2c0e34","dbhash":"9c5a1d1cc9dbb53a888894bf4e2c0e34","update":false},{"name":"prc.acc_type","module":"LAND-CADASTRE","type":"cls","hash":"8db9b5df034826fbf54e3c6eec61bf71","dbhash":"8db9b5df034826fbf54e3c6eec61bf71","update":false},{"name":"prc.acc_type_legal","module":"LAND-CADASTRE","type":"cls","hash":"dfd54768ed4ebc9703b157a930578f48","dbhash":"dfd54768ed4ebc9703b157a930578f48","update":false},{"name":"prc.act_type","module":"LAND-CADASTRE","type":"cls","hash":"d5eff799a96149aebcdd67253c0f15e6","dbhash":"d5eff799a96149aebcdd67253c0f15e6","update":false},{"name":"prc.area_determination_type","module":"LAND-CADASTRE","type":"cls","hash":"de9d7085ba3e411bbe7d2bd03845705a","dbhash":"de9d7085ba3e411bbe7d2bd03845705a","update":false},{"name":"prc.document_type","module":"LAND-CADASTRE","type":"cls","hash":"2edc45649c4fc9b84968ad9872efd0fb","dbhash":"2edc45649c4fc9b84968ad9872efd0fb","update":false},{"name":"prc.experise_required","module":"LAND-CADASTRE","type":"cls","hash":"2bbb6c3d6999fab6e0550a03378b956d","dbhash":"2bbb6c3d6999fab6e0550a03378b956d","update":false},{"name":"prc.expert_opinion","module":"LAND-CADASTRE","type":"cls","hash":"742f77e355cfecedfb1497b15bb1e383","dbhash":"742f77e355cfecedfb1497b15bb1e383","update":false},{"name":"prc.f6zem_id","module":"LAND-CADASTRE","type":"cls","hash":"130790407b88fbff11d3fe8e60f7f553","dbhash":"130790407b88fbff11d3fe8e60f7f553","update":false},{"name":"prc.isfinite_restriction","module":"LAND-CADASTRE","type":"cls","hash":"752f30bf64facf53da89d5169cce4fd1","dbhash":"752f30bf64facf53da89d5169cce4fd1","update":false},{"name":"prc.isfree_payment","module":"LAND-CADASTRE","type":"cls","hash":"0fc5499f9035ac2e2bb554225c5d2046","dbhash":"0fc5499f9035ac2e2bb554225c5d2046","update":false},{"name":"prc.kvzu_id","module":"LAND-CADASTRE","type":"cls","hash":"05c068bfe09eef1ddadf67497ad1d131","dbhash":"05c068bfe09eef1ddadf67497ad1d131","update":false},{"name":"prc.legal_mode_status","module":"LAND-CADASTRE","type":"cls","hash":"9706863470ce8c9697a7d228eca95b2e","dbhash":"9706863470ce8c9697a7d228eca95b2e","update":false},{"name":"prc.legal_mode_type","module":"LAND-CADASTRE","type":"cls","hash":"a9c4d94188748a06f455158ce9d25de2","dbhash":"a9c4d94188748a06f455158ce9d25de2","update":false},{"name":"prc.legal_mode_type_card","module":"LAND-CADASTRE","type":"cls","hash":"141e7f1de7ba62f7664c581e36027ba8","dbhash":"141e7f1de7ba62f7664c581e36027ba8","update":false},{"name":"prc.parcel_area_unit","module":"LAND-CADASTRE","type":"cls","hash":"1cf59c05fb8b62101493f46e57080066","dbhash":"1cf59c05fb8b62101493f46e57080066","update":false},{"name":"prc.parcel_category","module":"LAND-CADASTRE","type":"cls","hash":"88962a86df4c48b66a0845ec07128e82","dbhash":"88962a86df4c48b66a0845ec07128e82","update":false},{"name":"prc.parcel_location","module":"LAND-CADASTRE","type":"cls","hash":"1b608780bbbec4f0170dd56d42e5e607","dbhash":"1b608780bbbec4f0170dd56d42e5e607","update":false},{"name":"prc.parcel_ownership","module":"LAND-CADASTRE","type":"cls","hash":"19fbc136a3b902f501701c0e568d3a19","dbhash":"19fbc136a3b902f501701c0e568d3a19","update":false},{"name":"prc.parcel_part_unit","module":"LAND-CADASTRE","type":"cls","hash":"b6c6ae04b0d59bdca084c6799cfb4fa2","dbhash":"b6c6ae04b0d59bdca084c6799cfb4fa2","update":false},{"name":"prc.parcel_purpose","module":"LAND-CADASTRE","type":"cls","hash":"63ffa5cf27a069392cde707411aee8db","dbhash":"63ffa5cf27a069392cde707411aee8db","update":false},{"name":"prc.parcel_status","module":"LAND-CADASTRE","type":"cls","hash":"94689671b1e1de2f5bb7c55ba6b40549","dbhash":"94689671b1e1de2f5bb7c55ba6b40549","update":false},{"name":"prc.restriction_code","module":"LAND-CADASTRE","type":"cls","hash":"233ab49757f163bd9ae2ebc81088b0ad","dbhash":"233ab49757f163bd9ae2ebc81088b0ad","update":false},{"name":"prc.serv_period","module":"LAND-CADASTRE","type":"cls","hash":"46fda14a1bc9222e886f27d60643e9e2","dbhash":"46fda14a1bc9222e886f27d60643e9e2","update":false},{"name":"prc.serv_type","module":"LAND-CADASTRE","type":"cls","hash":"15ddb366e1e0adf2672932f2137885da","dbhash":"15ddb366e1e0adf2672932f2137885da","update":false},{"name":"prc.techdoc_path","module":"LAND-CADASTRE","type":"cls","hash":"fb52a616b0ece0ec9ac0ebc8f7e6ee34","dbhash":"fb52a616b0ece0ec9ac0ebc8f7e6ee34","update":false},{"name":"prc.techdoc_type","module":"LAND-CADASTRE","type":"cls","hash":"f607216be06fea28fafdee56b94d204f","dbhash":"f607216be06fea28fafdee56b94d204f","update":false},{"name":"prc.valuation_type","module":"LAND-CADASTRE","type":"cls","hash":"deffc6b334e24d72fc562dd6bca90839","dbhash":"deffc6b334e24d72fc562dd6bca90839","update":false},{"name":"yes_no","module":"LAND-CADASTRE","type":"cls","hash":"50c527053426248c20b0a2f112ff9046","dbhash":"50c527053426248c20b0a2f112ff9046","update":false},{"name":"users.user_type","module":"management","type":"cls","hash":"750ece56e1d55cd7a1e1b002df88ec91","dbhash":"750ece56e1d55cd7a1e1b002df88ec91","update":false},{"name":"dpo.lease_is_main","module":"RENT","type":"cls","hash":"6e5d9cffd9f4dbc31c1329d23143cbd0","dbhash":"6e5d9cffd9f4dbc31c1329d23143cbd0","update":false},{"name":"dpo.lease_status","module":"RENT","type":"cls","hash":"e3fb9ca8d294ceeb4d31b9b221608ace","dbhash":"e3fb9ca8d294ceeb4d31b9b221608ace","update":false},{"name":"dpo.lease_type","module":"RENT","type":"cls","hash":"2d87548b2f6b0b510329a8a8852501c6","dbhash":"2d87548b2f6b0b510329a8a8852501c6","update":false},{"name":"dpo.servitut_type","module":"RENT","type":"cls","hash":"647f2f55c4e9d508c45c8da498a50418","dbhash":"647f2f55c4e9d508c45c8da498a50418","update":false},{"name":"type_report","module":"RENT","type":"cls","hash":"a317e46b876b31598fbd9a39d21277ea","dbhash":"a317e46b876b31598fbd9a39d21277ea","update":false},{"name":"constraint_action","module":"core","type":"cls","hash":"1b7129eae9eb42106ed6e646223c806a","dbhash":"1b7129eae9eb42106ed6e646223c806a","update":false},{"name":"constraint_matchtype","module":"core","type":"cls","hash":"446ad903e69a391748a8a27bae2dc5cd","dbhash":"446ad903e69a391748a8a27bae2dc5cd","update":false},{"name":"constraint_type_full","module":"core","type":"cls","hash":"9e1cc580273f7e73fbc08ee553ad8f64","dbhash":"9e1cc580273f7e73fbc08ee553ad8f64","update":false},{"name":"core.user_type","module":"core","type":"cls","hash":"728bc9e0bcc88de83ec56d8dc7e7efff","dbhash":"728bc9e0bcc88de83ec56d8dc7e7efff","update":false}]
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"name":"prc.application_id","module":"APPLICATION","type":"select","hash":"d5b27c80a2a4682e164c8713f36053fd","dbhash":"d5b27c80a2a4682e164c8713f36053fd","update":false},{"name":"prc.application_status.parent","module":"APPLICATION","type":"select","hash":"1d63a805e56b9b350f7a2ec7df26da3c","dbhash":"1d63a805e56b9b350f7a2ec7df26da3c","update":false},{"name":"prc.application_type","module":"APPLICATION","type":"select","hash":"fa2baf8fbb896363b740a74487281b6b","dbhash":"fa2baf8fbb896363b740a74487281b6b","update":false},{"name":"prc.parcel_purpose_id","module":"APPLICATION","type":"select","hash":"22e43518957449f90b63170033b4ae3b","dbhash":"22e43518957449f90b63170033b4ae3b","update":false},{"name":"prc.parcel_status.parent","module":"APPLICATION","type":"select","hash":"7310662b3e674b4dd3c3a0ae4bc76c80","dbhash":"7310662b3e674b4dd3c3a0ae4bc76c80","update":false},{"name":"addr.address_id","module":"LAND-CADASTRE","type":"select","hash":"19c0d463fa55a284d789bb15318f5ef7","dbhash":"19c0d463fa55a284d789bb15318f5ef7","update":false},{"name":"addr.address_id_full","module":"LAND-CADASTRE","type":"select","hash":"6257b7f173167b7057cc2ff1859a21c1","dbhash":"6257b7f173167b7057cc2ff1859a21c1","update":false},{"name":"addr.address_id_parent","module":"LAND-CADASTRE","type":"select","hash":"01b41b8690c6eb5ad3638d74ae4c007d","dbhash":"01b41b8690c6eb5ad3638d74ae4c007d","update":false},{"name":"addr.city_id","module":"LAND-CADASTRE","type":"select","hash":"a943aa5241a30a33c88e58d223d201db","dbhash":"a943aa5241a30a33c88e58d223d201db","update":false},{"name":"addr.district_id","module":"LAND-CADASTRE","type":"select","hash":"a811b43f9d0eb6e79a796e0a5b988294","dbhash":"a811b43f9d0eb6e79a796e0a5b988294","update":false},{"name":"addr.street_id_full","module":"LAND-CADASTRE","type":"select","hash":"d0e3db667578cf8017e69ca6c0c42b0f","dbhash":"d0e3db667578cf8017e69ca6c0c42b0f","update":false},{"name":"address_id","module":"LAND-CADASTRE","type":"select","hash":"e993b5c610baa695cbc8db8f5d20af5a","dbhash":"e993b5c610baa695cbc8db8f5d20af5a","update":false},{"name":"gis.srid_from_setting","module":"LAND-CADASTRE","type":"select","hash":"138a168c385a79ec7a3e949be4daef57","dbhash":"138a168c385a79ec7a3e949be4daef57","update":false},{"name":"gis.srid_from_setting_new","module":"LAND-CADASTRE","type":"select","hash":"e9e57096522e313122ff4d9f72561744","dbhash":"e9e57096522e313122ff4d9f72561744","update":false},{"name":"prc.acc_id","module":"LAND-CADASTRE","type":"select","hash":"3ed8c88c51586b256b97743f07ca4821","dbhash":"3ed8c88c51586b256b97743f07ca4821","update":false},{"name":"prc.cad_zone_id","module":"LAND-CADASTRE","type":"select","hash":"1c53abf0fad143bbba6b331f9ddd8272","dbhash":"1c53abf0fad143bbba6b331f9ddd8272","update":false},{"name":"prc.decision_type","module":"LAND-CADASTRE","type":"select","hash":"f9490ca91fa59d256651f51262300a75","dbhash":"f9490ca91fa59d256651f51262300a75","update":false},{"name":"prc.doc_id","module":"LAND-CADASTRE","type":"select","hash":"185d98585e3e0be5d4ee929a19b03bfe","dbhash":"185d98585e3e0be5d4ee929a19b03bfe","update":false},{"name":"prc.doc_id_note","module":"LAND-CADASTRE","type":"select","hash":"c83b6536588cfa2ab7b5bac00f04bcd3","dbhash":"c83b6536588cfa2ab7b5bac00f04bcd3","update":false},{"name":"prc.doc_id_short","module":"LAND-CADASTRE","type":"select","hash":"29f98ae3fe10e834b542d53e2dcef592","dbhash":"29f98ae3fe10e834b542d53e2dcef592","update":false},{"name":"prc.parcel_id.full","module":"LAND-CADASTRE","type":"select","hash":"0a3846884fc21a87058d8943ae02df18","dbhash":"0a3846884fc21a87058d8943ae02df18","update":false},{"name":"prc.parcel_id","module":"LAND-CADASTRE","type":"select","hash":"7408a469d8994d4da3235c5e201f8b3a","dbhash":"7408a469d8994d4da3235c5e201f8b3a","update":false},{"name":"prc.techdoc_id","module":"LAND-CADASTRE","type":"select","hash":"1c4c2ebcf86244c5caf6ab345fb8707c","dbhash":"1c4c2ebcf86244c5caf6ab345fb8707c","update":false},{"name":"prc.techdoc_id_parent","module":"LAND-CADASTRE","type":"select","hash":"9f654d802ab549c406ea4b8b9db80a47","dbhash":"9f654d802ab549c406ea4b8b9db80a47","update":false},{"name":"user_id","module":"LAND-CADASTRE","type":"select","hash":"4339922d053e66ccd43e34f2838037b1","dbhash":"4339922d053e66ccd43e34f2838037b1","update":false},{"name":"core.roles","module":"management","type":"select","hash":"ed1290380ea5e5e7e48bd08b41cb7793","dbhash":"ed1290380ea5e5e7e48bd08b41cb7793","update":false},{"name":"core.user_uid","module":"management","type":"select","hash":"45f7d8a57ecbca5b433be7937be51d5c","dbhash":"45f7d8a57ecbca5b433be7937be51d5c","update":false},{"name":"prc.documents_id","module":"RENT","type":"select","hash":"bc5f97cd6c556fefac244b3ff8629be9","dbhash":"bc5f97cd6c556fefac244b3ff8629be9","update":false},{"name":"prc.lease_id.main","module":"RENT","type":"select","hash":"f53e8e47e8ad68572f966d95fcf88163","dbhash":"f53e8e47e8ad68572f966d95fcf88163","update":false},{"name":"prc.lease_id","module":"RENT","type":"select","hash":"3372135b6009a9f2170d18b664750db0","dbhash":"3372135b6009a9f2170d18b664750db0","update":false},{"name":"prc.parcel_parent_id","module":"RENT","type":"select","hash":"bb2617b27f3226757cf816b55011c2bd","dbhash":"bb2617b27f3226757cf816b55011c2bd","update":false},{"name":"core.user_mentioned","module":"core","type":"select","hash":"6687f073de73a3ec4b6e0811d9310e7e","dbhash":"5a35e8ca97ce4fde93030521104ca5d3","update":true},{"name":"prc.application_status","module":"APPLICATION","type":"cls","hash":"d67580fb015c51a6da5cb5c82b405149","dbhash":"d67580fb015c51a6da5cb5c82b405149","update":false},{"name":"prc.application_status_final","module":"APPLICATION","type":"cls","hash":"0c27260728c4beced279366bf5b8662d","dbhash":"0c27260728c4beced279366bf5b8662d","update":false},{"name":"addr.str_type","module":"LAND-CADASTRE","type":"cls","hash":"9c5a1d1cc9dbb53a888894bf4e2c0e34","dbhash":"9c5a1d1cc9dbb53a888894bf4e2c0e34","update":false},{"name":"prc.acc_type","module":"LAND-CADASTRE","type":"cls","hash":"8db9b5df034826fbf54e3c6eec61bf71","dbhash":"8db9b5df034826fbf54e3c6eec61bf71","update":false},{"name":"prc.acc_type_legal","module":"LAND-CADASTRE","type":"cls","hash":"dfd54768ed4ebc9703b157a930578f48","dbhash":"dfd54768ed4ebc9703b157a930578f48","update":false},{"name":"prc.act_type","module":"LAND-CADASTRE","type":"cls","hash":"d5eff799a96149aebcdd67253c0f15e6","dbhash":"d5eff799a96149aebcdd67253c0f15e6","update":false},{"name":"prc.area_determination_type","module":"LAND-CADASTRE","type":"cls","hash":"de9d7085ba3e411bbe7d2bd03845705a","dbhash":"de9d7085ba3e411bbe7d2bd03845705a","update":false},{"name":"prc.document_type","module":"LAND-CADASTRE","type":"cls","hash":"2edc45649c4fc9b84968ad9872efd0fb","dbhash":"2edc45649c4fc9b84968ad9872efd0fb","update":false},{"name":"prc.experise_required","module":"LAND-CADASTRE","type":"cls","hash":"2bbb6c3d6999fab6e0550a03378b956d","dbhash":"2bbb6c3d6999fab6e0550a03378b956d","update":false},{"name":"prc.expert_opinion","module":"LAND-CADASTRE","type":"cls","hash":"742f77e355cfecedfb1497b15bb1e383","dbhash":"742f77e355cfecedfb1497b15bb1e383","update":false},{"name":"prc.f6zem_id","module":"LAND-CADASTRE","type":"cls","hash":"130790407b88fbff11d3fe8e60f7f553","dbhash":"130790407b88fbff11d3fe8e60f7f553","update":false},{"name":"prc.isfinite_restriction","module":"LAND-CADASTRE","type":"cls","hash":"752f30bf64facf53da89d5169cce4fd1","dbhash":"752f30bf64facf53da89d5169cce4fd1","update":false},{"name":"prc.isfree_payment","module":"LAND-CADASTRE","type":"cls","hash":"0fc5499f9035ac2e2bb554225c5d2046","dbhash":"0fc5499f9035ac2e2bb554225c5d2046","update":false},{"name":"prc.kvzu_id","module":"LAND-CADASTRE","type":"cls","hash":"05c068bfe09eef1ddadf67497ad1d131","dbhash":"05c068bfe09eef1ddadf67497ad1d131","update":false},{"name":"prc.legal_mode_status","module":"LAND-CADASTRE","type":"cls","hash":"9706863470ce8c9697a7d228eca95b2e","dbhash":"9706863470ce8c9697a7d228eca95b2e","update":false},{"name":"prc.legal_mode_type","module":"LAND-CADASTRE","type":"cls","hash":"a9c4d94188748a06f455158ce9d25de2","dbhash":"a9c4d94188748a06f455158ce9d25de2","update":false},{"name":"prc.legal_mode_type_card","module":"LAND-CADASTRE","type":"cls","hash":"141e7f1de7ba62f7664c581e36027ba8","dbhash":"141e7f1de7ba62f7664c581e36027ba8","update":false},{"name":"prc.parcel_area_unit","module":"LAND-CADASTRE","type":"cls","hash":"1cf59c05fb8b62101493f46e57080066","dbhash":"1cf59c05fb8b62101493f46e57080066","update":false},{"name":"prc.parcel_category","module":"LAND-CADASTRE","type":"cls","hash":"88962a86df4c48b66a0845ec07128e82","dbhash":"88962a86df4c48b66a0845ec07128e82","update":false},{"name":"prc.parcel_location","module":"LAND-CADASTRE","type":"cls","hash":"1b608780bbbec4f0170dd56d42e5e607","dbhash":"1b608780bbbec4f0170dd56d42e5e607","update":false},{"name":"prc.parcel_ownership","module":"LAND-CADASTRE","type":"cls","hash":"19fbc136a3b902f501701c0e568d3a19","dbhash":"19fbc136a3b902f501701c0e568d3a19","update":false},{"name":"prc.parcel_part_unit","module":"LAND-CADASTRE","type":"cls","hash":"b6c6ae04b0d59bdca084c6799cfb4fa2","dbhash":"b6c6ae04b0d59bdca084c6799cfb4fa2","update":false},{"name":"prc.parcel_purpose","module":"LAND-CADASTRE","type":"cls","hash":"63ffa5cf27a069392cde707411aee8db","dbhash":"63ffa5cf27a069392cde707411aee8db","update":false},{"name":"prc.parcel_status","module":"LAND-CADASTRE","type":"cls","hash":"94689671b1e1de2f5bb7c55ba6b40549","dbhash":"94689671b1e1de2f5bb7c55ba6b40549","update":false},{"name":"prc.restriction_code","module":"LAND-CADASTRE","type":"cls","hash":"233ab49757f163bd9ae2ebc81088b0ad","dbhash":"233ab49757f163bd9ae2ebc81088b0ad","update":false},{"name":"prc.serv_period","module":"LAND-CADASTRE","type":"cls","hash":"46fda14a1bc9222e886f27d60643e9e2","dbhash":"46fda14a1bc9222e886f27d60643e9e2","update":false},{"name":"prc.serv_type","module":"LAND-CADASTRE","type":"cls","hash":"15ddb366e1e0adf2672932f2137885da","dbhash":"15ddb366e1e0adf2672932f2137885da","update":false},{"name":"prc.techdoc_path","module":"LAND-CADASTRE","type":"cls","hash":"fb52a616b0ece0ec9ac0ebc8f7e6ee34","dbhash":"fb52a616b0ece0ec9ac0ebc8f7e6ee34","update":false},{"name":"prc.techdoc_type","module":"LAND-CADASTRE","type":"cls","hash":"f607216be06fea28fafdee56b94d204f","dbhash":"f607216be06fea28fafdee56b94d204f","update":false},{"name":"prc.valuation_type","module":"LAND-CADASTRE","type":"cls","hash":"deffc6b334e24d72fc562dd6bca90839","dbhash":"deffc6b334e24d72fc562dd6bca90839","update":false},{"name":"yes_no","module":"LAND-CADASTRE","type":"cls","hash":"50c527053426248c20b0a2f112ff9046","dbhash":"50c527053426248c20b0a2f112ff9046","update":false},{"name":"users.user_type","module":"management","type":"cls","hash":"750ece56e1d55cd7a1e1b002df88ec91","dbhash":"750ece56e1d55cd7a1e1b002df88ec91","update":false},{"name":"dpo.lease_is_main","module":"RENT","type":"cls","hash":"6e5d9cffd9f4dbc31c1329d23143cbd0","dbhash":"6e5d9cffd9f4dbc31c1329d23143cbd0","update":false},{"name":"dpo.lease_status","module":"RENT","type":"cls","hash":"e3fb9ca8d294ceeb4d31b9b221608ace","dbhash":"e3fb9ca8d294ceeb4d31b9b221608ace","update":false},{"name":"dpo.lease_type","module":"RENT","type":"cls","hash":"2d87548b2f6b0b510329a8a8852501c6","dbhash":"2d87548b2f6b0b510329a8a8852501c6","update":false},{"name":"dpo.servitut_type","module":"RENT","type":"cls","hash":"647f2f55c4e9d508c45c8da498a50418","dbhash":"647f2f55c4e9d508c45c8da498a50418","update":false},{"name":"type_report","module":"RENT","type":"cls","hash":"a317e46b876b31598fbd9a39d21277ea","dbhash":"a317e46b876b31598fbd9a39d21277ea","update":false},{"name":"constraint_action","module":"core","type":"cls","hash":"1b7129eae9eb42106ed6e646223c806a","dbhash":"1b7129eae9eb42106ed6e646223c806a","update":false},{"name":"constraint_matchtype","module":"core","type":"cls","hash":"446ad903e69a391748a8a27bae2dc5cd","dbhash":"446ad903e69a391748a8a27bae2dc5cd","update":false},{"name":"constraint_type_full","module":"core","type":"cls","hash":"9e1cc580273f7e73fbc08ee553ad8f64","dbhash":"9e1cc580273f7e73fbc08ee553ad8f64","update":false},{"name":"core.user_type","module":"core","type":"cls","hash":"728bc9e0bcc88de83ec56d8dc7e7efff","dbhash":"728bc9e0bcc88de83ec56d8dc7e7efff","update":false}]
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
insert into admin.cls(name,type,data,module,hash) values('core.user_mentioned','sql','select uid, coalesce(sur_name,'''')||coalesce('' ''||user_name,'''') as text, email from admin.users
|
|
2
|
-
where enabled order by coalesce(sur_name,'''')||coalesce('' ''||user_name,'''')', 'core','6687f073de73a3ec4b6e0811d9310e7e')
|