@carbonorm/carbonreact 3.4.4 → 3.4.6

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.
Files changed (108) hide show
  1. package/dist/CarbonReact.d.ts +3 -0
  2. package/dist/components/Popup/Popup.d.ts +2 -2
  3. package/dist/index.cjs.js +2134 -5049
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.d.ts +0 -49
  6. package/dist/index.esm.js +2115 -4952
  7. package/dist/index.esm.js.map +1 -1
  8. package/package.json +2 -2
  9. package/src/CarbonReact.tsx +3 -0
  10. package/src/api/hoc/getStatefulObjectWithWhere.tsx +2 -0
  11. package/src/components/Popup/Popup.tsx +3 -3
  12. package/src/index.ts +0 -49
  13. package/dist/api/rest/C6.d.ts +0 -579
  14. package/dist/api/rest/Carbons.d.ts +0 -88
  15. package/dist/api/rest/Carbons.test.d.ts +0 -14
  16. package/dist/api/rest/Chat_Messages.d.ts +0 -88
  17. package/dist/api/rest/Chat_Messages.test.d.ts +0 -20
  18. package/dist/api/rest/Documentation.d.ts +0 -88
  19. package/dist/api/rest/Documentation.test.d.ts +0 -11
  20. package/dist/api/rest/Feature_Group_References.d.ts +0 -88
  21. package/dist/api/rest/Feature_Group_References.test.d.ts +0 -13
  22. package/dist/api/rest/Features.d.ts +0 -88
  23. package/dist/api/rest/Features.test.d.ts +0 -14
  24. package/dist/api/rest/Group_References.d.ts +0 -88
  25. package/dist/api/rest/Group_References.test.d.ts +0 -13
  26. package/dist/api/rest/Groups.d.ts +0 -88
  27. package/dist/api/rest/Groups.test.d.ts +0 -15
  28. package/dist/api/rest/History_Logs.d.ts +0 -88
  29. package/dist/api/rest/History_Logs.test.d.ts +0 -13
  30. package/dist/api/rest/Likes.d.ts +0 -88
  31. package/dist/api/rest/Likes.test.d.ts +0 -13
  32. package/dist/api/rest/Location_References.d.ts +0 -88
  33. package/dist/api/rest/Location_References.test.d.ts +0 -14
  34. package/dist/api/rest/Locations.d.ts +0 -88
  35. package/dist/api/rest/Locations.test.d.ts +0 -18
  36. package/dist/api/rest/Photos.d.ts +0 -88
  37. package/dist/api/rest/Photos.test.d.ts +0 -20
  38. package/dist/api/rest/Posts.d.ts +0 -88
  39. package/dist/api/rest/Posts.test.d.ts +0 -22
  40. package/dist/api/rest/Projects.d.ts +0 -88
  41. package/dist/api/rest/Projects.test.d.ts +0 -21
  42. package/dist/api/rest/Reports.d.ts +0 -88
  43. package/dist/api/rest/Reports.test.d.ts +0 -11
  44. package/dist/api/rest/Sessions.d.ts +0 -88
  45. package/dist/api/rest/Sessions.test.d.ts +0 -14
  46. package/dist/api/rest/Subscription.d.ts +0 -88
  47. package/dist/api/rest/Subscription.test.d.ts +0 -20
  48. package/dist/api/rest/User_Followers.d.ts +0 -88
  49. package/dist/api/rest/User_Followers.test.d.ts +0 -16
  50. package/dist/api/rest/User_Groups.d.ts +0 -88
  51. package/dist/api/rest/User_Groups.test.d.ts +0 -13
  52. package/dist/api/rest/User_Messages.d.ts +0 -88
  53. package/dist/api/rest/User_Messages.test.d.ts +0 -20
  54. package/dist/api/rest/User_Sessions.d.ts +0 -88
  55. package/dist/api/rest/User_Sessions.test.d.ts +0 -14
  56. package/dist/api/rest/User_Tasks.d.ts +0 -88
  57. package/dist/api/rest/User_Tasks.test.d.ts +0 -22
  58. package/dist/api/rest/Users.d.ts +0 -88
  59. package/dist/api/rest/Users.test.d.ts +0 -44
  60. package/dist/api/rest/WsLiveUpdates.d.ts +0 -3
  61. package/src/api/rest/C6.tsx +0 -2687
  62. package/src/api/rest/Carbons.test.tsx +0 -128
  63. package/src/api/rest/Carbons.tsx +0 -145
  64. package/src/api/rest/Chat_Messages.test.tsx +0 -138
  65. package/src/api/rest/Chat_Messages.tsx +0 -151
  66. package/src/api/rest/Documentation.test.tsx +0 -128
  67. package/src/api/rest/Documentation.tsx +0 -142
  68. package/src/api/rest/Feature_Group_References.test.tsx +0 -126
  69. package/src/api/rest/Feature_Group_References.tsx +0 -144
  70. package/src/api/rest/Features.test.tsx +0 -128
  71. package/src/api/rest/Features.tsx +0 -145
  72. package/src/api/rest/Group_References.test.tsx +0 -126
  73. package/src/api/rest/Group_References.tsx +0 -144
  74. package/src/api/rest/Groups.test.tsx +0 -130
  75. package/src/api/rest/Groups.tsx +0 -146
  76. package/src/api/rest/History_Logs.test.tsx +0 -130
  77. package/src/api/rest/History_Logs.tsx +0 -144
  78. package/src/api/rest/Likes.test.tsx +0 -126
  79. package/src/api/rest/Likes.tsx +0 -144
  80. package/src/api/rest/Location_References.test.tsx +0 -128
  81. package/src/api/rest/Location_References.tsx +0 -145
  82. package/src/api/rest/Locations.test.tsx +0 -137
  83. package/src/api/rest/Locations.tsx +0 -149
  84. package/src/api/rest/Photos.test.tsx +0 -139
  85. package/src/api/rest/Photos.tsx +0 -151
  86. package/src/api/rest/Posts.test.tsx +0 -142
  87. package/src/api/rest/Posts.tsx +0 -153
  88. package/src/api/rest/Projects.test.tsx +0 -144
  89. package/src/api/rest/Projects.tsx +0 -152
  90. package/src/api/rest/Reports.test.tsx +0 -128
  91. package/src/api/rest/Reports.tsx +0 -142
  92. package/src/api/rest/Sessions.test.tsx +0 -133
  93. package/src/api/rest/Sessions.tsx +0 -145
  94. package/src/api/rest/Subscription.test.tsx +0 -138
  95. package/src/api/rest/Subscription.tsx +0 -151
  96. package/src/api/rest/User_Followers.test.tsx +0 -130
  97. package/src/api/rest/User_Followers.tsx +0 -147
  98. package/src/api/rest/User_Groups.test.tsx +0 -126
  99. package/src/api/rest/User_Groups.tsx +0 -144
  100. package/src/api/rest/User_Messages.test.tsx +0 -137
  101. package/src/api/rest/User_Messages.tsx +0 -151
  102. package/src/api/rest/User_Sessions.test.tsx +0 -133
  103. package/src/api/rest/User_Sessions.tsx +0 -145
  104. package/src/api/rest/User_Tasks.test.tsx +0 -141
  105. package/src/api/rest/User_Tasks.tsx +0 -153
  106. package/src/api/rest/Users.test.tsx +0 -193
  107. package/src/api/rest/Users.tsx +0 -175
  108. 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 { 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;
@@ -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;
@@ -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 { iPosts } from "./C6";
5
- export declare const Get: (request?: (Omit<iPosts, never> & {
6
- dataInsertMultipleRows?: Omit<iPosts, 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<iPosts>>;
14
- type PutCustomAndRequiredFields = {};
15
- type PutRequestTableOverrides = {};
16
- export declare function putStatePosts(response: AxiosResponse<iPutC6RestResponse<iPosts>>, request: iAPI<Modify<iPosts, PutRequestTableOverrides>> & PutCustomAndRequiredFields): void;
17
- export declare const Put: (request?: (Omit<iPosts, never> & {
18
- dataInsertMultipleRows?: Omit<iPosts, 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<iPosts, any>>;
26
- type PostCustomAndRequiredFields = {};
27
- type PostRequestTableOverrides = {};
28
- export declare function postStatePosts(response: AxiosResponse<iPostC6RestResponse<iPosts>>, request: iAPI<Modify<iPosts, PostRequestTableOverrides>> & PostCustomAndRequiredFields, id: string | number | boolean): void;
29
- export declare const Post: (request?: (Omit<iPosts, never> & {
30
- dataInsertMultipleRows?: Omit<iPosts, 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<iPosts>>;
38
- type DeleteCustomAndRequiredFields = {};
39
- type DeleteRequestTableOverrides = {};
40
- export declare function deleteStatePosts(_response: AxiosResponse<iDeleteC6RestResponse<iPosts>>, request: iAPI<Modify<iPosts, DeleteRequestTableOverrides>> & DeleteCustomAndRequiredFields): void;
41
- export declare const Delete: (request?: (Omit<iPosts, never> & {
42
- dataInsertMultipleRows?: Omit<iPosts, 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<iPosts, any>>;
50
- declare const _default: {
51
- Get: (request?: (Omit<iPosts, never> & {
52
- dataInsertMultipleRows?: Omit<iPosts, 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<iPosts>>;
60
- Post: (request?: (Omit<iPosts, never> & {
61
- dataInsertMultipleRows?: Omit<iPosts, 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<iPosts>>;
69
- Put: (request?: (Omit<iPosts, never> & {
70
- dataInsertMultipleRows?: Omit<iPosts, 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<iPosts, any>>;
78
- Delete: (request?: (Omit<iPosts, never> & {
79
- dataInsertMultipleRows?: Omit<iPosts, 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<iPosts, any>>;
87
- };
88
- export default _default;
@@ -1,22 +0,0 @@
1
- import { iPosts } from "api/rest/C6";
2
- /**
3
- CREATE TABLE `carbon_posts` (
4
- `post_id` binary(16) NOT NULL,
5
- `post_data` blob,
6
- `post_author` binary(16) DEFAULT NULL,
7
- `post_status` varchar(16) DEFAULT NULL,
8
- `post_created_datetime` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
9
- `post_project_id` binary(16) DEFAULT NULL,
10
- `post_parent_id` binary(16) DEFAULT NULL,
11
- PRIMARY KEY (`post_id`),
12
- KEY `carbon_posts_carbon_carbons_entity_pk_fk2` (`post_author`),
13
- KEY `carbon_posts_carbon_carbons_entity_pk_fk3` (`post_project_id`),
14
- KEY `carbon_posts_carbon_carbons_entity_pk_fk4` (`post_parent_id`),
15
- CONSTRAINT `carbon_posts_carbon_carbons_entity_pk_fk` FOREIGN KEY (`post_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
16
- CONSTRAINT `carbon_posts_carbon_carbons_entity_pk_fk2` FOREIGN KEY (`post_author`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
17
- CONSTRAINT `carbon_posts_carbon_carbons_entity_pk_fk3` FOREIGN KEY (`post_project_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE,
18
- CONSTRAINT `carbon_posts_carbon_carbons_entity_pk_fk4` FOREIGN KEY (`post_parent_id`) REFERENCES `carbon_carbons` (`entity_pk`) ON DELETE CASCADE ON UPDATE CASCADE
19
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
20
- **/
21
- declare const Test_Data: iPosts;
22
- export default Test_Data;