mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-26 23:21:41 +01:00
chore: remove .netlify dir
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -8,3 +8,4 @@ coverage
|
||||
.pnpm-debug.log
|
||||
.vscode
|
||||
coverage.out
|
||||
.netlify
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
module.exports = require("./src/docs/functions/hub.js");
|
||||
@@ -1,40 +0,0 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if ((from && typeof from === "object") || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, {
|
||||
get: () => from[key],
|
||||
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable,
|
||||
});
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
|
||||
// docs/functions/hub.ts
|
||||
var hub_exports = {};
|
||||
__export(hub_exports, {
|
||||
handler: () => handler,
|
||||
});
|
||||
module.exports = __toCommonJS(hub_exports);
|
||||
var handler = async (event, context) => {
|
||||
const response = await fetch("https://hub.docker.com/v2/repositories/amir20/dozzle");
|
||||
const data = await response.json();
|
||||
return {
|
||||
statusCode: 200,
|
||||
body: JSON.stringify(data),
|
||||
};
|
||||
};
|
||||
// Annotate the CommonJS export names for ESM import in node:
|
||||
0 &&
|
||||
(module.exports = {
|
||||
handler,
|
||||
});
|
||||
//# sourceMappingURL=hub.js.map
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../../../Users/amirraminfar/Workspace/dozzle/docs/functions/hub.ts"],
|
||||
"sourceRoot": "/var/folders/cy/3q44l5qx3xdbplx0yrjhv9ph00m20d/T/tmp-77248-u0S6P6W9k4tc",
|
||||
"sourcesContent": ["import { Handler, HandlerEvent, HandlerContext } from \"@netlify/functions\";\n\nconst handler: Handler = async (event: HandlerEvent, context: HandlerContext) => {\n const response = await fetch(\"https://hub.docker.com/v2/repositories/amir20/dozzle\");\n const data = await response.json();\n\n return {\n statusCode: 200,\n body: JSON.stringify(data),\n };\n};\n\nexport { handler };\n"],
|
||||
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,IAAM,UAAmB,OAAO,OAAqB,YAA4B;AAC/E,QAAM,WAAW,MAAM,MAAM,sDAAsD;AACnF,QAAM,OAAO,MAAM,SAAS,KAAK;AAEjC,SAAO;AAAA,IACL,YAAY;AAAA,IACZ,MAAM,KAAK,UAAU,IAAI;AAAA,EAC3B;AACF;",
|
||||
"names": []
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if ((from && typeof from === "object") || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, {
|
||||
get: () => from[key],
|
||||
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable,
|
||||
});
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
|
||||
// docs/functions/test.ts
|
||||
var test_exports = {};
|
||||
__export(test_exports, {
|
||||
handler: () => handler,
|
||||
});
|
||||
module.exports = __toCommonJS(test_exports);
|
||||
var handler = async (event, context) => {
|
||||
const response = await fetch("https://hub.docker.com/v2/repositories/amir20/dozzle");
|
||||
const data = await response.json();
|
||||
return {
|
||||
statusCode: 200,
|
||||
body: JSON.stringify(data),
|
||||
};
|
||||
};
|
||||
// Annotate the CommonJS export names for ESM import in node:
|
||||
0 &&
|
||||
(module.exports = {
|
||||
handler,
|
||||
});
|
||||
//# sourceMappingURL=test.js.map
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../../../Users/amirraminfar/Workspace/dozzle/docs/functions/test.ts"],
|
||||
"sourceRoot": "/var/folders/cy/3q44l5qx3xdbplx0yrjhv9ph00m20d/T/tmp-77248-OXAFZrtCXXBc",
|
||||
"sourcesContent": ["import { Handler, HandlerEvent, HandlerContext } from \"@netlify/functions\";\n\nconst handler: Handler = async (event: HandlerEvent, context: HandlerContext) => {\n const response = await fetch(\"https://hub.docker.com/v2/repositories/amir20/dozzle\");\n const data = await response.json();\n\n return {\n statusCode: 200,\n body: JSON.stringify(data),\n };\n};\n\nexport { handler };\n"],
|
||||
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,IAAM,UAAmB,OAAO,OAAqB,YAA4B;AAC/E,QAAM,WAAW,MAAM,MAAM,sDAAsD;AACnF,QAAM,OAAO,MAAM,SAAS,KAAK;AAEjC,SAAO;AAAA,IACL,YAAY;AAAA,IACZ,MAAM,KAAK,UAAU,IAAI;AAAA,EAC3B;AACF;",
|
||||
"names": []
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
module.exports = require("./src/docs/functions/test.js");
|
||||
Reference in New Issue
Block a user