jamespot-front-business 1.3.5 → 1.3.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.
package/dist/types.d.ts CHANGED
@@ -448,7 +448,7 @@ type JType = {
448
448
  mainType: string;
449
449
  };
450
450
  type ContentTypePropertyValue = Pick<JType, 'type' | 'label'>;
451
- declare const AppFormFixedList: ("TITLE" | "USER" | "PUBLISHTO" | "SENDALERTTOSUBSCRIBERS" | "RECEIVEACOPY" | "CREATIONDATE")[];
451
+ declare const AppFormFixedList: ("USER" | "TITLE" | "PUBLISHTO" | "SENDALERTTOSUBSCRIBERS" | "RECEIVEACOPY" | "CREATIONDATE")[];
452
452
  declare const AppFormNoAsFieldList: Array<ExtraAppFieldsItemViewsValues | AppFormItemTypesValues>;
453
453
  declare const AppFormFieldOnlyInView: "CODEHTML"[];
454
454
  declare const AppFormNonPrimaryList: (AppFormItemTypesValues | ExtraAppFieldsItemViewsValues)[];
@@ -965,7 +965,7 @@ type ModelRootState = {
965
965
  type CalendarEventsRootState = Loading & {
966
966
  list: CalendarEventWithExtensions<CalendarEventViewAbstractType, ['socialEventRecord']>[];
967
967
  statuses: EventStatusFilter[];
968
- types: Array<'socialEvent' | 'meeting' | 'animatedMeeting' | 'boardCard'>;
968
+ types: Array<'socialEvent' | 'meeting' | 'animatedMeeting' | 'boardCard' | 'recurringEvent'>;
969
969
  dates?: {
970
970
  start: string;
971
971
  end: string;
@@ -1792,7 +1792,7 @@ declare const Calendar: {
1792
1792
  fulfilledMeta?: unknown;
1793
1793
  rejectedMeta?: unknown;
1794
1794
  }>;
1795
- setTypes: _reduxjs_toolkit.AsyncThunk<boolean, ("animatedMeeting" | "meeting" | "socialEvent" | "boardCard")[], {
1795
+ setTypes: _reduxjs_toolkit.AsyncThunk<boolean, ("animatedMeeting" | "meeting" | "socialEvent" | "recurringEvent" | "boardCard")[], {
1796
1796
  dispatch: AppDispatch;
1797
1797
  state: RootState$1;
1798
1798
  extra: {
@@ -2296,7 +2296,7 @@ declare const Hook: {
2296
2296
  isActive: z.ZodBoolean;
2297
2297
  } & {
2298
2298
  label: z.ZodString;
2299
- defaultView: z.ZodEnum<["calendar", "list"]>;
2299
+ defaultView: z.ZodEnum<["month", "week", "day", "list"]>;
2300
2300
  iCalendarUrls: z.ZodObject<{
2301
2301
  all: z.ZodString;
2302
2302
  accepted: z.ZodString;
@@ -2308,24 +2308,27 @@ declare const Hook: {
2308
2308
  accepted: string;
2309
2309
  }>;
2310
2310
  externalGestion: z.ZodBoolean;
2311
+ recurringEventsEnabled: z.ZodBoolean;
2311
2312
  }, "strip", z.ZodTypeAny, {
2312
2313
  label: string;
2313
2314
  isActive: boolean;
2314
- defaultView: "list" | "calendar";
2315
+ defaultView: "list" | "month" | "week" | "day";
2315
2316
  iCalendarUrls: {
2316
2317
  all: string;
2317
2318
  accepted: string;
2318
2319
  };
2319
2320
  externalGestion: boolean;
2321
+ recurringEventsEnabled: boolean;
2320
2322
  }, {
2321
2323
  label: string;
2322
2324
  isActive: boolean;
2323
- defaultView: "list" | "calendar";
2325
+ defaultView: "list" | "month" | "week" | "day";
2324
2326
  iCalendarUrls: {
2325
2327
  all: string;
2326
2328
  accepted: string;
2327
2329
  };
2328
2330
  externalGestion: boolean;
2331
+ recurringEventsEnabled: boolean;
2329
2332
  }>>;
2330
2333
  ContentFactoryHook: z.ZodOptional<z.ZodObject<{
2331
2334
  isActive: z.ZodBoolean;
@@ -2827,12 +2830,13 @@ declare const Hook: {
2827
2830
  calendarHook?: {
2828
2831
  label: string;
2829
2832
  isActive: boolean;
2830
- defaultView: "list" | "calendar";
2833
+ defaultView: "list" | "month" | "week" | "day";
2831
2834
  iCalendarUrls: {
2832
2835
  all: string;
2833
2836
  accepted: string;
2834
2837
  };
2835
2838
  externalGestion: boolean;
2839
+ recurringEventsEnabled: boolean;
2836
2840
  } | undefined;
2837
2841
  ContentFactoryHook?: {
2838
2842
  label: string;
@@ -2988,12 +2992,13 @@ declare const Hook: {
2988
2992
  calendarHook?: {
2989
2993
  label: string;
2990
2994
  isActive: boolean;
2991
- defaultView: "list" | "calendar";
2995
+ defaultView: "list" | "month" | "week" | "day";
2992
2996
  iCalendarUrls: {
2993
2997
  all: string;
2994
2998
  accepted: string;
2995
2999
  };
2996
3000
  externalGestion: boolean;
3001
+ recurringEventsEnabled: boolean;
2997
3002
  } | undefined;
2998
3003
  ContentFactoryHook?: {
2999
3004
  label: string;
@@ -3105,7 +3110,7 @@ declare const Hook: {
3105
3110
  isActive: z.ZodBoolean;
3106
3111
  } & {
3107
3112
  label: z.ZodString;
3108
- defaultView: z.ZodEnum<["calendar", "list"]>;
3113
+ defaultView: z.ZodEnum<["month", "week", "day", "list"]>;
3109
3114
  iCalendarUrls: z.ZodObject<{
3110
3115
  all: z.ZodString;
3111
3116
  accepted: z.ZodString;
@@ -3117,24 +3122,27 @@ declare const Hook: {
3117
3122
  accepted: string;
3118
3123
  }>;
3119
3124
  externalGestion: z.ZodBoolean;
3125
+ recurringEventsEnabled: z.ZodBoolean;
3120
3126
  }, "strip", z.ZodTypeAny, {
3121
3127
  label: string;
3122
3128
  isActive: boolean;
3123
- defaultView: "list" | "calendar";
3129
+ defaultView: "list" | "month" | "week" | "day";
3124
3130
  iCalendarUrls: {
3125
3131
  all: string;
3126
3132
  accepted: string;
3127
3133
  };
3128
3134
  externalGestion: boolean;
3135
+ recurringEventsEnabled: boolean;
3129
3136
  }, {
3130
3137
  label: string;
3131
3138
  isActive: boolean;
3132
- defaultView: "list" | "calendar";
3139
+ defaultView: "list" | "month" | "week" | "day";
3133
3140
  iCalendarUrls: {
3134
3141
  all: string;
3135
3142
  accepted: string;
3136
3143
  };
3137
3144
  externalGestion: boolean;
3145
+ recurringEventsEnabled: boolean;
3138
3146
  }>>;
3139
3147
  ContentFactoryHook: z.ZodOptional<z.ZodObject<{
3140
3148
  isActive: z.ZodBoolean;
@@ -3636,12 +3644,13 @@ declare const Hook: {
3636
3644
  calendarHook?: {
3637
3645
  label: string;
3638
3646
  isActive: boolean;
3639
- defaultView: "list" | "calendar";
3647
+ defaultView: "list" | "month" | "week" | "day";
3640
3648
  iCalendarUrls: {
3641
3649
  all: string;
3642
3650
  accepted: string;
3643
3651
  };
3644
3652
  externalGestion: boolean;
3653
+ recurringEventsEnabled: boolean;
3645
3654
  } | undefined;
3646
3655
  ContentFactoryHook?: {
3647
3656
  label: string;
@@ -3797,12 +3806,13 @@ declare const Hook: {
3797
3806
  calendarHook?: {
3798
3807
  label: string;
3799
3808
  isActive: boolean;
3800
- defaultView: "list" | "calendar";
3809
+ defaultView: "list" | "month" | "week" | "day";
3801
3810
  iCalendarUrls: {
3802
3811
  all: string;
3803
3812
  accepted: string;
3804
3813
  };
3805
3814
  externalGestion: boolean;
3815
+ recurringEventsEnabled: boolean;
3806
3816
  } | undefined;
3807
3817
  ContentFactoryHook?: {
3808
3818
  label: string;
@@ -3914,7 +3924,7 @@ declare const Hook: {
3914
3924
  isActive: z.ZodBoolean;
3915
3925
  } & {
3916
3926
  label: z.ZodString;
3917
- defaultView: z.ZodEnum<["calendar", "list"]>;
3927
+ defaultView: z.ZodEnum<["month", "week", "day", "list"]>;
3918
3928
  iCalendarUrls: z.ZodObject<{
3919
3929
  all: z.ZodString;
3920
3930
  accepted: z.ZodString;
@@ -3926,24 +3936,27 @@ declare const Hook: {
3926
3936
  accepted: string;
3927
3937
  }>;
3928
3938
  externalGestion: z.ZodBoolean;
3939
+ recurringEventsEnabled: z.ZodBoolean;
3929
3940
  }, "strip", z.ZodTypeAny, {
3930
3941
  label: string;
3931
3942
  isActive: boolean;
3932
- defaultView: "list" | "calendar";
3943
+ defaultView: "list" | "month" | "week" | "day";
3933
3944
  iCalendarUrls: {
3934
3945
  all: string;
3935
3946
  accepted: string;
3936
3947
  };
3937
3948
  externalGestion: boolean;
3949
+ recurringEventsEnabled: boolean;
3938
3950
  }, {
3939
3951
  label: string;
3940
3952
  isActive: boolean;
3941
- defaultView: "list" | "calendar";
3953
+ defaultView: "list" | "month" | "week" | "day";
3942
3954
  iCalendarUrls: {
3943
3955
  all: string;
3944
3956
  accepted: string;
3945
3957
  };
3946
3958
  externalGestion: boolean;
3959
+ recurringEventsEnabled: boolean;
3947
3960
  }>>;
3948
3961
  ContentFactoryHook: z.ZodOptional<z.ZodObject<{
3949
3962
  isActive: z.ZodBoolean;
@@ -4445,12 +4458,13 @@ declare const Hook: {
4445
4458
  calendarHook?: {
4446
4459
  label: string;
4447
4460
  isActive: boolean;
4448
- defaultView: "list" | "calendar";
4461
+ defaultView: "list" | "month" | "week" | "day";
4449
4462
  iCalendarUrls: {
4450
4463
  all: string;
4451
4464
  accepted: string;
4452
4465
  };
4453
4466
  externalGestion: boolean;
4467
+ recurringEventsEnabled: boolean;
4454
4468
  } | undefined;
4455
4469
  ContentFactoryHook?: {
4456
4470
  label: string;
@@ -4606,12 +4620,13 @@ declare const Hook: {
4606
4620
  calendarHook?: {
4607
4621
  label: string;
4608
4622
  isActive: boolean;
4609
- defaultView: "list" | "calendar";
4623
+ defaultView: "list" | "month" | "week" | "day";
4610
4624
  iCalendarUrls: {
4611
4625
  all: string;
4612
4626
  accepted: string;
4613
4627
  };
4614
4628
  externalGestion: boolean;
4629
+ recurringEventsEnabled: boolean;
4615
4630
  } | undefined;
4616
4631
  ContentFactoryHook?: {
4617
4632
  label: string;
@@ -5285,14 +5300,7 @@ declare const WedocApp: {
5285
5300
  }, "wedoc">;
5286
5301
  selectors: {
5287
5302
  getFiles: (state: RootState$1) => {
5288
- entities: z.infer<z.ZodObject<{
5289
- id: z.ZodType<number, z.ZodTypeDef, number>;
5290
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
5291
- type: z.ZodType<string, z.ZodTypeDef, string>;
5292
- uri: z.ZodType<string, z.ZodTypeDef, string>;
5293
- dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
5294
- dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
5295
- } & {
5303
+ entities: z.infer<z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.jObjectBase> & {
5296
5304
  title: z.ZodString;
5297
5305
  mimetype: z.ZodString;
5298
5306
  _extend: z.ZodObject<{
@@ -5300,13 +5308,7 @@ declare const WedocApp: {
5300
5308
  generalAccessHash: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
5301
5309
  dateModified: z.ZodString;
5302
5310
  dateCreation: z.ZodString;
5303
- fileInfo: z.ZodObject<{
5304
- color: z.ZodType<string, z.ZodTypeDef, string>;
5305
- description: z.ZodType<string, z.ZodTypeDef, string>;
5306
- extension: z.ZodType<string, z.ZodTypeDef, string>;
5307
- icon: z.ZodType<string, z.ZodTypeDef, string>;
5308
- label: z.ZodType<string, z.ZodTypeDef, string>;
5309
- }, "strip", z.ZodTypeAny, jamespot_user_api.OnlyOfficeFileInfo, jamespot_user_api.OnlyOfficeFileInfo>;
5311
+ fileInfo: z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.OnlyOfficeFileInfo>, "strip", z.ZodTypeAny, jamespot_user_api.OnlyOfficeFileInfo, jamespot_user_api.OnlyOfficeFileInfo>;
5310
5312
  parentId: z.ZodNumber;
5311
5313
  parentType: z.ZodString;
5312
5314
  parentFiles: z.ZodArray<z.ZodNumber, "many">;
@@ -5332,16 +5334,7 @@ declare const WedocApp: {
5332
5334
  parentFiles: number[];
5333
5335
  generalAccessHash?: string | undefined;
5334
5336
  }>;
5335
- _right: z.ZodObject<{
5336
- create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5337
- read: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5338
- publish: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5339
- administrate: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5340
- update: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5341
- delete: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5342
- comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5343
- member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5344
- }, "strip", z.ZodTypeAny, jamespot_user_api.Rights, jamespot_user_api.Rights>;
5337
+ _right: z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.Rights>, "strip", z.ZodTypeAny, jamespot_user_api.Rights, jamespot_user_api.Rights>;
5345
5338
  _user: z.ZodObject<{
5346
5339
  id: z.ZodType<number, z.ZodTypeDef, number>;
5347
5340
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
@@ -5372,14 +5365,7 @@ declare const WedocApp: {
5372
5365
  dateModified: string;
5373
5366
  variant?: typeof jamespot_user_api.UserVariant[keyof typeof jamespot_user_api.UserVariant] | undefined;
5374
5367
  }>;
5375
- _audience: z.ZodArray<z.ZodObject<{
5376
- id: z.ZodType<number, z.ZodTypeDef, number>;
5377
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
5378
- type: z.ZodType<string, z.ZodTypeDef, string>;
5379
- uri: z.ZodType<string, z.ZodTypeDef, string>;
5380
- dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
5381
- dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
5382
- } & {
5368
+ _audience: z.ZodArray<z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.jObjectBase> & {
5383
5369
  title: z.ZodString;
5384
5370
  _url: z.ZodString;
5385
5371
  }, "strip", z.ZodTypeAny, jamespot_user_api.jObjectLittle, jamespot_user_api.jObjectLittle>, "many">;
@@ -5447,14 +5433,7 @@ declare const WedocApp: {
5447
5433
  page: number;
5448
5434
  };
5449
5435
  getRecent: (state: RootState$1) => {
5450
- entities: z.infer<z.ZodObject<{
5451
- id: z.ZodType<number, z.ZodTypeDef, number>;
5452
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
5453
- type: z.ZodType<string, z.ZodTypeDef, string>;
5454
- uri: z.ZodType<string, z.ZodTypeDef, string>;
5455
- dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
5456
- dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
5457
- } & {
5436
+ entities: z.infer<z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.jObjectBase> & {
5458
5437
  title: z.ZodString;
5459
5438
  mimetype: z.ZodString;
5460
5439
  _extend: z.ZodObject<{
@@ -5462,13 +5441,7 @@ declare const WedocApp: {
5462
5441
  generalAccessHash: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
5463
5442
  dateModified: z.ZodString;
5464
5443
  dateCreation: z.ZodString;
5465
- fileInfo: z.ZodObject<{
5466
- color: z.ZodType<string, z.ZodTypeDef, string>;
5467
- description: z.ZodType<string, z.ZodTypeDef, string>;
5468
- extension: z.ZodType<string, z.ZodTypeDef, string>;
5469
- icon: z.ZodType<string, z.ZodTypeDef, string>;
5470
- label: z.ZodType<string, z.ZodTypeDef, string>;
5471
- }, "strip", z.ZodTypeAny, jamespot_user_api.OnlyOfficeFileInfo, jamespot_user_api.OnlyOfficeFileInfo>;
5444
+ fileInfo: z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.OnlyOfficeFileInfo>, "strip", z.ZodTypeAny, jamespot_user_api.OnlyOfficeFileInfo, jamespot_user_api.OnlyOfficeFileInfo>;
5472
5445
  parentId: z.ZodNumber;
5473
5446
  parentType: z.ZodString;
5474
5447
  parentFiles: z.ZodArray<z.ZodNumber, "many">;
@@ -5494,16 +5467,7 @@ declare const WedocApp: {
5494
5467
  parentFiles: number[];
5495
5468
  generalAccessHash?: string | undefined;
5496
5469
  }>;
5497
- _right: z.ZodObject<{
5498
- create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5499
- read: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5500
- publish: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5501
- administrate: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5502
- update: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5503
- delete: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5504
- comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5505
- member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5506
- }, "strip", z.ZodTypeAny, jamespot_user_api.Rights, jamespot_user_api.Rights>;
5470
+ _right: z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.Rights>, "strip", z.ZodTypeAny, jamespot_user_api.Rights, jamespot_user_api.Rights>;
5507
5471
  _user: z.ZodObject<{
5508
5472
  id: z.ZodType<number, z.ZodTypeDef, number>;
5509
5473
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
@@ -5534,14 +5498,7 @@ declare const WedocApp: {
5534
5498
  dateModified: string;
5535
5499
  variant?: typeof jamespot_user_api.UserVariant[keyof typeof jamespot_user_api.UserVariant] | undefined;
5536
5500
  }>;
5537
- _audience: z.ZodArray<z.ZodObject<{
5538
- id: z.ZodType<number, z.ZodTypeDef, number>;
5539
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
5540
- type: z.ZodType<string, z.ZodTypeDef, string>;
5541
- uri: z.ZodType<string, z.ZodTypeDef, string>;
5542
- dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
5543
- dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
5544
- } & {
5501
+ _audience: z.ZodArray<z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.jObjectBase> & {
5545
5502
  title: z.ZodString;
5546
5503
  _url: z.ZodString;
5547
5504
  }, "strip", z.ZodTypeAny, jamespot_user_api.jObjectLittle, jamespot_user_api.jObjectLittle>, "many">;
@@ -5607,14 +5564,7 @@ declare const WedocApp: {
5607
5564
  };
5608
5565
  };
5609
5566
  actions: {
5610
- fetchFiles: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiWrapper<jamespot_user_api.PagingResults<z.infer<z.ZodObject<{
5611
- id: z.ZodType<number, z.ZodTypeDef, number>;
5612
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
5613
- type: z.ZodType<string, z.ZodTypeDef, string>;
5614
- uri: z.ZodType<string, z.ZodTypeDef, string>;
5615
- dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
5616
- dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
5617
- } & {
5567
+ fetchFiles: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiWrapper<jamespot_user_api.PagingResults<z.infer<z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.jObjectBase> & {
5618
5568
  title: z.ZodString;
5619
5569
  mimetype: z.ZodString;
5620
5570
  _extend: z.ZodObject<{
@@ -5622,13 +5572,7 @@ declare const WedocApp: {
5622
5572
  generalAccessHash: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
5623
5573
  dateModified: z.ZodString;
5624
5574
  dateCreation: z.ZodString;
5625
- fileInfo: z.ZodObject<{
5626
- color: z.ZodType<string, z.ZodTypeDef, string>;
5627
- description: z.ZodType<string, z.ZodTypeDef, string>;
5628
- extension: z.ZodType<string, z.ZodTypeDef, string>;
5629
- icon: z.ZodType<string, z.ZodTypeDef, string>;
5630
- label: z.ZodType<string, z.ZodTypeDef, string>;
5631
- }, "strip", z.ZodTypeAny, jamespot_user_api.OnlyOfficeFileInfo, jamespot_user_api.OnlyOfficeFileInfo>;
5575
+ fileInfo: z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.OnlyOfficeFileInfo>, "strip", z.ZodTypeAny, jamespot_user_api.OnlyOfficeFileInfo, jamespot_user_api.OnlyOfficeFileInfo>;
5632
5576
  parentId: z.ZodNumber;
5633
5577
  parentType: z.ZodString;
5634
5578
  parentFiles: z.ZodArray<z.ZodNumber, "many">;
@@ -5654,16 +5598,7 @@ declare const WedocApp: {
5654
5598
  parentFiles: number[];
5655
5599
  generalAccessHash?: string | undefined;
5656
5600
  }>;
5657
- _right: z.ZodObject<{
5658
- create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5659
- read: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5660
- publish: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5661
- administrate: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5662
- update: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5663
- delete: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5664
- comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5665
- member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5666
- }, "strip", z.ZodTypeAny, jamespot_user_api.Rights, jamespot_user_api.Rights>;
5601
+ _right: z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.Rights>, "strip", z.ZodTypeAny, jamespot_user_api.Rights, jamespot_user_api.Rights>;
5667
5602
  _user: z.ZodObject<{
5668
5603
  id: z.ZodType<number, z.ZodTypeDef, number>;
5669
5604
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
@@ -5694,14 +5629,7 @@ declare const WedocApp: {
5694
5629
  dateModified: string;
5695
5630
  variant?: typeof jamespot_user_api.UserVariant[keyof typeof jamespot_user_api.UserVariant] | undefined;
5696
5631
  }>;
5697
- _audience: z.ZodArray<z.ZodObject<{
5698
- id: z.ZodType<number, z.ZodTypeDef, number>;
5699
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
5700
- type: z.ZodType<string, z.ZodTypeDef, string>;
5701
- uri: z.ZodType<string, z.ZodTypeDef, string>;
5702
- dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
5703
- dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
5704
- } & {
5632
+ _audience: z.ZodArray<z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.jObjectBase> & {
5705
5633
  title: z.ZodString;
5706
5634
  _url: z.ZodString;
5707
5635
  }, "strip", z.ZodTypeAny, jamespot_user_api.jObjectLittle, jamespot_user_api.jObjectLittle>, "many">;
@@ -5777,14 +5705,7 @@ declare const WedocApp: {
5777
5705
  fulfilledMeta?: unknown;
5778
5706
  rejectedMeta?: unknown;
5779
5707
  }>;
5780
- fetchRecentFiles: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiWrapper<jamespot_user_api.PagingResults<z.infer<z.ZodObject<{
5781
- id: z.ZodType<number, z.ZodTypeDef, number>;
5782
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
5783
- type: z.ZodType<string, z.ZodTypeDef, string>;
5784
- uri: z.ZodType<string, z.ZodTypeDef, string>;
5785
- dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
5786
- dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
5787
- } & {
5708
+ fetchRecentFiles: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiWrapper<jamespot_user_api.PagingResults<z.infer<z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.jObjectBase> & {
5788
5709
  title: z.ZodString;
5789
5710
  mimetype: z.ZodString;
5790
5711
  _extend: z.ZodObject<{
@@ -5792,13 +5713,7 @@ declare const WedocApp: {
5792
5713
  generalAccessHash: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
5793
5714
  dateModified: z.ZodString;
5794
5715
  dateCreation: z.ZodString;
5795
- fileInfo: z.ZodObject<{
5796
- color: z.ZodType<string, z.ZodTypeDef, string>;
5797
- description: z.ZodType<string, z.ZodTypeDef, string>;
5798
- extension: z.ZodType<string, z.ZodTypeDef, string>;
5799
- icon: z.ZodType<string, z.ZodTypeDef, string>;
5800
- label: z.ZodType<string, z.ZodTypeDef, string>;
5801
- }, "strip", z.ZodTypeAny, jamespot_user_api.OnlyOfficeFileInfo, jamespot_user_api.OnlyOfficeFileInfo>;
5716
+ fileInfo: z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.OnlyOfficeFileInfo>, "strip", z.ZodTypeAny, jamespot_user_api.OnlyOfficeFileInfo, jamespot_user_api.OnlyOfficeFileInfo>;
5802
5717
  parentId: z.ZodNumber;
5803
5718
  parentType: z.ZodString;
5804
5719
  parentFiles: z.ZodArray<z.ZodNumber, "many">;
@@ -5824,16 +5739,7 @@ declare const WedocApp: {
5824
5739
  parentFiles: number[];
5825
5740
  generalAccessHash?: string | undefined;
5826
5741
  }>;
5827
- _right: z.ZodObject<{
5828
- create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5829
- read: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5830
- publish: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5831
- administrate: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5832
- update: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5833
- delete: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5834
- comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5835
- member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
5836
- }, "strip", z.ZodTypeAny, jamespot_user_api.Rights, jamespot_user_api.Rights>;
5742
+ _right: z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.Rights>, "strip", z.ZodTypeAny, jamespot_user_api.Rights, jamespot_user_api.Rights>;
5837
5743
  _user: z.ZodObject<{
5838
5744
  id: z.ZodType<number, z.ZodTypeDef, number>;
5839
5745
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
@@ -5864,14 +5770,7 @@ declare const WedocApp: {
5864
5770
  dateModified: string;
5865
5771
  variant?: typeof jamespot_user_api.UserVariant[keyof typeof jamespot_user_api.UserVariant] | undefined;
5866
5772
  }>;
5867
- _audience: z.ZodArray<z.ZodObject<{
5868
- id: z.ZodType<number, z.ZodTypeDef, number>;
5869
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
5870
- type: z.ZodType<string, z.ZodTypeDef, string>;
5871
- uri: z.ZodType<string, z.ZodTypeDef, string>;
5872
- dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
5873
- dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
5874
- } & {
5773
+ _audience: z.ZodArray<z.ZodObject<jamespot_user_api.ZodShape<jamespot_user_api.jObjectBase> & {
5875
5774
  title: z.ZodString;
5876
5775
  _url: z.ZodString;
5877
5776
  }, "strip", z.ZodTypeAny, jamespot_user_api.jObjectLittle, jamespot_user_api.jObjectLittle>, "many">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-front-business",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "typescript utils",
5
5
  "main": "dist/cjs.js",
6
6
  "module": "dist/esm.js",
@@ -31,7 +31,7 @@
31
31
  "eslint-config-prettier": "^8.10.2",
32
32
  "eslint-import-resolver-typescript": "^4.4.4",
33
33
  "eslint-plugin-import": "^2.32.0",
34
- "jamespot-user-api": "^1.3.5",
34
+ "jamespot-user-api": "^1.3.6",
35
35
  "jest": "^30.2.0",
36
36
  "jest-environment-jsdom": "^30.2.0",
37
37
  "knip": "^5.67.1",