@veruna/api-contracts 1.0.78 → 1.0.82
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/build/controllers/index.d.ts +1 -0
- package/build/controllers/index.js +4 -1
- package/build/controllers/index.js.map +1 -1
- package/build/controllers/open-graph.controllers.d.ts +2 -0
- package/build/controllers/open-graph.controllers.js +6 -0
- package/build/controllers/open-graph.controllers.js.map +1 -0
- package/build/rest-api.d.ts +8 -0
- package/build/rest-api.js +8 -0
- package/build/rest-api.js.map +1 -1
- package/build/routes/index.d.ts +1 -0
- package/build/routes/index.js +3 -1
- package/build/routes/index.js.map +1 -1
- package/build/routes/open-graph.routes.d.ts +3 -0
- package/build/routes/open-graph.routes.js +7 -0
- package/build/routes/open-graph.routes.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai/tool-id.enum.d.ts +2 -1
- package/build/v1/ai/tool-id.enum.js +1 -0
- package/build/v1/ai/tool-id.enum.js.map +1 -1
- package/build/v1/index.d.ts +1 -0
- package/build/v1/index.js +1 -0
- package/build/v1/index.js.map +1 -1
- package/build/v1/message/schemas/generation-step.schema.d.ts +2 -1
- package/build/v1/message/schemas/generation-step.schema.js +1 -0
- package/build/v1/message/schemas/generation-step.schema.js.map +1 -1
- package/build/v1/open-graph/index.d.ts +4 -0
- package/build/v1/open-graph/index.js +25 -0
- package/build/v1/open-graph/index.js.map +1 -0
- package/build/v1/open-graph/queries/get-open-graph-preview-reg.query.d.ts +16 -0
- package/build/v1/open-graph/queries/get-open-graph-preview-reg.query.js +14 -0
- package/build/v1/open-graph/queries/get-open-graph-preview-reg.query.js.map +1 -0
- package/build/v1/open-graph/queries/get-open-graph-preview-unreg.query.d.ts +16 -0
- package/build/v1/open-graph/queries/get-open-graph-preview-unreg.query.js +14 -0
- package/build/v1/open-graph/queries/get-open-graph-preview-unreg.query.js.map +1 -0
- package/build/v1/open-graph/queries/index.d.ts +2 -0
- package/build/v1/open-graph/queries/index.js +19 -0
- package/build/v1/open-graph/queries/index.js.map +1 -0
- package/build/v1/open-graph/schemas/index.d.ts +2 -0
- package/build/v1/open-graph/schemas/index.js +19 -0
- package/build/v1/open-graph/schemas/index.js.map +1 -0
- package/build/v1/open-graph/schemas/open-graph-preview-request.schema.d.ts +5 -0
- package/build/v1/open-graph/schemas/open-graph-preview-request.schema.js +8 -0
- package/build/v1/open-graph/schemas/open-graph-preview-request.schema.js.map +1 -0
- package/build/v1/open-graph/schemas/open-graph-preview-response.schema.d.ts +7 -0
- package/build/v1/open-graph/schemas/open-graph-preview-response.schema.js +10 -0
- package/build/v1/open-graph/schemas/open-graph-preview-response.schema.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-id.enum.js","sourceRoot":"","sources":["../../../v1/ai/tool-id.enum.ts"],"names":[],"mappings":";;;AAIA,IAAY,
|
|
1
|
+
{"version":3,"file":"tool-id.enum.js","sourceRoot":"","sources":["../../../v1/ai/tool-id.enum.ts"],"names":[],"mappings":";;;AAIA,IAAY,MAIX;AAJD,WAAY,MAAM;IACd,gCAAsB,CAAA;IACtB,kCAAwB,CAAA;IACxB,yDAA+C,CAAA;AACnD,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB"}
|
package/build/v1/index.d.ts
CHANGED
package/build/v1/index.js
CHANGED
|
@@ -45,4 +45,5 @@ __exportStar(require("./admin-file"), exports);
|
|
|
45
45
|
__exportStar(require("./client-file"), exports);
|
|
46
46
|
__exportStar(require("./file"), exports);
|
|
47
47
|
__exportStar(require("./forms"), exports);
|
|
48
|
+
__exportStar(require("./open-graph"), exports);
|
|
48
49
|
//# sourceMappingURL=index.js.map
|
package/build/v1/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,uDAAqC;AACrC,yCAAuB;AACvB,0CAAwB;AACxB,0CAAwB;AACxB,kDAAgC;AAChC,8CAA4B;AAC5B,gDAA8B;AAC9B,6CAA2B;AAC3B,iDAA+B;AAC/B,yCAAuB;AACvB,4CAA0B;AAC1B,uCAAqB;AACrB,iDAA+B;AAC/B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,+CAA6B;AAC7B,uCAAqB;AACrB,wCAAsB;AACtB,kDAAgC;AAChC,qDAAmC;AACnC,iDAA+B;AAC/B,4CAA0B;AAC1B,+CAA6B;AAC7B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,gDAA8B;AAC9B,yCAAuB;AACvB,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../v1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,uDAAqC;AACrC,yCAAuB;AACvB,0CAAwB;AACxB,0CAAwB;AACxB,kDAAgC;AAChC,8CAA4B;AAC5B,gDAA8B;AAC9B,6CAA2B;AAC3B,iDAA+B;AAC/B,yCAAuB;AACvB,4CAA0B;AAC1B,uCAAqB;AACrB,iDAA+B;AAC/B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,+CAA6B;AAC7B,uCAAqB;AACrB,wCAAsB;AACtB,kDAAgC;AAChC,qDAAmC;AACnC,iDAA+B;AAC/B,4CAA0B;AAC1B,+CAA6B;AAC7B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,gDAA8B;AAC9B,yCAAuB;AACvB,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -13,7 +13,8 @@ export declare enum GenerationStepType {
|
|
|
13
13
|
TEXT_GENERATION = "text_generation",
|
|
14
14
|
IMAGE_GENERATION = "image_generation",
|
|
15
15
|
UPLOAD = "upload",
|
|
16
|
-
WEB_SEARCH = "web_search"
|
|
16
|
+
WEB_SEARCH = "web_search",
|
|
17
|
+
VIDEO_ANALYSIS = "video_analysis"
|
|
17
18
|
}
|
|
18
19
|
export declare const GenerationStepSchema: z.ZodObject<{
|
|
19
20
|
type: z.ZodEnum<typeof GenerationStepType>;
|
|
@@ -19,6 +19,7 @@ var GenerationStepType;
|
|
|
19
19
|
GenerationStepType["IMAGE_GENERATION"] = "image_generation";
|
|
20
20
|
GenerationStepType["UPLOAD"] = "upload";
|
|
21
21
|
GenerationStepType["WEB_SEARCH"] = "web_search";
|
|
22
|
+
GenerationStepType["VIDEO_ANALYSIS"] = "video_analysis";
|
|
22
23
|
})(GenerationStepType || (exports.GenerationStepType = GenerationStepType = {}));
|
|
23
24
|
exports.GenerationStepSchema = zod_1.z.object({
|
|
24
25
|
type: zod_1.z.nativeEnum(GenerationStepType),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generation-step.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/generation-step.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAKxB,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IACzB,wCAAmB,CAAA;IACnB,wCAAmB,CAAA;IACnB,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,4CAAuB,CAAA;AAC3B,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAKD,IAAY,
|
|
1
|
+
{"version":3,"file":"generation-step.schema.js","sourceRoot":"","sources":["../../../../v1/message/schemas/generation-step.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAKxB,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IACzB,wCAAmB,CAAA;IACnB,wCAAmB,CAAA;IACnB,4CAAuB,CAAA;IACvB,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,4CAAuB,CAAA;AAC3B,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAKD,IAAY,kBAeX;AAfD,WAAY,kBAAkB;IAE1B,6CAAuB,CAAA;IAEvB,6DAAuC,CAAA;IAEvC,yDAAmC,CAAA;IAEnC,2DAAqC,CAAA;IAErC,uCAAiB,CAAA;IAEjB,+CAAyB,CAAA;IAEzB,uDAAiC,CAAA;AACrC,CAAC,EAfW,kBAAkB,kCAAlB,kBAAkB,QAe7B;AAKY,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAEzC,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAEtC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IAEnB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAErC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEjC,gBAAgB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAE5C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEhC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.OPEN_GRAPH_ROUTES = exports.OPEN_GRAPH_UNREG_CONTROLLER = exports.OPEN_GRAPH_REG_CONTROLLER = void 0;
|
|
18
|
+
__exportStar(require("./queries"), exports);
|
|
19
|
+
__exportStar(require("./schemas"), exports);
|
|
20
|
+
var controllers_1 = require("../../controllers");
|
|
21
|
+
Object.defineProperty(exports, "OPEN_GRAPH_REG_CONTROLLER", { enumerable: true, get: function () { return controllers_1.OPEN_GRAPH_REG_CONTROLLER; } });
|
|
22
|
+
Object.defineProperty(exports, "OPEN_GRAPH_UNREG_CONTROLLER", { enumerable: true, get: function () { return controllers_1.OPEN_GRAPH_UNREG_CONTROLLER; } });
|
|
23
|
+
var routes_1 = require("../../routes");
|
|
24
|
+
Object.defineProperty(exports, "OPEN_GRAPH_ROUTES", { enumerable: true, get: function () { return routes_1.OPEN_GRAPH_ROUTES; } });
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/open-graph/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,iDAA2F;AAAlF,wHAAA,yBAAyB,OAAA;AAAE,0HAAA,2BAA2B,OAAA;AAC/D,uCAAiD;AAAxC,2GAAA,iBAAiB,OAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
+
export declare namespace GetOpenGraphPreviewRegQuery {
|
|
4
|
+
const Request: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
const Response: z.ZodObject<{
|
|
8
|
+
url: z.ZodString;
|
|
9
|
+
title: z.ZodNullable<z.ZodString>;
|
|
10
|
+
heading: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
const URL: "/api/v1/open-graph";
|
|
13
|
+
const METHOD = HttpMethod.GET;
|
|
14
|
+
type RequestType = z.infer<typeof Request>;
|
|
15
|
+
type ResponseType = z.infer<typeof Response>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetOpenGraphPreviewRegQuery = void 0;
|
|
4
|
+
const schemas_1 = require("../schemas");
|
|
5
|
+
const http_method_1 = require("../../../shared/http-method");
|
|
6
|
+
const rest_api_1 = require("../../../rest-api");
|
|
7
|
+
var GetOpenGraphPreviewRegQuery;
|
|
8
|
+
(function (GetOpenGraphPreviewRegQuery) {
|
|
9
|
+
GetOpenGraphPreviewRegQuery.Request = schemas_1.OpenGraphPreviewRequestSchema;
|
|
10
|
+
GetOpenGraphPreviewRegQuery.Response = schemas_1.OpenGraphPreviewResponseSchema;
|
|
11
|
+
GetOpenGraphPreviewRegQuery.URL = rest_api_1.REST_API.V1.OPEN_GRAPH.REG.PREVIEW;
|
|
12
|
+
GetOpenGraphPreviewRegQuery.METHOD = http_method_1.HttpMethod.GET;
|
|
13
|
+
})(GetOpenGraphPreviewRegQuery || (exports.GetOpenGraphPreviewRegQuery = GetOpenGraphPreviewRegQuery = {}));
|
|
14
|
+
//# sourceMappingURL=get-open-graph-preview-reg.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-open-graph-preview-reg.query.js","sourceRoot":"","sources":["../../../../v1/open-graph/queries/get-open-graph-preview-reg.query.ts"],"names":[],"mappings":";;;AACA,wCAA2F;AAC3F,6DAAyD;AACzD,gDAA6C;AAE7C,IAAiB,2BAA2B,CAQ3C;AARD,WAAiB,2BAA2B;IAC3B,mCAAO,GAAG,uCAA6B,CAAC;IACxC,oCAAQ,GAAG,wCAA8B,CAAC;IAC1C,+BAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC;IACzC,kCAAM,GAAG,wBAAU,CAAC,GAAG,CAAC;AAIzC,CAAC,EARgB,2BAA2B,2CAA3B,2BAA2B,QAQ3C"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../shared/http-method';
|
|
3
|
+
export declare namespace GetOpenGraphPreviewUnregQuery {
|
|
4
|
+
const Request: z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
const Response: z.ZodObject<{
|
|
8
|
+
url: z.ZodString;
|
|
9
|
+
title: z.ZodNullable<z.ZodString>;
|
|
10
|
+
heading: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
const URL: "/api/v1/unreg/open-graph";
|
|
13
|
+
const METHOD = HttpMethod.GET;
|
|
14
|
+
type RequestType = z.infer<typeof Request>;
|
|
15
|
+
type ResponseType = z.infer<typeof Response>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetOpenGraphPreviewUnregQuery = void 0;
|
|
4
|
+
const schemas_1 = require("../schemas");
|
|
5
|
+
const http_method_1 = require("../../../shared/http-method");
|
|
6
|
+
const rest_api_1 = require("../../../rest-api");
|
|
7
|
+
var GetOpenGraphPreviewUnregQuery;
|
|
8
|
+
(function (GetOpenGraphPreviewUnregQuery) {
|
|
9
|
+
GetOpenGraphPreviewUnregQuery.Request = schemas_1.OpenGraphPreviewRequestSchema;
|
|
10
|
+
GetOpenGraphPreviewUnregQuery.Response = schemas_1.OpenGraphPreviewResponseSchema;
|
|
11
|
+
GetOpenGraphPreviewUnregQuery.URL = rest_api_1.REST_API.V1.OPEN_GRAPH.UNREG.PREVIEW;
|
|
12
|
+
GetOpenGraphPreviewUnregQuery.METHOD = http_method_1.HttpMethod.GET;
|
|
13
|
+
})(GetOpenGraphPreviewUnregQuery || (exports.GetOpenGraphPreviewUnregQuery = GetOpenGraphPreviewUnregQuery = {}));
|
|
14
|
+
//# sourceMappingURL=get-open-graph-preview-unreg.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-open-graph-preview-unreg.query.js","sourceRoot":"","sources":["../../../../v1/open-graph/queries/get-open-graph-preview-unreg.query.ts"],"names":[],"mappings":";;;AACA,wCAA2F;AAC3F,6DAAyD;AACzD,gDAA6C;AAE7C,IAAiB,6BAA6B,CAQ7C;AARD,WAAiB,6BAA6B;IAC7B,qCAAO,GAAG,uCAA6B,CAAC;IACxC,sCAAQ,GAAG,wCAA8B,CAAC;IAC1C,iCAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC;IAC3C,oCAAM,GAAG,wBAAU,CAAC,GAAG,CAAC;AAIzC,CAAC,EARgB,6BAA6B,6CAA7B,6BAA6B,QAQ7C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-open-graph-preview-reg.query"), exports);
|
|
18
|
+
__exportStar(require("./get-open-graph-preview-unreg.query"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/open-graph/queries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,uEAAqD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./open-graph-preview-request.schema"), exports);
|
|
18
|
+
__exportStar(require("./open-graph-preview-response.schema"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/open-graph/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,uEAAqD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OpenGraphPreviewRequestSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.OpenGraphPreviewRequestSchema = zod_1.z.object({
|
|
6
|
+
url: zod_1.z.string().url({ message: 'OpenGraphPreviewRequest.url.invalid' }),
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=open-graph-preview-request.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-graph-preview-request.schema.js","sourceRoot":"","sources":["../../../../v1/open-graph/schemas/open-graph-preview-request.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAKX,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,qCAAqC,EAAE,CAAC;CAC1E,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const OpenGraphPreviewResponseSchema: z.ZodObject<{
|
|
3
|
+
url: z.ZodString;
|
|
4
|
+
title: z.ZodNullable<z.ZodString>;
|
|
5
|
+
heading: z.ZodNullable<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export type OpenGraphPreviewResponseDto = z.infer<typeof OpenGraphPreviewResponseSchema>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OpenGraphPreviewResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.OpenGraphPreviewResponseSchema = zod_1.z.object({
|
|
6
|
+
url: zod_1.z.string().url(),
|
|
7
|
+
title: zod_1.z.string().nullable(),
|
|
8
|
+
heading: zod_1.z.string().nullable(),
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=open-graph-preview-response.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-graph-preview-response.schema.js","sourceRoot":"","sources":["../../../../v1/open-graph/schemas/open-graph-preview-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAMX,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC"}
|