@axinom/mosaic-messages 0.50.0-rc.2 → 0.50.0-rc.3

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.
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "title": "image_upload_webhook_request_payload",
5
- "description": "The request payload schema for Image Upload webhook.",
5
+ "description": "The request payload schema for Image Upload webhook.\nUsed by https://docs.axinom.com/services/image/api/webhooks#image-upload",
6
6
  "additionalProperties": false,
7
7
  "required": [
8
8
  "image_name",
@@ -24,15 +24,15 @@
24
24
  },
25
25
  "width": {
26
26
  "type": "number",
27
- "description": "Number of pixels wide"
27
+ "description": "Width of the image in pixels"
28
28
  },
29
29
  "height": {
30
30
  "type": "number",
31
- "description": "Number of pixels high"
31
+ "description": "Height of the image in pixels"
32
32
  },
33
33
  "format": {
34
34
  "type": "string",
35
- "description": "Name of decoder used to decompress image data e.g. jpeg, png, webp, gif, svg"
35
+ "description": "Format of the image. e.g. jpeg, png, webp, gif, svg"
36
36
  },
37
37
  "has_alpha": {
38
38
  "type": "boolean",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "image_type": {
42
42
  "type": "string",
43
- "description": "Type of image"
43
+ "description": "Type of the image as defined in the Image Service. e.g. MOVIE_COVER"
44
44
  }
45
45
  }
46
46
  }
@@ -2,7 +2,8 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "title": "image_upload_webhook_response_payload",
5
- "description": "The response payload schema for Image Upload webhook.",
6
- "additionalProperties": true,
7
- "properties": {}
5
+ "description": "The response payload schema for Image Upload webhook.\nUsed by https://docs.axinom.com/services/image/api/webhooks#image-upload",
6
+ "additionalProperties": false,
7
+ "properties": {},
8
+ "required": []
8
9
  }
@@ -43,5 +43,6 @@ export declare const ImageUploadWebhookResponsePayloadSchema: {
43
43
  description: string;
44
44
  additionalProperties: boolean;
45
45
  properties: {};
46
+ required: never[];
46
47
  };
47
48
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/image/types/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,uCAAuC;;;;;;;CAAoC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/image/types/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AACvF,eAAO,MAAM,uCAAuC;;;;;;;;CAAoC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * The request payload schema for Image Upload webhook.
3
+ * Used by https://docs.axinom.com/services/image/api/webhooks#image-upload
3
4
  */
4
5
  export interface ImageUploadWebhookRequestPayload {
5
6
  /**
@@ -11,15 +12,15 @@ export interface ImageUploadWebhookRequestPayload {
11
12
  */
12
13
  size: number;
13
14
  /**
14
- * Number of pixels wide
15
+ * Width of the image in pixels
15
16
  */
16
17
  width: number;
17
18
  /**
18
- * Number of pixels high
19
+ * Height of the image in pixels
19
20
  */
20
21
  height: number;
21
22
  /**
22
- * Name of decoder used to decompress image data e.g. jpeg, png, webp, gif, svg
23
+ * Format of the image. e.g. jpeg, png, webp, gif, svg
23
24
  */
24
25
  format: string;
25
26
  /**
@@ -27,7 +28,7 @@ export interface ImageUploadWebhookRequestPayload {
27
28
  */
28
29
  has_alpha: boolean;
29
30
  /**
30
- * Type of image
31
+ * Type of the image as defined in the Image Service. e.g. MOVIE_COVER
31
32
  */
32
33
  image_type: string;
33
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"image-upload-webhook-request-payload.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/image/types/image-upload-webhook-request-payload.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"image-upload-webhook-request-payload.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/image/types/image-upload-webhook-request-payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1,4 +1,7 @@
1
- export type ImageUploadWebhookResponsePayload = {
2
- [name: string]: unknown;
3
- };
1
+ /**
2
+ * The response payload schema for Image Upload webhook.
3
+ * Used by https://docs.axinom.com/services/image/api/webhooks#image-upload
4
+ */
5
+ export interface ImageUploadWebhookResponsePayload {
6
+ }
4
7
  //# sourceMappingURL=image-upload-webhook-response-payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-upload-webhook-response-payload.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/image/types/image-upload-webhook-response-payload.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iCAAiC,GAAG;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"image-upload-webhook-response-payload.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/image/types/image-upload-webhook-response-payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,iCAAiC;CAEjD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-messages",
3
- "version": "0.50.0-rc.2",
3
+ "version": "0.50.0-rc.3",
4
4
  "description": "Shared types for Axinom Mosaic service messages",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -29,8 +29,8 @@
29
29
  "dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
30
30
  },
31
31
  "devDependencies": {
32
- "@axinom/mosaic-cli": "^0.40.0-rc.2",
33
- "@axinom/mosaic-message-bus-abstractions": "^0.21.0-rc.2",
32
+ "@axinom/mosaic-cli": "^0.40.0-rc.3",
33
+ "@axinom/mosaic-message-bus-abstractions": "^0.21.0-rc.3",
34
34
  "@types/glob": "^7.1.3",
35
35
  "@types/node": "^18.11.18",
36
36
  "concurrently": "^5.3.0",
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "2d015f129e61beade8826336c6d32e49a5eb36a3"
46
+ "gitHead": "977debf60549a9b48ccd43da45db6c2ce149e38b"
47
47
  }
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "title": "image_upload_webhook_request_payload",
5
- "description": "The request payload schema for Image Upload webhook.",
5
+ "description": "The request payload schema for Image Upload webhook.\nUsed by https://docs.axinom.com/services/image/api/webhooks#image-upload",
6
6
  "additionalProperties": false,
7
7
  "required": [
8
8
  "image_name",
@@ -24,15 +24,15 @@
24
24
  },
25
25
  "width": {
26
26
  "type": "number",
27
- "description": "Number of pixels wide"
27
+ "description": "Width of the image in pixels"
28
28
  },
29
29
  "height": {
30
30
  "type": "number",
31
- "description": "Number of pixels high"
31
+ "description": "Height of the image in pixels"
32
32
  },
33
33
  "format": {
34
34
  "type": "string",
35
- "description": "Name of decoder used to decompress image data e.g. jpeg, png, webp, gif, svg"
35
+ "description": "Format of the image. e.g. jpeg, png, webp, gif, svg"
36
36
  },
37
37
  "has_alpha": {
38
38
  "type": "boolean",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "image_type": {
42
42
  "type": "string",
43
- "description": "Type of image"
43
+ "description": "Type of the image as defined in the Image Service. e.g. MOVIE_COVER"
44
44
  }
45
45
  }
46
46
  }
@@ -2,7 +2,8 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "title": "image_upload_webhook_response_payload",
5
- "description": "The response payload schema for Image Upload webhook.",
6
- "additionalProperties": true,
7
- "properties": {}
5
+ "description": "The response payload schema for Image Upload webhook.\nUsed by https://docs.axinom.com/services/image/api/webhooks#image-upload",
6
+ "additionalProperties": false,
7
+ "properties": {},
8
+ "required": []
8
9
  }
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * The request payload schema for Image Upload webhook.
3
+ * Used by https://docs.axinom.com/services/image/api/webhooks#image-upload
3
4
  */
4
5
  export interface ImageUploadWebhookRequestPayload {
5
6
  /**
@@ -11,15 +12,15 @@ export interface ImageUploadWebhookRequestPayload {
11
12
  */
12
13
  size: number;
13
14
  /**
14
- * Number of pixels wide
15
+ * Width of the image in pixels
15
16
  */
16
17
  width: number;
17
18
  /**
18
- * Number of pixels high
19
+ * Height of the image in pixels
19
20
  */
20
21
  height: number;
21
22
  /**
22
- * Name of decoder used to decompress image data e.g. jpeg, png, webp, gif, svg
23
+ * Format of the image. e.g. jpeg, png, webp, gif, svg
23
24
  */
24
25
  format: string;
25
26
  /**
@@ -27,7 +28,7 @@ export interface ImageUploadWebhookRequestPayload {
27
28
  */
28
29
  has_alpha: boolean;
29
30
  /**
30
- * Type of image
31
+ * Type of the image as defined in the Image Service. e.g. MOVIE_COVER
31
32
  */
32
33
  image_type: string;
33
34
  }
@@ -1 +1,7 @@
1
- export type ImageUploadWebhookResponsePayload = { [name: string]: unknown };
1
+ /**
2
+ * The response payload schema for Image Upload webhook.
3
+ * Used by https://docs.axinom.com/services/image/api/webhooks#image-upload
4
+ */
5
+ export interface ImageUploadWebhookResponsePayload {
6
+
7
+ }