Open labi1240 opened 7 months ago
It looks like an issue has occurred around fetching the files. Perhaps the repo failed to initialized. If this error persists contact team@sweep.dev.
@labi1240, editing this issue description to include more details will automatically make me relaunch. Please join our Discord server for support (tracking_id=a58a9b5ef3)
For bonus GPT-4 tickets, please report this bug on Discord (tracking ID: a58a9b5ef3
).
💡 To recreate the pull request edit the issue title or description.
This is an automated message generated by Sweep AI.
It looks like an issue has occurred around fetching the files. Perhaps the repo failed to initialized. If this error persists contact team@sweep.dev.
@labi1240, editing this issue description to include more details will automatically make me relaunch. Please join our Discord server for support (tracking_id=6cea319f74)
For bonus GPT-4 tickets, please report this bug on Discord (tracking ID: 6cea319f74
).
💡 To recreate the pull request edit the issue title or description.
This is an automated message generated by Sweep AI.
I am using the nextjs app router project with prisma and supabase and KINDE
This is the Sample of File #data.json data.json projectsData.json this is another file which is huge have alot of data here is the zod schema which i created with quicktype for this json file i dont know its correct way or not but maybe this can help
// Postman Echo is service you can use to test your REST clients and make sample API calls. // It provides endpoints for
GET
,POST
,PUT
, various auth mechanisms and other utility // endpoints. // // The documentation for the endpoints as well as example responses can be found at // https://postman-echo.comimport * as z from "zod";
export const RequestElementSchema = z.object({ "id": z.string(), "name": z.string(), "collectionId": z.string(), "method": z.string(), "headers": z.string(), "data": z.array(z.any()), "rawModeData": z.string(), "tests": z.union([z.null(), z.string()]).optional(), "preRequestScript": z.union([z.null(), z.string()]).optional(), "url": z.string(), "dataMode": z.union([z.null(), z.string()]).optional(), }); export type RequestElement = z.infer;
export const TransformCollectionFromFormatV2ToV1Schema = z.object({ "id": z.string(), "name": z.string(), "description": z.string(), "order": z.array(z.string()), "folders": z.array(z.any()), "requests": z.array(RequestElementSchema), }); export type TransformCollectionFromFormatV2ToV1 = z.infer;
export const HeaderSchema = z.object({ "key": z.string(), "value": z.string(), "description": z.string(), }); export type Header = z.infer;
export const BodySchema = z.object({ "mode": z.string(), "raw": z.string(), }); export type Body = z.infer;
export const ItemRequestSchema = z.object({ "url": z.string(), "method": z.string(), "header": z.array(HeaderSchema), "body": BodySchema, }); export type ItemRequest = z.infer;
export const ScriptSchema = z.object({ "type": z.string(), "exec": z.array(z.string()), }); export type Script = z.infer;
export const EventSchema = z.object({ "listen": z.string(), "script": ScriptSchema, }); export type Event = z.infer;
export const ItemSchema = z.object({ "name": z.string(), "event": z.union([z.array(EventSchema), z.null()]).optional(), "request": ItemRequestSchema, "response": z.array(z.any()), }); export type Item = z.infer;
export const InfoSchema = z.object({ "name": z.string(), "_postman_id": z.string(), "description": z.string(), "schema": z.string(), }); export type Info = z.infer;
export const TransformCollectionFromFormatV1ToV2Schema = z.object({ "variables": z.array(z.any()), "info": InfoSchema, "item": z.array(ItemSchema), }); export type TransformCollectionFromFormatV1ToV2 = z.infer;
export const TimestampValiditySchema = z.object({ "valid": z.boolean(), }); export type TimestampValidity = z.infer;
export const DelayResponseSchema = z.object({ "delay": z.string(), }); export type DelayResponse = z.infer;
export const ResponseStatusCodeSchema = z.object({ "status": z.number(), }); export type ResponseStatusCode = z.infer;
export const ResponseHeadersSchema = z.object({ "Content-Type": z.string(), "test": z.string(), }); export type ResponseHeaders = z.infer;
export const HeadersSchema = z.object({ "host": z.string(), "accept": z.string(), "accept-encoding": z.string(), "accept-language": z.string(), "cache-control": z.string(), "my-sample-header": z.string(), "postman-token": z.string(), "user-agent": z.string(), "x-forwarded-port": z.string(), "x-forwarded-proto": z.string(), }); export type Headers = z.infer;
export const RequestHeadersSchema = z.object({ "headers": HeadersSchema, }); export type RequestHeaders = z.infer;
export const DeleteCookiesSchema = z.object({ "cookies": GetCookiesCookiesSchema, }); export type DeleteCookies = z.infer;
export const GetCookiesCookiesSchema = z.object({ "foo2": z.string(), }); export type GetCookiesCookies = z.infer;
export const GetCookiesSchema = z.object({ "cookies": GetCookiesCookiesSchema, }); export type GetCookies = z.infer;
export const SetCookiesCookiesSchema = z.object({ "foo1": z.string(), "foo2": z.string(), }); export type SetCookiesCookies = z.infer;
export const SetCookiesSchema = z.object({ "cookies": SetCookiesCookiesSchema, }); export type SetCookies = z.infer;
export const HawkAuthSchema = z.object({ "status": z.string(), "message": z.string(), }); export type HawkAuth = z.infer;
export const OAuth10VerifySignatureSchema = z.object({ "status": z.string(), "message": z.string(), "base_uri": z.union([z.null(), z.string()]).optional(), "normalized_param_string": z.union([z.null(), z.string()]).optional(), "base_string": z.union([z.null(), z.string()]).optional(), "signing_key": z.union([z.null(), z.string()]).optional(), }); export type OAuth10VerifySignature = z.infer;
export const BasicAuthSchema = z.object({ "authenticated": z.boolean(), }); export type BasicAuth = z.infer;
export const DigestAuthSuccessSchema = z.object({ "authenticated": z.boolean(), }); export type DigestAuthSuccess = z.infer;