@chill-sharp/react-client 1.1.12 → 1.1.15

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/src/index.ts CHANGED
@@ -1,86 +1,86 @@
1
- /*
2
- * ChillSharp is a lightweight .NET library that sits on top of Entity Framework Core
3
- * and turns an existing data model into a fully working REST API with almost no setup.
4
- * Copyright (C) 2025 Andrea Piovesan
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU Affero General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Affero General Public License
17
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
18
- */
19
-
20
- export { ChillSharpProvider, useChillSharpClient } from "./context.js";
21
- export {
22
- useAutocompleteMutation,
23
- useCurrentUserPreferences,
24
- useEntityChanges,
25
- useEntityMutation,
26
- useQueryMutation,
27
- useSchema,
28
- useSchemaList,
29
- useTest,
30
- useText,
31
- useTexts,
32
- useValidateMutation,
33
- useVersion
34
- } from "./hooks.js";
35
- export type { ChillSharpProviderProps } from "./context.js";
36
- export type { UseChillAsyncState, UseChillMutationState, UseChillSubscriptionState } from "./hooks.js";
37
- export { CHILL_SHARP_REACT_CLIENT_VERSION } from "./version.js";
38
- export {
39
- API_BASE_PATH,
40
- ChillSharpClient,
41
- ChillSharpClientError,
42
- PermissionAction,
43
- PermissionEffect,
44
- PermissionScope
45
- } from "@chill-sharp/ts-client";
46
- export type {
47
- AuthPermissionRule,
48
- AuthPermissionRuleItem,
49
- AuthRoleDetailsResponse,
50
- AuthRoleListItem,
51
- AuthRolePermissions,
52
- AuthTokenResponse,
53
- AuthUserDetailsResponse,
54
- AuthUserListItem,
55
- ChillDtoEntity,
56
- ChillUserPreferences,
57
- ChillDtoEntityOptions,
58
- ChillDtoMenuItem,
59
- ChillDtoProperty,
60
- ChillDtoPropertySchema,
61
- ChillDtoQuery,
62
- ChillDtoSchema,
63
- ChillDtoSchemaRelation,
64
- ChillDtoSchemaRelationLabel,
65
- ChillDtoSchemaListItem,
66
- ChillAttachmentUploadFile,
67
- ChillAttachmentUploadOptions,
68
- ChillEntityChangeAction,
69
- ChillEntityChangeCallback,
70
- ChillEntityChangeNotification,
71
- ChillEntityChangeSubscription,
72
- ChillOrdering,
73
- ChillPagination,
74
- ChillSharpClientOptions,
75
- GetAuthPermissionsResponse,
76
- GetTextRequest,
77
- GetTextResponse,
78
- JsonObject,
79
- JsonPrimitive,
80
- JsonValue,
81
- RegisterAuthIdentityRequest,
82
- SetAuthRoleRequest,
83
- SetAuthUserRequest
84
- } from "@chill-sharp/ts-client";
85
-
86
-
1
+ /*
2
+ * ChillSharp is a lightweight .NET library that sits on top of Entity Framework Core
3
+ * and turns an existing data model into a fully working REST API with almost no setup.
4
+ * Copyright (C) 2025 Andrea Piovesan
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU Affero General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Affero General Public License
17
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
18
+ */
19
+
20
+ export { ChillSharpProvider, useChillSharpClient } from "./context.js";
21
+ export {
22
+ useAutocompleteMutation,
23
+ useCurrentUserPreferences,
24
+ useEntityChanges,
25
+ useEntityMutation,
26
+ useQueryMutation,
27
+ useSchema,
28
+ useSchemaList,
29
+ useTest,
30
+ useText,
31
+ useTexts,
32
+ useValidateMutation,
33
+ useVersion
34
+ } from "./hooks.js";
35
+ export type { ChillSharpProviderProps } from "./context.js";
36
+ export type { UseChillAsyncState, UseChillMutationState, UseChillSubscriptionState } from "./hooks.js";
37
+ export { CHILL_SHARP_REACT_CLIENT_VERSION } from "./version.js";
38
+ export {
39
+ API_BASE_PATH,
40
+ ChillSharpClient,
41
+ ChillSharpClientError,
42
+ PermissionAction,
43
+ PermissionEffect,
44
+ PermissionScope
45
+ } from "@chill-sharp/ts-client";
46
+ export type {
47
+ AuthPermissionRule,
48
+ AuthPermissionRuleItem,
49
+ AuthRoleDetailsResponse,
50
+ AuthRoleListItem,
51
+ AuthRolePermissions,
52
+ AuthTokenResponse,
53
+ AuthUserDetailsResponse,
54
+ AuthUserListItem,
55
+ ChillDtoEntity,
56
+ ChillUserPreferences,
57
+ ChillDtoEntityOptions,
58
+ ChillDtoMenuItem,
59
+ ChillDtoProperty,
60
+ ChillDtoPropertySchema,
61
+ ChillDtoQuery,
62
+ ChillDtoSchema,
63
+ ChillDtoSchemaRelation,
64
+ ChillDtoSchemaRelationLabel,
65
+ ChillDtoSchemaListItem,
66
+ ChillAttachmentUploadFile,
67
+ ChillAttachmentUploadOptions,
68
+ ChillEntityChangeAction,
69
+ ChillEntityChangeCallback,
70
+ ChillEntityChangeNotification,
71
+ ChillEntityChangeSubscription,
72
+ ChillOrdering,
73
+ ChillPagination,
74
+ ChillSharpClientOptions,
75
+ GetAuthPermissionsResponse,
76
+ GetTextRequest,
77
+ GetTextResponse,
78
+ JsonObject,
79
+ JsonPrimitive,
80
+ JsonValue,
81
+ RegisterAuthIdentityRequest,
82
+ SetAuthRoleRequest,
83
+ SetAuthUserRequest
84
+ } from "@chill-sharp/ts-client";
85
+
86
+
package/src/version.ts CHANGED
@@ -1,20 +1,20 @@
1
- /*
2
- * ChillSharp is a lightweight .NET library that sits on top of Entity Framework Core
3
- * and turns an existing data model into a fully working REST API with almost no setup.
4
- * Copyright (C) 2025 Andrea Piovesan
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU Affero General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU Affero General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Affero General Public License
17
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
18
- */
19
-
20
- export const CHILL_SHARP_REACT_CLIENT_VERSION = "0.1.0";
1
+ /*
2
+ * ChillSharp is a lightweight .NET library that sits on top of Entity Framework Core
3
+ * and turns an existing data model into a fully working REST API with almost no setup.
4
+ * Copyright (C) 2025 Andrea Piovesan
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU Affero General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Affero General Public License
17
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
18
+ */
19
+
20
+ export const CHILL_SHARP_REACT_CLIENT_VERSION = "0.1.0";