@mirantes-micro/foundation-design-system 1.2.65 → 1.2.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +33 -5
- package/dist/index.js +249 -118
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1115,10 +1115,10 @@ type PostReactionsProps = {
|
|
|
1115
1115
|
id: string;
|
|
1116
1116
|
userId: string;
|
|
1117
1117
|
postId: string;
|
|
1118
|
-
reaction: "LIKE" | "LOVE" | "HAHA" | "WOW" | "SAD" | "ANGRY";
|
|
1119
|
-
createdAt
|
|
1120
|
-
updatedAt
|
|
1121
|
-
user
|
|
1118
|
+
reaction: "LIKE" | "LOVE" | "HAHA" | "WOW" | "SAD" | "ANGRY" | "AGREE" | "DISLIKE" | "EUREKA" | "NO_COMMENT" | "SUPPORT" | "DISAGREE";
|
|
1119
|
+
createdAt?: string;
|
|
1120
|
+
updatedAt?: string;
|
|
1121
|
+
user?: User;
|
|
1122
1122
|
};
|
|
1123
1123
|
type CommentReactionsProps = {
|
|
1124
1124
|
id: string;
|
|
@@ -1216,12 +1216,40 @@ interface AssetVersionsResponse {
|
|
|
1216
1216
|
platform: string;
|
|
1217
1217
|
versions: Record<AssetVersionKey, AssetVersion>;
|
|
1218
1218
|
}
|
|
1219
|
+
interface BulkAssetUploadItemSuccess {
|
|
1220
|
+
status: "success";
|
|
1221
|
+
message: string;
|
|
1222
|
+
data: {
|
|
1223
|
+
url: string;
|
|
1224
|
+
assetId?: string;
|
|
1225
|
+
};
|
|
1226
|
+
}
|
|
1227
|
+
interface BulkAssetUploadItemError {
|
|
1228
|
+
status: "error";
|
|
1229
|
+
message: string;
|
|
1230
|
+
data?: null;
|
|
1231
|
+
}
|
|
1232
|
+
type BulkAssetUploadItem = BulkAssetUploadItemSuccess | BulkAssetUploadItemError;
|
|
1233
|
+
interface AssetUploadBulkRequest {
|
|
1234
|
+
files: File[];
|
|
1235
|
+
owner_type: OwnerType;
|
|
1236
|
+
owner_id?: string;
|
|
1237
|
+
is_public: boolean;
|
|
1238
|
+
}
|
|
1239
|
+
interface AssetUploadBulkResponse {
|
|
1240
|
+
results: BulkAssetUploadItem[];
|
|
1241
|
+
}
|
|
1219
1242
|
|
|
1220
1243
|
/** POST /assets */
|
|
1221
1244
|
declare function useUploadAsset(): {
|
|
1222
1245
|
uploadAssets: _tanstack_react_query.UseMutateFunction<AssetUploadResponse, Error, AssetUploadRequest, unknown>;
|
|
1223
1246
|
isUploadingAsset: boolean;
|
|
1224
1247
|
};
|
|
1248
|
+
/** POST /assets/bulk */
|
|
1249
|
+
declare function useUploadAssetsBulk(): {
|
|
1250
|
+
uploadAssetsBulk: _tanstack_react_query.UseMutateFunction<AssetUploadBulkResponse, Error, AssetUploadBulkRequest, unknown>;
|
|
1251
|
+
isUploadingBulk: boolean;
|
|
1252
|
+
};
|
|
1225
1253
|
/** POST /assets/signed-url */
|
|
1226
1254
|
declare function useSignedUrl(): {
|
|
1227
1255
|
postSignedUrl: _tanstack_react_query.UseMutateFunction<SignedUrlResponse, Error, SignedUrlRequest, unknown>;
|
|
@@ -1240,4 +1268,4 @@ declare function useBestAssetVersion(assetId?: string): {
|
|
|
1240
1268
|
error: Error | null;
|
|
1241
1269
|
};
|
|
1242
1270
|
|
|
1243
|
-
export { AddRating, AddressAutocompleteInput, AnimatedModal, AutoDownloadBanner, AvatarRatingBadge, BaseInput, Button, ChatContacts, ChatView, ChatViewDesktopPage, CheckBoxInput, ContactsModal, CountryDisplay, CountryInput, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, DownloadMobileVersionBanner, DownloadModalTrigger, GradientModal, Header, MessageButton, MessagesButtonFromPage, MirantesButton, MirantesFoundationProvider, NoRecruitmentResponsiveIlustration, PageFloatFooter, PagesFeedTrigger, RadioButtonInput, RatingsCard, RattingSuggestionCard, ReactPostButton, ResponsiveDrawer, SalaryInputWithButton, Calendar as ScheduleCalendar, SharePostModal, ShareProfile, ShareProfileButton, ShareProfileModal, Spinner, WorkspacePanel, clearSettingsCookie, closeLogoutChannel, getInitials, getSettingsFromCookie, joinUrlWithPathAndQuery, onLogout, stringToObj, useApiGetPage, useAssetVersions, useBestAssetVersion, useCandidaciesTriggerStore, useCommunityTriggerStore, useJobTriggerStore, useLoadSettings, useMirantesFoundation, useModalStore, useOportunitiesStore, usePeriodicDownloadBanner, useRestorePendingChat, useSetChatVisibility, useSignedUrl, useUploadAsset };
|
|
1271
|
+
export { AddRating, AddressAutocompleteInput, AnimatedModal, AutoDownloadBanner, AvatarRatingBadge, BaseInput, Button, ChatContacts, ChatView, ChatViewDesktopPage, CheckBoxInput, ContactsModal, CountryDisplay, CountryInput, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, DownloadMobileVersionBanner, DownloadModalTrigger, GradientModal, Header, MessageButton, MessagesButtonFromPage, MirantesButton, MirantesFoundationProvider, NoRecruitmentResponsiveIlustration, PageFloatFooter, PagesFeedTrigger, RadioButtonInput, RatingsCard, RattingSuggestionCard, ReactPostButton, ResponsiveDrawer, SalaryInputWithButton, Calendar as ScheduleCalendar, SharePostModal, ShareProfile, ShareProfileButton, ShareProfileModal, Spinner, WorkspacePanel, clearSettingsCookie, closeLogoutChannel, getInitials, getSettingsFromCookie, joinUrlWithPathAndQuery, onLogout, stringToObj, useApiGetPage, useAssetVersions, useBestAssetVersion, useCandidaciesTriggerStore, useCommunityTriggerStore, useJobTriggerStore, useLoadSettings, useMirantesFoundation, useModalStore, useOportunitiesStore, usePeriodicDownloadBanner, useRestorePendingChat, useSetChatVisibility, useSignedUrl, useUploadAsset, useUploadAssetsBulk };
|