@cundi/refine-xaf 1.0.5 → 1.0.7

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.mts CHANGED
@@ -292,6 +292,57 @@ declare const refineXafTranslations: {
292
292
  users: string;
293
293
  roles: string;
294
294
  settings: string;
295
+ backgroundJobs: string;
296
+ };
297
+ backgroundJobs: {
298
+ title: string;
299
+ tabs: {
300
+ recurring: string;
301
+ succeeded: string;
302
+ failed: string;
303
+ processing: string;
304
+ };
305
+ columns: {
306
+ id: string;
307
+ jobId: string;
308
+ jobName: string;
309
+ cron: string;
310
+ queue: string;
311
+ nextExecution: string;
312
+ lastState: string;
313
+ succeededAt: string;
314
+ failedAt: string;
315
+ startedAt: string;
316
+ duration: string;
317
+ exception: string;
318
+ serverId: string;
319
+ actions: string;
320
+ };
321
+ status: {
322
+ succeeded: string;
323
+ failed: string;
324
+ processing: string;
325
+ scheduled: string;
326
+ unknown: string;
327
+ };
328
+ actions: {
329
+ trigger: string;
330
+ delete: string;
331
+ triggerSuccess: string;
332
+ deleteSuccess: string;
333
+ triggerError: string;
334
+ deleteError: string;
335
+ };
336
+ drawer: {
337
+ title: string;
338
+ jobName: string;
339
+ createdAt: string;
340
+ history: string;
341
+ state: string;
342
+ reason: string;
343
+ data: string;
344
+ noData: string;
345
+ };
295
346
  };
296
347
  };
297
348
  "zh-TW": {
@@ -391,6 +442,57 @@ declare const refineXafTranslations: {
391
442
  users: string;
392
443
  roles: string;
393
444
  settings: string;
445
+ backgroundJobs: string;
446
+ };
447
+ backgroundJobs: {
448
+ title: string;
449
+ tabs: {
450
+ recurring: string;
451
+ succeeded: string;
452
+ failed: string;
453
+ processing: string;
454
+ };
455
+ columns: {
456
+ id: string;
457
+ jobId: string;
458
+ jobName: string;
459
+ cron: string;
460
+ queue: string;
461
+ nextExecution: string;
462
+ lastState: string;
463
+ succeededAt: string;
464
+ failedAt: string;
465
+ startedAt: string;
466
+ duration: string;
467
+ exception: string;
468
+ serverId: string;
469
+ actions: string;
470
+ };
471
+ status: {
472
+ succeeded: string;
473
+ failed: string;
474
+ processing: string;
475
+ scheduled: string;
476
+ unknown: string;
477
+ };
478
+ actions: {
479
+ trigger: string;
480
+ delete: string;
481
+ triggerSuccess: string;
482
+ deleteSuccess: string;
483
+ triggerError: string;
484
+ deleteError: string;
485
+ };
486
+ drawer: {
487
+ title: string;
488
+ jobName: string;
489
+ createdAt: string;
490
+ history: string;
491
+ state: string;
492
+ reason: string;
493
+ data: string;
494
+ noData: string;
495
+ };
394
496
  };
395
497
  };
396
498
  };
@@ -472,6 +574,21 @@ declare const RoleCreate: React.FC<IResourceComponentsProps>;
472
574
 
473
575
  declare const RoleEdit: React.FC<IResourceComponentsProps>;
474
576
 
577
+ /**
578
+ * Props for the BackgroundJobList component.
579
+ */
580
+ interface BackgroundJobListProps {
581
+ /** Custom title for the list page */
582
+ title?: string;
583
+ /** Base API URL (defaults to useApiUrl() without /odata) */
584
+ apiUrl?: string;
585
+ }
586
+ /**
587
+ * A reusable component for managing Hangfire background jobs.
588
+ * Displays recurring jobs, succeeded jobs, failed jobs, and processing jobs.
589
+ */
590
+ declare const BackgroundJobList: React.FC<BackgroundJobListProps>;
591
+
475
592
  type ColorModeContextType = {
476
593
  mode: "light" | "dark";
477
594
  setMode: (mode: "light" | "dark") => void;
@@ -490,4 +607,4 @@ interface IModelType {
490
607
  }
491
608
  declare const useModelTypes: () => _tanstack_react_query.UseQueryResult<IModelType[], Error>;
492
609
 
493
- export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, Base64Upload, ColorModeContext, ColorModeContextProvider, DrawioEditor, type DrawioEditorProps, Header, HttpError, type IApplicationUser, type IJwtClaims, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, authProvider, authService, dataProvider, generatePassword, getBaseUrl, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };
610
+ export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, BackgroundJobList, type BackgroundJobListProps, Base64Upload, ColorModeContext, ColorModeContextProvider, DrawioEditor, type DrawioEditorProps, Header, HttpError, type IApplicationUser, type IJwtClaims, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, authProvider, authService, dataProvider, generatePassword, getBaseUrl, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };
package/dist/index.d.ts CHANGED
@@ -292,6 +292,57 @@ declare const refineXafTranslations: {
292
292
  users: string;
293
293
  roles: string;
294
294
  settings: string;
295
+ backgroundJobs: string;
296
+ };
297
+ backgroundJobs: {
298
+ title: string;
299
+ tabs: {
300
+ recurring: string;
301
+ succeeded: string;
302
+ failed: string;
303
+ processing: string;
304
+ };
305
+ columns: {
306
+ id: string;
307
+ jobId: string;
308
+ jobName: string;
309
+ cron: string;
310
+ queue: string;
311
+ nextExecution: string;
312
+ lastState: string;
313
+ succeededAt: string;
314
+ failedAt: string;
315
+ startedAt: string;
316
+ duration: string;
317
+ exception: string;
318
+ serverId: string;
319
+ actions: string;
320
+ };
321
+ status: {
322
+ succeeded: string;
323
+ failed: string;
324
+ processing: string;
325
+ scheduled: string;
326
+ unknown: string;
327
+ };
328
+ actions: {
329
+ trigger: string;
330
+ delete: string;
331
+ triggerSuccess: string;
332
+ deleteSuccess: string;
333
+ triggerError: string;
334
+ deleteError: string;
335
+ };
336
+ drawer: {
337
+ title: string;
338
+ jobName: string;
339
+ createdAt: string;
340
+ history: string;
341
+ state: string;
342
+ reason: string;
343
+ data: string;
344
+ noData: string;
345
+ };
295
346
  };
296
347
  };
297
348
  "zh-TW": {
@@ -391,6 +442,57 @@ declare const refineXafTranslations: {
391
442
  users: string;
392
443
  roles: string;
393
444
  settings: string;
445
+ backgroundJobs: string;
446
+ };
447
+ backgroundJobs: {
448
+ title: string;
449
+ tabs: {
450
+ recurring: string;
451
+ succeeded: string;
452
+ failed: string;
453
+ processing: string;
454
+ };
455
+ columns: {
456
+ id: string;
457
+ jobId: string;
458
+ jobName: string;
459
+ cron: string;
460
+ queue: string;
461
+ nextExecution: string;
462
+ lastState: string;
463
+ succeededAt: string;
464
+ failedAt: string;
465
+ startedAt: string;
466
+ duration: string;
467
+ exception: string;
468
+ serverId: string;
469
+ actions: string;
470
+ };
471
+ status: {
472
+ succeeded: string;
473
+ failed: string;
474
+ processing: string;
475
+ scheduled: string;
476
+ unknown: string;
477
+ };
478
+ actions: {
479
+ trigger: string;
480
+ delete: string;
481
+ triggerSuccess: string;
482
+ deleteSuccess: string;
483
+ triggerError: string;
484
+ deleteError: string;
485
+ };
486
+ drawer: {
487
+ title: string;
488
+ jobName: string;
489
+ createdAt: string;
490
+ history: string;
491
+ state: string;
492
+ reason: string;
493
+ data: string;
494
+ noData: string;
495
+ };
394
496
  };
395
497
  };
396
498
  };
@@ -472,6 +574,21 @@ declare const RoleCreate: React.FC<IResourceComponentsProps>;
472
574
 
473
575
  declare const RoleEdit: React.FC<IResourceComponentsProps>;
474
576
 
577
+ /**
578
+ * Props for the BackgroundJobList component.
579
+ */
580
+ interface BackgroundJobListProps {
581
+ /** Custom title for the list page */
582
+ title?: string;
583
+ /** Base API URL (defaults to useApiUrl() without /odata) */
584
+ apiUrl?: string;
585
+ }
586
+ /**
587
+ * A reusable component for managing Hangfire background jobs.
588
+ * Displays recurring jobs, succeeded jobs, failed jobs, and processing jobs.
589
+ */
590
+ declare const BackgroundJobList: React.FC<BackgroundJobListProps>;
591
+
475
592
  type ColorModeContextType = {
476
593
  mode: "light" | "dark";
477
594
  setMode: (mode: "light" | "dark") => void;
@@ -490,4 +607,4 @@ interface IModelType {
490
607
  }
491
608
  declare const useModelTypes: () => _tanstack_react_query.UseQueryResult<IModelType[], Error>;
492
609
 
493
- export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, Base64Upload, ColorModeContext, ColorModeContextProvider, DrawioEditor, type DrawioEditorProps, Header, HttpError, type IApplicationUser, type IJwtClaims, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, authProvider, authService, dataProvider, generatePassword, getBaseUrl, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };
610
+ export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, BackgroundJobList, type BackgroundJobListProps, Base64Upload, ColorModeContext, ColorModeContextProvider, DrawioEditor, type DrawioEditorProps, Header, HttpError, type IApplicationUser, type IJwtClaims, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, authProvider, authService, dataProvider, generatePassword, getBaseUrl, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };