@remit/web-client 0.0.242 → 0.0.244

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/web-client",
3
- "version": "0.0.242",
3
+ "version": "0.0.244",
4
4
  "type": "module",
5
5
  "description": "Remit web client, published as composable primitives — the app shell, auth shells, and runtime config. A distributor imports what it composes and bundles it.",
6
6
  "exports": {
@@ -193,5 +193,3 @@ export const calendarSearchSchema = z.object({
193
193
  .preprocess(readCalendarIds, z.array(calendarIdSchema))
194
194
  .transform((ids) => (ids.length === 0 ? undefined : ids)),
195
195
  });
196
-
197
- export type CalendarSearch = z.infer<typeof calendarSearchSchema>;
@@ -403,11 +403,6 @@ export const pendingFolders = (
403
403
  return folders;
404
404
  };
405
405
 
406
- export const anchorWarnings = (
407
- report: RemitImapConfigImportReport,
408
- ): ApiError[] =>
409
- report.warnings.filter((warning) => warning.code !== FOLDER_PENDING_CODE);
410
-
411
406
  /* ------------------------------------------------------------------ */
412
407
  /* Reading a file off disk */
413
408
  /* ------------------------------------------------------------------ */
package/src/lib/i18n.ts CHANGED
@@ -11,7 +11,7 @@ i18n
11
11
  fallbackLng: "en",
12
12
  supportedLngs: ["en", "nl", "de", "fr"],
13
13
 
14
- ns: ["common", "mail", "settings", "errors"],
14
+ ns: ["common", "mail"],
15
15
  defaultNS: "common",
16
16
 
17
17
  backend: {
@@ -108,7 +108,7 @@ function AccountFolders({ account }: { account: RemitImapAccountResponse }) {
108
108
  [mailboxes, roleMap, translator, account.folderAppointments],
109
109
  );
110
110
 
111
- const handleAppoint = (role: FolderRole, mailboxId: string | null) => {
111
+ const handleAppoint = (role: FolderRole, mailboxId: string) => {
112
112
  appointMutation.mutate({
113
113
  path: { accountId, role: NAV_ROLE_TO_CANONICAL[role] },
114
114
  body: { mailboxId },
@@ -1 +0,0 @@
1
- {}
@@ -1 +0,0 @@
1
- {}
@@ -1 +0,0 @@
1
- {}
@@ -1 +0,0 @@
1
- {}
@@ -1 +0,0 @@
1
- {}
@@ -1 +0,0 @@
1
- {}
@@ -1 +0,0 @@
1
- {}
@@ -1 +0,0 @@
1
- {}