@nomalism-com/types 0.43.53 → 0.43.55

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.cjs CHANGED
@@ -5545,13 +5545,13 @@ __export(route_schema_exports100, {
5545
5545
  });
5546
5546
  import joi101 from "joi";
5547
5547
  var createBodyKeys61 = {
5548
- url: joi101.string().optional(),
5549
5548
  error: joi101.object({
5550
5549
  name: joi101.string().required(),
5551
5550
  message: joi101.string().required(),
5552
5551
  stack: joi101.string().optional()
5553
5552
  }),
5554
5553
  request: joi101.object({
5554
+ url: joi101.string().required(),
5555
5555
  body: joi101.any().optional(),
5556
5556
  query: joi101.any().optional(),
5557
5557
  params: joi101.any().optional()
package/dist/index.js CHANGED
@@ -5545,13 +5545,13 @@ __export(route_schema_exports100, {
5545
5545
  });
5546
5546
  import joi101 from "joi";
5547
5547
  var createBodyKeys61 = {
5548
- url: joi101.string().optional(),
5549
5548
  error: joi101.object({
5550
5549
  name: joi101.string().required(),
5551
5550
  message: joi101.string().required(),
5552
5551
  stack: joi101.string().optional()
5553
5552
  }),
5554
5553
  request: joi101.object({
5554
+ url: joi101.string().required(),
5555
5555
  body: joi101.any().optional(),
5556
5556
  query: joi101.any().optional(),
5557
5557
  params: joi101.any().optional()
@@ -42,7 +42,6 @@ export interface PublicDocumentHeaderNoteUpdateRequest {
42
42
  note: string;
43
43
  }
44
44
  export interface IRepository {
45
- publicFindByOwnerId(params: IPublicFindByOwnerIdRequest): Promise<IPublicFindByOwnerIdResponse[]>;
46
45
  publicFindBySubscriberId(params: IPublicFindByOwnerIdRequest): Promise<IPublicFindBySubscriberIdResponse[]>;
47
46
  createPublicDocumentHeaderNote: (data: PublicDocumentHeaderNoteCreateRequest[]) => Promise<PublicDocumentHeaderNote[]>;
48
47
  updatePublicDocumentHeaderNote: (selector: IShared.IFindByIdRequest, data: PublicDocumentHeaderNoteUpdateRequest[]) => Promise<PublicDocumentHeaderNote[]>;
@@ -13,7 +13,6 @@ export declare const IErrorTypeEnum: {
13
13
  export type IErrorType = (typeof IErrorTypeEnum)[keyof typeof IErrorTypeEnum];
14
14
  export declare const errorTypes: string[];
15
15
  export interface ICreateRequest {
16
- url: string;
17
16
  service: string;
18
17
  type: IErrorType;
19
18
  error: {
@@ -22,6 +21,7 @@ export interface ICreateRequest {
22
21
  stack?: string;
23
22
  };
24
23
  request?: {
24
+ url: string;
25
25
  body?: unknown;
26
26
  query?: unknown;
27
27
  params?: unknown;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.43.53",
4
+ "version": "0.43.55",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",