@carbonorm/carbonreact 3.4.4 → 3.4.5
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/CarbonReact.d.ts +3 -0
- package/dist/index.cjs.js +2133 -5049
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -49
- package/dist/index.esm.js +2114 -4952
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/CarbonReact.tsx +3 -0
- package/src/index.ts +0 -49
- package/dist/api/rest/C6.d.ts +0 -579
- package/dist/api/rest/Carbons.d.ts +0 -88
- package/dist/api/rest/Carbons.test.d.ts +0 -14
- package/dist/api/rest/Chat_Messages.d.ts +0 -88
- package/dist/api/rest/Chat_Messages.test.d.ts +0 -20
- package/dist/api/rest/Documentation.d.ts +0 -88
- package/dist/api/rest/Documentation.test.d.ts +0 -11
- package/dist/api/rest/Feature_Group_References.d.ts +0 -88
- package/dist/api/rest/Feature_Group_References.test.d.ts +0 -13
- package/dist/api/rest/Features.d.ts +0 -88
- package/dist/api/rest/Features.test.d.ts +0 -14
- package/dist/api/rest/Group_References.d.ts +0 -88
- package/dist/api/rest/Group_References.test.d.ts +0 -13
- package/dist/api/rest/Groups.d.ts +0 -88
- package/dist/api/rest/Groups.test.d.ts +0 -15
- package/dist/api/rest/History_Logs.d.ts +0 -88
- package/dist/api/rest/History_Logs.test.d.ts +0 -13
- package/dist/api/rest/Likes.d.ts +0 -88
- package/dist/api/rest/Likes.test.d.ts +0 -13
- package/dist/api/rest/Location_References.d.ts +0 -88
- package/dist/api/rest/Location_References.test.d.ts +0 -14
- package/dist/api/rest/Locations.d.ts +0 -88
- package/dist/api/rest/Locations.test.d.ts +0 -18
- package/dist/api/rest/Photos.d.ts +0 -88
- package/dist/api/rest/Photos.test.d.ts +0 -20
- package/dist/api/rest/Posts.d.ts +0 -88
- package/dist/api/rest/Posts.test.d.ts +0 -22
- package/dist/api/rest/Projects.d.ts +0 -88
- package/dist/api/rest/Projects.test.d.ts +0 -21
- package/dist/api/rest/Reports.d.ts +0 -88
- package/dist/api/rest/Reports.test.d.ts +0 -11
- package/dist/api/rest/Sessions.d.ts +0 -88
- package/dist/api/rest/Sessions.test.d.ts +0 -14
- package/dist/api/rest/Subscription.d.ts +0 -88
- package/dist/api/rest/Subscription.test.d.ts +0 -20
- package/dist/api/rest/User_Followers.d.ts +0 -88
- package/dist/api/rest/User_Followers.test.d.ts +0 -16
- package/dist/api/rest/User_Groups.d.ts +0 -88
- package/dist/api/rest/User_Groups.test.d.ts +0 -13
- package/dist/api/rest/User_Messages.d.ts +0 -88
- package/dist/api/rest/User_Messages.test.d.ts +0 -20
- package/dist/api/rest/User_Sessions.d.ts +0 -88
- package/dist/api/rest/User_Sessions.test.d.ts +0 -14
- package/dist/api/rest/User_Tasks.d.ts +0 -88
- package/dist/api/rest/User_Tasks.test.d.ts +0 -22
- package/dist/api/rest/Users.d.ts +0 -88
- package/dist/api/rest/Users.test.d.ts +0 -44
- package/dist/api/rest/WsLiveUpdates.d.ts +0 -3
- package/src/api/rest/C6.tsx +0 -2687
- package/src/api/rest/Carbons.test.tsx +0 -128
- package/src/api/rest/Carbons.tsx +0 -145
- package/src/api/rest/Chat_Messages.test.tsx +0 -138
- package/src/api/rest/Chat_Messages.tsx +0 -151
- package/src/api/rest/Documentation.test.tsx +0 -128
- package/src/api/rest/Documentation.tsx +0 -142
- package/src/api/rest/Feature_Group_References.test.tsx +0 -126
- package/src/api/rest/Feature_Group_References.tsx +0 -144
- package/src/api/rest/Features.test.tsx +0 -128
- package/src/api/rest/Features.tsx +0 -145
- package/src/api/rest/Group_References.test.tsx +0 -126
- package/src/api/rest/Group_References.tsx +0 -144
- package/src/api/rest/Groups.test.tsx +0 -130
- package/src/api/rest/Groups.tsx +0 -146
- package/src/api/rest/History_Logs.test.tsx +0 -130
- package/src/api/rest/History_Logs.tsx +0 -144
- package/src/api/rest/Likes.test.tsx +0 -126
- package/src/api/rest/Likes.tsx +0 -144
- package/src/api/rest/Location_References.test.tsx +0 -128
- package/src/api/rest/Location_References.tsx +0 -145
- package/src/api/rest/Locations.test.tsx +0 -137
- package/src/api/rest/Locations.tsx +0 -149
- package/src/api/rest/Photos.test.tsx +0 -139
- package/src/api/rest/Photos.tsx +0 -151
- package/src/api/rest/Posts.test.tsx +0 -142
- package/src/api/rest/Posts.tsx +0 -153
- package/src/api/rest/Projects.test.tsx +0 -144
- package/src/api/rest/Projects.tsx +0 -152
- package/src/api/rest/Reports.test.tsx +0 -128
- package/src/api/rest/Reports.tsx +0 -142
- package/src/api/rest/Sessions.test.tsx +0 -133
- package/src/api/rest/Sessions.tsx +0 -145
- package/src/api/rest/Subscription.test.tsx +0 -138
- package/src/api/rest/Subscription.tsx +0 -151
- package/src/api/rest/User_Followers.test.tsx +0 -130
- package/src/api/rest/User_Followers.tsx +0 -147
- package/src/api/rest/User_Groups.test.tsx +0 -126
- package/src/api/rest/User_Groups.tsx +0 -144
- package/src/api/rest/User_Messages.test.tsx +0 -137
- package/src/api/rest/User_Messages.tsx +0 -151
- package/src/api/rest/User_Sessions.test.tsx +0 -133
- package/src/api/rest/User_Sessions.tsx +0 -145
- package/src/api/rest/User_Tasks.test.tsx +0 -141
- package/src/api/rest/User_Tasks.tsx +0 -153
- package/src/api/rest/Users.test.tsx +0 -193
- package/src/api/rest/Users.tsx +0 -175
- package/src/api/rest/WsLiveUpdates.tsx +0 -150
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { AxiosResponse } from "axios";
|
|
3
|
-
import { iAPI, Modify } from "restRequest";
|
|
4
|
-
import { iGroups } from "./C6";
|
|
5
|
-
export declare const Get: (request?: (Omit<iGroups, never> & {
|
|
6
|
-
dataInsertMultipleRows?: Omit<iGroups, never>[] | undefined;
|
|
7
|
-
cacheResults?: boolean | undefined;
|
|
8
|
-
fetchDependencies?: boolean | undefined;
|
|
9
|
-
debug?: boolean | undefined;
|
|
10
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
11
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
12
|
-
blocking?: boolean | undefined;
|
|
13
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iGroups>>;
|
|
14
|
-
type PutCustomAndRequiredFields = {};
|
|
15
|
-
type PutRequestTableOverrides = {};
|
|
16
|
-
export declare function putStateGroups(response: AxiosResponse<iPutC6RestResponse<iGroups>>, request: iAPI<Modify<iGroups, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
|
|
17
|
-
export declare const Put: (request?: (Omit<iGroups, never> & {
|
|
18
|
-
dataInsertMultipleRows?: Omit<iGroups, never>[] | undefined;
|
|
19
|
-
cacheResults?: boolean | undefined;
|
|
20
|
-
fetchDependencies?: boolean | undefined;
|
|
21
|
-
debug?: boolean | undefined;
|
|
22
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
23
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
24
|
-
blocking?: boolean | undefined;
|
|
25
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iGroups, any>>;
|
|
26
|
-
type PostCustomAndRequiredFields = {};
|
|
27
|
-
type PostRequestTableOverrides = {};
|
|
28
|
-
export declare function postStateGroups(response: AxiosResponse<iPostC6RestResponse<iGroups>>, request: iAPI<Modify<iGroups, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
|
|
29
|
-
export declare const Post: (request?: (Omit<iGroups, never> & {
|
|
30
|
-
dataInsertMultipleRows?: Omit<iGroups, never>[] | undefined;
|
|
31
|
-
cacheResults?: boolean | undefined;
|
|
32
|
-
fetchDependencies?: boolean | undefined;
|
|
33
|
-
debug?: boolean | undefined;
|
|
34
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
35
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
36
|
-
blocking?: boolean | undefined;
|
|
37
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iGroups>>;
|
|
38
|
-
type DeleteCustomAndRequiredFields = {};
|
|
39
|
-
type DeleteRequestTableOverrides = {};
|
|
40
|
-
export declare function deleteStateGroups(_response: AxiosResponse<iDeleteC6RestResponse<iGroups>>, request: iAPI<Modify<iGroups, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
|
|
41
|
-
export declare const Delete: (request?: (Omit<iGroups, never> & {
|
|
42
|
-
dataInsertMultipleRows?: Omit<iGroups, never>[] | undefined;
|
|
43
|
-
cacheResults?: boolean | undefined;
|
|
44
|
-
fetchDependencies?: boolean | undefined;
|
|
45
|
-
debug?: boolean | undefined;
|
|
46
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
47
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
48
|
-
blocking?: boolean | undefined;
|
|
49
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iGroups, any>>;
|
|
50
|
-
declare const _default: {
|
|
51
|
-
Get: (request?: (Omit<iGroups, never> & {
|
|
52
|
-
dataInsertMultipleRows?: Omit<iGroups, never>[] | undefined;
|
|
53
|
-
cacheResults?: boolean | undefined;
|
|
54
|
-
fetchDependencies?: boolean | undefined;
|
|
55
|
-
debug?: boolean | undefined;
|
|
56
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
57
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
58
|
-
blocking?: boolean | undefined;
|
|
59
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iGroups>>;
|
|
60
|
-
Post: (request?: (Omit<iGroups, never> & {
|
|
61
|
-
dataInsertMultipleRows?: Omit<iGroups, never>[] | undefined;
|
|
62
|
-
cacheResults?: boolean | undefined;
|
|
63
|
-
fetchDependencies?: boolean | undefined;
|
|
64
|
-
debug?: boolean | undefined;
|
|
65
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
66
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
67
|
-
blocking?: boolean | undefined;
|
|
68
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iGroups>>;
|
|
69
|
-
Put: (request?: (Omit<iGroups, never> & {
|
|
70
|
-
dataInsertMultipleRows?: Omit<iGroups, never>[] | undefined;
|
|
71
|
-
cacheResults?: boolean | undefined;
|
|
72
|
-
fetchDependencies?: boolean | undefined;
|
|
73
|
-
debug?: boolean | undefined;
|
|
74
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
75
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
76
|
-
blocking?: boolean | undefined;
|
|
77
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iGroups, any>>;
|
|
78
|
-
Delete: (request?: (Omit<iGroups, never> & {
|
|
79
|
-
dataInsertMultipleRows?: Omit<iGroups, never>[] | undefined;
|
|
80
|
-
cacheResults?: boolean | undefined;
|
|
81
|
-
fetchDependencies?: boolean | undefined;
|
|
82
|
-
debug?: boolean | undefined;
|
|
83
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
84
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
85
|
-
blocking?: boolean | undefined;
|
|
86
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iGroups, any>>;
|
|
87
|
-
};
|
|
88
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { iGroups } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `carbon_groups` (
|
|
4
|
-
`group_name` varchar(20) NOT NULL,
|
|
5
|
-
`entity_id` binary(16) NOT NULL,
|
|
6
|
-
`created_by` binary(16) NOT NULL,
|
|
7
|
-
`creation_date` datetime DEFAULT CURRENT_TIMESTAMP,
|
|
8
|
-
PRIMARY KEY (`entity_id`),
|
|
9
|
-
KEY `carbon_feature_groups_carbons_entity_pk_fk_2` (`created_by`),
|
|
10
|
-
CONSTRAINT `carbon_feature_groups_carbons_entity_pk_fk` FOREIGN KEY (`entity_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
11
|
-
CONSTRAINT `carbon_feature_groups_carbons_entity_pk_fk_2` FOREIGN KEY (`created_by`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
12
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
13
|
-
**/
|
|
14
|
-
declare const Test_Data: iGroups;
|
|
15
|
-
export default Test_Data;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { AxiosResponse } from "axios";
|
|
3
|
-
import { iAPI, Modify } from "restRequest";
|
|
4
|
-
import { iHistory_Logs } from "./C6";
|
|
5
|
-
export declare const Get: (request?: (Omit<iHistory_Logs, never> & {
|
|
6
|
-
dataInsertMultipleRows?: Omit<iHistory_Logs, never>[] | undefined;
|
|
7
|
-
cacheResults?: boolean | undefined;
|
|
8
|
-
fetchDependencies?: boolean | undefined;
|
|
9
|
-
debug?: boolean | undefined;
|
|
10
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
11
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
12
|
-
blocking?: boolean | undefined;
|
|
13
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iHistory_Logs>>;
|
|
14
|
-
type PutCustomAndRequiredFields = {};
|
|
15
|
-
type PutRequestTableOverrides = {};
|
|
16
|
-
export declare function putStateHistory_Logs(response: AxiosResponse<iPutC6RestResponse<iHistory_Logs>>, request: iAPI<Modify<iHistory_Logs, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
|
|
17
|
-
export declare const Put: (request?: (Omit<iHistory_Logs, never> & {
|
|
18
|
-
dataInsertMultipleRows?: Omit<iHistory_Logs, never>[] | undefined;
|
|
19
|
-
cacheResults?: boolean | undefined;
|
|
20
|
-
fetchDependencies?: boolean | undefined;
|
|
21
|
-
debug?: boolean | undefined;
|
|
22
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
23
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
24
|
-
blocking?: boolean | undefined;
|
|
25
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iHistory_Logs, any>>;
|
|
26
|
-
type PostCustomAndRequiredFields = {};
|
|
27
|
-
type PostRequestTableOverrides = {};
|
|
28
|
-
export declare function postStateHistory_Logs(response: AxiosResponse<iPostC6RestResponse<iHistory_Logs>>, request: iAPI<Modify<iHistory_Logs, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
|
|
29
|
-
export declare const Post: (request?: (Omit<iHistory_Logs, never> & {
|
|
30
|
-
dataInsertMultipleRows?: Omit<iHistory_Logs, never>[] | undefined;
|
|
31
|
-
cacheResults?: boolean | undefined;
|
|
32
|
-
fetchDependencies?: boolean | undefined;
|
|
33
|
-
debug?: boolean | undefined;
|
|
34
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
35
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
36
|
-
blocking?: boolean | undefined;
|
|
37
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iHistory_Logs>>;
|
|
38
|
-
type DeleteCustomAndRequiredFields = {};
|
|
39
|
-
type DeleteRequestTableOverrides = {};
|
|
40
|
-
export declare function deleteStateHistory_Logs(_response: AxiosResponse<iDeleteC6RestResponse<iHistory_Logs>>, request: iAPI<Modify<iHistory_Logs, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
|
|
41
|
-
export declare const Delete: (request?: (Omit<iHistory_Logs, never> & {
|
|
42
|
-
dataInsertMultipleRows?: Omit<iHistory_Logs, never>[] | undefined;
|
|
43
|
-
cacheResults?: boolean | undefined;
|
|
44
|
-
fetchDependencies?: boolean | undefined;
|
|
45
|
-
debug?: boolean | undefined;
|
|
46
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
47
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
48
|
-
blocking?: boolean | undefined;
|
|
49
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iHistory_Logs, any>>;
|
|
50
|
-
declare const _default: {
|
|
51
|
-
Get: (request?: (Omit<iHistory_Logs, never> & {
|
|
52
|
-
dataInsertMultipleRows?: Omit<iHistory_Logs, never>[] | undefined;
|
|
53
|
-
cacheResults?: boolean | undefined;
|
|
54
|
-
fetchDependencies?: boolean | undefined;
|
|
55
|
-
debug?: boolean | undefined;
|
|
56
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
57
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
58
|
-
blocking?: boolean | undefined;
|
|
59
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iHistory_Logs>>;
|
|
60
|
-
Post: (request?: (Omit<iHistory_Logs, never> & {
|
|
61
|
-
dataInsertMultipleRows?: Omit<iHistory_Logs, never>[] | undefined;
|
|
62
|
-
cacheResults?: boolean | undefined;
|
|
63
|
-
fetchDependencies?: boolean | undefined;
|
|
64
|
-
debug?: boolean | undefined;
|
|
65
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
66
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
67
|
-
blocking?: boolean | undefined;
|
|
68
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iHistory_Logs>>;
|
|
69
|
-
Put: (request?: (Omit<iHistory_Logs, never> & {
|
|
70
|
-
dataInsertMultipleRows?: Omit<iHistory_Logs, never>[] | undefined;
|
|
71
|
-
cacheResults?: boolean | undefined;
|
|
72
|
-
fetchDependencies?: boolean | undefined;
|
|
73
|
-
debug?: boolean | undefined;
|
|
74
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
75
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
76
|
-
blocking?: boolean | undefined;
|
|
77
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iHistory_Logs, any>>;
|
|
78
|
-
Delete: (request?: (Omit<iHistory_Logs, never> & {
|
|
79
|
-
dataInsertMultipleRows?: Omit<iHistory_Logs, never>[] | undefined;
|
|
80
|
-
cacheResults?: boolean | undefined;
|
|
81
|
-
fetchDependencies?: boolean | undefined;
|
|
82
|
-
debug?: boolean | undefined;
|
|
83
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
84
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
85
|
-
blocking?: boolean | undefined;
|
|
86
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iHistory_Logs, any>>;
|
|
87
|
-
};
|
|
88
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { iHistory_Logs } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `carbon_history_logs` (
|
|
4
|
-
`history_uuid` binary(16) NOT NULL,
|
|
5
|
-
`history_table` varchar(255) DEFAULT NULL,
|
|
6
|
-
`history_type` varchar(20) DEFAULT NULL,
|
|
7
|
-
`history_data` json DEFAULT NULL,
|
|
8
|
-
`history_original_query` varchar(1024) DEFAULT NULL,
|
|
9
|
-
`history_time` datetime DEFAULT CURRENT_TIMESTAMP
|
|
10
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
11
|
-
**/
|
|
12
|
-
declare const Test_Data: iHistory_Logs;
|
|
13
|
-
export default Test_Data;
|
package/dist/api/rest/Likes.d.ts
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { AxiosResponse } from "axios";
|
|
3
|
-
import { iAPI, Modify } from "restRequest";
|
|
4
|
-
import { iLikes } from "./C6";
|
|
5
|
-
export declare const Get: (request?: (Omit<iLikes, never> & {
|
|
6
|
-
dataInsertMultipleRows?: Omit<iLikes, never>[] | undefined;
|
|
7
|
-
cacheResults?: boolean | undefined;
|
|
8
|
-
fetchDependencies?: boolean | undefined;
|
|
9
|
-
debug?: boolean | undefined;
|
|
10
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
11
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
12
|
-
blocking?: boolean | undefined;
|
|
13
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iLikes>>;
|
|
14
|
-
type PutCustomAndRequiredFields = {};
|
|
15
|
-
type PutRequestTableOverrides = {};
|
|
16
|
-
export declare function putStateLikes(response: AxiosResponse<iPutC6RestResponse<iLikes>>, request: iAPI<Modify<iLikes, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
|
|
17
|
-
export declare const Put: (request?: (Omit<iLikes, never> & {
|
|
18
|
-
dataInsertMultipleRows?: Omit<iLikes, never>[] | undefined;
|
|
19
|
-
cacheResults?: boolean | undefined;
|
|
20
|
-
fetchDependencies?: boolean | undefined;
|
|
21
|
-
debug?: boolean | undefined;
|
|
22
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
23
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
24
|
-
blocking?: boolean | undefined;
|
|
25
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iLikes, any>>;
|
|
26
|
-
type PostCustomAndRequiredFields = {};
|
|
27
|
-
type PostRequestTableOverrides = {};
|
|
28
|
-
export declare function postStateLikes(response: AxiosResponse<iPostC6RestResponse<iLikes>>, request: iAPI<Modify<iLikes, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
|
|
29
|
-
export declare const Post: (request?: (Omit<iLikes, never> & {
|
|
30
|
-
dataInsertMultipleRows?: Omit<iLikes, never>[] | undefined;
|
|
31
|
-
cacheResults?: boolean | undefined;
|
|
32
|
-
fetchDependencies?: boolean | undefined;
|
|
33
|
-
debug?: boolean | undefined;
|
|
34
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
35
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
36
|
-
blocking?: boolean | undefined;
|
|
37
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iLikes>>;
|
|
38
|
-
type DeleteCustomAndRequiredFields = {};
|
|
39
|
-
type DeleteRequestTableOverrides = {};
|
|
40
|
-
export declare function deleteStateLikes(_response: AxiosResponse<iDeleteC6RestResponse<iLikes>>, request: iAPI<Modify<iLikes, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
|
|
41
|
-
export declare const Delete: (request?: (Omit<iLikes, never> & {
|
|
42
|
-
dataInsertMultipleRows?: Omit<iLikes, never>[] | undefined;
|
|
43
|
-
cacheResults?: boolean | undefined;
|
|
44
|
-
fetchDependencies?: boolean | undefined;
|
|
45
|
-
debug?: boolean | undefined;
|
|
46
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
47
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
48
|
-
blocking?: boolean | undefined;
|
|
49
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iLikes, any>>;
|
|
50
|
-
declare const _default: {
|
|
51
|
-
Get: (request?: (Omit<iLikes, never> & {
|
|
52
|
-
dataInsertMultipleRows?: Omit<iLikes, never>[] | undefined;
|
|
53
|
-
cacheResults?: boolean | undefined;
|
|
54
|
-
fetchDependencies?: boolean | undefined;
|
|
55
|
-
debug?: boolean | undefined;
|
|
56
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
57
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
58
|
-
blocking?: boolean | undefined;
|
|
59
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iLikes>>;
|
|
60
|
-
Post: (request?: (Omit<iLikes, never> & {
|
|
61
|
-
dataInsertMultipleRows?: Omit<iLikes, never>[] | undefined;
|
|
62
|
-
cacheResults?: boolean | undefined;
|
|
63
|
-
fetchDependencies?: boolean | undefined;
|
|
64
|
-
debug?: boolean | undefined;
|
|
65
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
66
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
67
|
-
blocking?: boolean | undefined;
|
|
68
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iLikes>>;
|
|
69
|
-
Put: (request?: (Omit<iLikes, never> & {
|
|
70
|
-
dataInsertMultipleRows?: Omit<iLikes, never>[] | undefined;
|
|
71
|
-
cacheResults?: boolean | undefined;
|
|
72
|
-
fetchDependencies?: boolean | undefined;
|
|
73
|
-
debug?: boolean | undefined;
|
|
74
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
75
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
76
|
-
blocking?: boolean | undefined;
|
|
77
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iLikes, any>>;
|
|
78
|
-
Delete: (request?: (Omit<iLikes, never> & {
|
|
79
|
-
dataInsertMultipleRows?: Omit<iLikes, never>[] | undefined;
|
|
80
|
-
cacheResults?: boolean | undefined;
|
|
81
|
-
fetchDependencies?: boolean | undefined;
|
|
82
|
-
debug?: boolean | undefined;
|
|
83
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
84
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
85
|
-
blocking?: boolean | undefined;
|
|
86
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iLikes, any>>;
|
|
87
|
-
};
|
|
88
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { iLikes } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `carbon_likes` (
|
|
4
|
-
`like_user_id` binary(16) NOT NULL,
|
|
5
|
-
`like_entity_id` binary(16) NOT NULL,
|
|
6
|
-
KEY `carbon_likes_carbon_carbons_entity_pk_fk` (`like_user_id`),
|
|
7
|
-
KEY `carbon_likes_carbon_carbons_entity_pk_fk2` (`like_entity_id`),
|
|
8
|
-
CONSTRAINT `carbon_likes_carbon_carbons_entity_pk_fk` FOREIGN KEY (`like_user_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
9
|
-
CONSTRAINT `carbon_likes_carbon_carbons_entity_pk_fk2` FOREIGN KEY (`like_entity_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
10
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
11
|
-
**/
|
|
12
|
-
declare const Test_Data: iLikes;
|
|
13
|
-
export default Test_Data;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { AxiosResponse } from "axios";
|
|
3
|
-
import { iAPI, Modify } from "restRequest";
|
|
4
|
-
import { iLocation_References } from "./C6";
|
|
5
|
-
export declare const Get: (request?: (Omit<iLocation_References, never> & {
|
|
6
|
-
dataInsertMultipleRows?: Omit<iLocation_References, never>[] | undefined;
|
|
7
|
-
cacheResults?: boolean | undefined;
|
|
8
|
-
fetchDependencies?: boolean | undefined;
|
|
9
|
-
debug?: boolean | undefined;
|
|
10
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
11
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
12
|
-
blocking?: boolean | undefined;
|
|
13
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iLocation_References>>;
|
|
14
|
-
type PutCustomAndRequiredFields = {};
|
|
15
|
-
type PutRequestTableOverrides = {};
|
|
16
|
-
export declare function putStateLocation_References(response: AxiosResponse<iPutC6RestResponse<iLocation_References>>, request: iAPI<Modify<iLocation_References, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
|
|
17
|
-
export declare const Put: (request?: (Omit<iLocation_References, never> & {
|
|
18
|
-
dataInsertMultipleRows?: Omit<iLocation_References, never>[] | undefined;
|
|
19
|
-
cacheResults?: boolean | undefined;
|
|
20
|
-
fetchDependencies?: boolean | undefined;
|
|
21
|
-
debug?: boolean | undefined;
|
|
22
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
23
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
24
|
-
blocking?: boolean | undefined;
|
|
25
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iLocation_References, any>>;
|
|
26
|
-
type PostCustomAndRequiredFields = {};
|
|
27
|
-
type PostRequestTableOverrides = {};
|
|
28
|
-
export declare function postStateLocation_References(response: AxiosResponse<iPostC6RestResponse<iLocation_References>>, request: iAPI<Modify<iLocation_References, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
|
|
29
|
-
export declare const Post: (request?: (Omit<iLocation_References, never> & {
|
|
30
|
-
dataInsertMultipleRows?: Omit<iLocation_References, never>[] | undefined;
|
|
31
|
-
cacheResults?: boolean | undefined;
|
|
32
|
-
fetchDependencies?: boolean | undefined;
|
|
33
|
-
debug?: boolean | undefined;
|
|
34
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
35
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
36
|
-
blocking?: boolean | undefined;
|
|
37
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iLocation_References>>;
|
|
38
|
-
type DeleteCustomAndRequiredFields = {};
|
|
39
|
-
type DeleteRequestTableOverrides = {};
|
|
40
|
-
export declare function deleteStateLocation_References(_response: AxiosResponse<iDeleteC6RestResponse<iLocation_References>>, request: iAPI<Modify<iLocation_References, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
|
|
41
|
-
export declare const Delete: (request?: (Omit<iLocation_References, never> & {
|
|
42
|
-
dataInsertMultipleRows?: Omit<iLocation_References, never>[] | undefined;
|
|
43
|
-
cacheResults?: boolean | undefined;
|
|
44
|
-
fetchDependencies?: boolean | undefined;
|
|
45
|
-
debug?: boolean | undefined;
|
|
46
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
47
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
48
|
-
blocking?: boolean | undefined;
|
|
49
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iLocation_References, any>>;
|
|
50
|
-
declare const _default: {
|
|
51
|
-
Get: (request?: (Omit<iLocation_References, never> & {
|
|
52
|
-
dataInsertMultipleRows?: Omit<iLocation_References, never>[] | undefined;
|
|
53
|
-
cacheResults?: boolean | undefined;
|
|
54
|
-
fetchDependencies?: boolean | undefined;
|
|
55
|
-
debug?: boolean | undefined;
|
|
56
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
57
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
58
|
-
blocking?: boolean | undefined;
|
|
59
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iLocation_References>>;
|
|
60
|
-
Post: (request?: (Omit<iLocation_References, never> & {
|
|
61
|
-
dataInsertMultipleRows?: Omit<iLocation_References, never>[] | undefined;
|
|
62
|
-
cacheResults?: boolean | undefined;
|
|
63
|
-
fetchDependencies?: boolean | undefined;
|
|
64
|
-
debug?: boolean | undefined;
|
|
65
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
66
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
67
|
-
blocking?: boolean | undefined;
|
|
68
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iLocation_References>>;
|
|
69
|
-
Put: (request?: (Omit<iLocation_References, never> & {
|
|
70
|
-
dataInsertMultipleRows?: Omit<iLocation_References, never>[] | undefined;
|
|
71
|
-
cacheResults?: boolean | undefined;
|
|
72
|
-
fetchDependencies?: boolean | undefined;
|
|
73
|
-
debug?: boolean | undefined;
|
|
74
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
75
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
76
|
-
blocking?: boolean | undefined;
|
|
77
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iLocation_References, any>>;
|
|
78
|
-
Delete: (request?: (Omit<iLocation_References, never> & {
|
|
79
|
-
dataInsertMultipleRows?: Omit<iLocation_References, never>[] | undefined;
|
|
80
|
-
cacheResults?: boolean | undefined;
|
|
81
|
-
fetchDependencies?: boolean | undefined;
|
|
82
|
-
debug?: boolean | undefined;
|
|
83
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
84
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
85
|
-
blocking?: boolean | undefined;
|
|
86
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iLocation_References, any>>;
|
|
87
|
-
};
|
|
88
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { iLocation_References } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `carbon_location_references` (
|
|
4
|
-
`entity_reference` binary(16) NOT NULL,
|
|
5
|
-
`location_reference` binary(16) NOT NULL,
|
|
6
|
-
`location_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
7
|
-
KEY `carbon_location_references_carbons_entity_pk_fk` (`entity_reference`),
|
|
8
|
-
KEY `carbon_location_references_carbons_entity_pk_fk_2` (`location_reference`),
|
|
9
|
-
CONSTRAINT `carbon_location_references_carbons_entity_pk_fk` FOREIGN KEY (`entity_reference`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
10
|
-
CONSTRAINT `carbon_location_references_carbons_entity_pk_fk_2` FOREIGN KEY (`location_reference`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
11
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
12
|
-
**/
|
|
13
|
-
declare const Test_Data: iLocation_References;
|
|
14
|
-
export default Test_Data;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { AxiosResponse } from "axios";
|
|
3
|
-
import { iAPI, Modify } from "restRequest";
|
|
4
|
-
import { iLocations } from "./C6";
|
|
5
|
-
export declare const Get: (request?: (Omit<iLocations, never> & {
|
|
6
|
-
dataInsertMultipleRows?: Omit<iLocations, never>[] | undefined;
|
|
7
|
-
cacheResults?: boolean | undefined;
|
|
8
|
-
fetchDependencies?: boolean | undefined;
|
|
9
|
-
debug?: boolean | undefined;
|
|
10
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
11
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
12
|
-
blocking?: boolean | undefined;
|
|
13
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iLocations>>;
|
|
14
|
-
type PutCustomAndRequiredFields = {};
|
|
15
|
-
type PutRequestTableOverrides = {};
|
|
16
|
-
export declare function putStateLocations(response: AxiosResponse<iPutC6RestResponse<iLocations>>, request: iAPI<Modify<iLocations, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
|
|
17
|
-
export declare const Put: (request?: (Omit<iLocations, never> & {
|
|
18
|
-
dataInsertMultipleRows?: Omit<iLocations, never>[] | undefined;
|
|
19
|
-
cacheResults?: boolean | undefined;
|
|
20
|
-
fetchDependencies?: boolean | undefined;
|
|
21
|
-
debug?: boolean | undefined;
|
|
22
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
23
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
24
|
-
blocking?: boolean | undefined;
|
|
25
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iLocations, any>>;
|
|
26
|
-
type PostCustomAndRequiredFields = {};
|
|
27
|
-
type PostRequestTableOverrides = {};
|
|
28
|
-
export declare function postStateLocations(response: AxiosResponse<iPostC6RestResponse<iLocations>>, request: iAPI<Modify<iLocations, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
|
|
29
|
-
export declare const Post: (request?: (Omit<iLocations, never> & {
|
|
30
|
-
dataInsertMultipleRows?: Omit<iLocations, never>[] | undefined;
|
|
31
|
-
cacheResults?: boolean | undefined;
|
|
32
|
-
fetchDependencies?: boolean | undefined;
|
|
33
|
-
debug?: boolean | undefined;
|
|
34
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
35
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
36
|
-
blocking?: boolean | undefined;
|
|
37
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iLocations>>;
|
|
38
|
-
type DeleteCustomAndRequiredFields = {};
|
|
39
|
-
type DeleteRequestTableOverrides = {};
|
|
40
|
-
export declare function deleteStateLocations(_response: AxiosResponse<iDeleteC6RestResponse<iLocations>>, request: iAPI<Modify<iLocations, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
|
|
41
|
-
export declare const Delete: (request?: (Omit<iLocations, never> & {
|
|
42
|
-
dataInsertMultipleRows?: Omit<iLocations, never>[] | undefined;
|
|
43
|
-
cacheResults?: boolean | undefined;
|
|
44
|
-
fetchDependencies?: boolean | undefined;
|
|
45
|
-
debug?: boolean | undefined;
|
|
46
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
47
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
48
|
-
blocking?: boolean | undefined;
|
|
49
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iLocations, any>>;
|
|
50
|
-
declare const _default: {
|
|
51
|
-
Get: (request?: (Omit<iLocations, never> & {
|
|
52
|
-
dataInsertMultipleRows?: Omit<iLocations, never>[] | undefined;
|
|
53
|
-
cacheResults?: boolean | undefined;
|
|
54
|
-
fetchDependencies?: boolean | undefined;
|
|
55
|
-
debug?: boolean | undefined;
|
|
56
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
57
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
58
|
-
blocking?: boolean | undefined;
|
|
59
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iLocations>>;
|
|
60
|
-
Post: (request?: (Omit<iLocations, never> & {
|
|
61
|
-
dataInsertMultipleRows?: Omit<iLocations, never>[] | undefined;
|
|
62
|
-
cacheResults?: boolean | undefined;
|
|
63
|
-
fetchDependencies?: boolean | undefined;
|
|
64
|
-
debug?: boolean | undefined;
|
|
65
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
66
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
67
|
-
blocking?: boolean | undefined;
|
|
68
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iLocations>>;
|
|
69
|
-
Put: (request?: (Omit<iLocations, never> & {
|
|
70
|
-
dataInsertMultipleRows?: Omit<iLocations, never>[] | undefined;
|
|
71
|
-
cacheResults?: boolean | undefined;
|
|
72
|
-
fetchDependencies?: boolean | undefined;
|
|
73
|
-
debug?: boolean | undefined;
|
|
74
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
75
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
76
|
-
blocking?: boolean | undefined;
|
|
77
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iLocations, any>>;
|
|
78
|
-
Delete: (request?: (Omit<iLocations, never> & {
|
|
79
|
-
dataInsertMultipleRows?: Omit<iLocations, never>[] | undefined;
|
|
80
|
-
cacheResults?: boolean | undefined;
|
|
81
|
-
fetchDependencies?: boolean | undefined;
|
|
82
|
-
debug?: boolean | undefined;
|
|
83
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
84
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
85
|
-
blocking?: boolean | undefined;
|
|
86
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iLocations, any>>;
|
|
87
|
-
};
|
|
88
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { iLocations } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `carbon_locations` (
|
|
4
|
-
`entity_id` binary(16) NOT NULL,
|
|
5
|
-
`latitude` varchar(225) DEFAULT NULL,
|
|
6
|
-
`longitude` varchar(225) DEFAULT NULL,
|
|
7
|
-
`street` varchar(225) DEFAULT NULL,
|
|
8
|
-
`city` varchar(40) DEFAULT NULL,
|
|
9
|
-
`state` varchar(10) DEFAULT NULL,
|
|
10
|
-
`elevation` varchar(40) DEFAULT NULL,
|
|
11
|
-
`zip` int DEFAULT NULL,
|
|
12
|
-
PRIMARY KEY (`entity_id`),
|
|
13
|
-
UNIQUE KEY `entity_location_entity_id_uindex` (`entity_id`),
|
|
14
|
-
CONSTRAINT `entity_location_entity_entity_pk_fk` FOREIGN KEY (`entity_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
15
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
16
|
-
**/
|
|
17
|
-
declare const Test_Data: iLocations;
|
|
18
|
-
export default Test_Data;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { iPostC6RestResponse, iDeleteC6RestResponse, iGetC6RestResponse, iPutC6RestResponse } from "@carbonorm/carbonnode";
|
|
2
|
-
import { AxiosResponse } from "axios";
|
|
3
|
-
import { iAPI, Modify } from "restRequest";
|
|
4
|
-
import { iPhotos } from "./C6";
|
|
5
|
-
export declare const Get: (request?: (Omit<iPhotos, never> & {
|
|
6
|
-
dataInsertMultipleRows?: Omit<iPhotos, never>[] | undefined;
|
|
7
|
-
cacheResults?: boolean | undefined;
|
|
8
|
-
fetchDependencies?: boolean | undefined;
|
|
9
|
-
debug?: boolean | undefined;
|
|
10
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
11
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
12
|
-
blocking?: boolean | undefined;
|
|
13
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iPhotos>>;
|
|
14
|
-
type PutCustomAndRequiredFields = {};
|
|
15
|
-
type PutRequestTableOverrides = {};
|
|
16
|
-
export declare function putStatePhotos(response: AxiosResponse<iPutC6RestResponse<iPhotos>>, request: iAPI<Modify<iPhotos, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
|
|
17
|
-
export declare const Put: (request?: (Omit<iPhotos, never> & {
|
|
18
|
-
dataInsertMultipleRows?: Omit<iPhotos, never>[] | undefined;
|
|
19
|
-
cacheResults?: boolean | undefined;
|
|
20
|
-
fetchDependencies?: boolean | undefined;
|
|
21
|
-
debug?: boolean | undefined;
|
|
22
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
23
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
24
|
-
blocking?: boolean | undefined;
|
|
25
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iPhotos, any>>;
|
|
26
|
-
type PostCustomAndRequiredFields = {};
|
|
27
|
-
type PostRequestTableOverrides = {};
|
|
28
|
-
export declare function postStatePhotos(response: AxiosResponse<iPostC6RestResponse<iPhotos>>, request: iAPI<Modify<iPhotos, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
|
|
29
|
-
export declare const Post: (request?: (Omit<iPhotos, never> & {
|
|
30
|
-
dataInsertMultipleRows?: Omit<iPhotos, never>[] | undefined;
|
|
31
|
-
cacheResults?: boolean | undefined;
|
|
32
|
-
fetchDependencies?: boolean | undefined;
|
|
33
|
-
debug?: boolean | undefined;
|
|
34
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
35
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
36
|
-
blocking?: boolean | undefined;
|
|
37
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iPhotos>>;
|
|
38
|
-
type DeleteCustomAndRequiredFields = {};
|
|
39
|
-
type DeleteRequestTableOverrides = {};
|
|
40
|
-
export declare function deleteStatePhotos(_response: AxiosResponse<iDeleteC6RestResponse<iPhotos>>, request: iAPI<Modify<iPhotos, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
|
|
41
|
-
export declare const Delete: (request?: (Omit<iPhotos, never> & {
|
|
42
|
-
dataInsertMultipleRows?: Omit<iPhotos, never>[] | undefined;
|
|
43
|
-
cacheResults?: boolean | undefined;
|
|
44
|
-
fetchDependencies?: boolean | undefined;
|
|
45
|
-
debug?: boolean | undefined;
|
|
46
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
47
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
48
|
-
blocking?: boolean | undefined;
|
|
49
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iPhotos, any>>;
|
|
50
|
-
declare const _default: {
|
|
51
|
-
Get: (request?: (Omit<iPhotos, never> & {
|
|
52
|
-
dataInsertMultipleRows?: Omit<iPhotos, never>[] | undefined;
|
|
53
|
-
cacheResults?: boolean | undefined;
|
|
54
|
-
fetchDependencies?: boolean | undefined;
|
|
55
|
-
debug?: boolean | undefined;
|
|
56
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
57
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
58
|
-
blocking?: boolean | undefined;
|
|
59
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iGetC6RestResponse<iPhotos>>;
|
|
60
|
-
Post: (request?: (Omit<iPhotos, never> & {
|
|
61
|
-
dataInsertMultipleRows?: Omit<iPhotos, never>[] | undefined;
|
|
62
|
-
cacheResults?: boolean | undefined;
|
|
63
|
-
fetchDependencies?: boolean | undefined;
|
|
64
|
-
debug?: boolean | undefined;
|
|
65
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
66
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
67
|
-
blocking?: boolean | undefined;
|
|
68
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPostC6RestResponse<iPhotos>>;
|
|
69
|
-
Put: (request?: (Omit<iPhotos, never> & {
|
|
70
|
-
dataInsertMultipleRows?: Omit<iPhotos, never>[] | undefined;
|
|
71
|
-
cacheResults?: boolean | undefined;
|
|
72
|
-
fetchDependencies?: boolean | undefined;
|
|
73
|
-
debug?: boolean | undefined;
|
|
74
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
75
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
76
|
-
blocking?: boolean | undefined;
|
|
77
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iPutC6RestResponse<iPhotos, any>>;
|
|
78
|
-
Delete: (request?: (Omit<iPhotos, never> & {
|
|
79
|
-
dataInsertMultipleRows?: Omit<iPhotos, never>[] | undefined;
|
|
80
|
-
cacheResults?: boolean | undefined;
|
|
81
|
-
fetchDependencies?: boolean | undefined;
|
|
82
|
-
debug?: boolean | undefined;
|
|
83
|
-
success?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
84
|
-
error?: string | ((r: AxiosResponse<any, any>) => string | void) | undefined;
|
|
85
|
-
blocking?: boolean | undefined;
|
|
86
|
-
}) | undefined) => import("@carbonorm/carbonnode").apiReturn<iDeleteC6RestResponse<iPhotos, any>>;
|
|
87
|
-
};
|
|
88
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { iPhotos } from "api/rest/C6";
|
|
2
|
-
/**
|
|
3
|
-
CREATE TABLE `carbon_photos` (
|
|
4
|
-
`parent_id` binary(16) NOT NULL,
|
|
5
|
-
`photo_id` binary(16) NOT NULL,
|
|
6
|
-
`user_id` binary(16) NOT NULL,
|
|
7
|
-
`photo_src` longblob NOT NULL,
|
|
8
|
-
`photo_description` text,
|
|
9
|
-
`photo_upload_date` datetime DEFAULT CURRENT_TIMESTAMP,
|
|
10
|
-
PRIMARY KEY (`photo_id`),
|
|
11
|
-
UNIQUE KEY `entity_photos_photo_id_uindex` (`photo_id`),
|
|
12
|
-
KEY `photos_entity_user_pk_fk` (`user_id`),
|
|
13
|
-
KEY `carbon_photos_carbon_carbons_entity_pk_fk2` (`parent_id`),
|
|
14
|
-
CONSTRAINT `carbon_photos_carbon_carbons_entity_pk_fk` FOREIGN KEY (`photo_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
15
|
-
CONSTRAINT `carbon_photos_carbon_carbons_entity_pk_fk2` FOREIGN KEY (`parent_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
16
|
-
CONSTRAINT `carbon_photos_carbon_carbons_entity_pk_fk3` FOREIGN KEY (`user_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
17
|
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
18
|
-
**/
|
|
19
|
-
declare const Test_Data: iPhotos;
|
|
20
|
-
export default Test_Data;
|