Initial export from WebStudio.is
This commit is contained in:
78
app/__generated__/[events]._index.server.tsx
generated
Normal file
78
app/__generated__/[events]._index.server.tsx
generated
Normal file
@@ -0,0 +1,78 @@
|
||||
/* eslint-disable */
|
||||
/* This is a auto generated file for building the project */
|
||||
|
||||
|
||||
import type { PageMeta } from "@webstudio-is/sdk";
|
||||
import type { System, ResourceRequest } from "@webstudio-is/sdk";
|
||||
export const getResources = (_props: { system: System }) => {
|
||||
let nocodbUrl = "https://db.jamericanbar.com"
|
||||
let nocodbEventsId = "m9sedens109pyru"
|
||||
let nocodbEventsPastViewId = "vwzf6qcozmu9fpwq"
|
||||
let nocodbToken = "w12xFAvVnpckAU0KTJWaGV3oN1KS96tINZlzI26I"
|
||||
let nocodbEventsUpcomingViewId = "vw15o7vweo38aknc"
|
||||
const nodobPastEventsData_1: ResourceRequest = {
|
||||
name: "nodobPastEventsData",
|
||||
url: `${nocodbUrl}/api/v2/tables/${nocodbEventsId}/records`,
|
||||
searchParams: [
|
||||
{ name: "viewId", value: nocodbEventsPastViewId },
|
||||
{ name: "offset", value: "0" },
|
||||
{ name: "limit", value: "3" },
|
||||
],
|
||||
method: "get",
|
||||
headers: [
|
||||
{ name: "xc-token", value: nocodbToken },
|
||||
],
|
||||
}
|
||||
const nocodbUpcomingEventsData_1: ResourceRequest = {
|
||||
name: "nocodbUpcomingEventsData",
|
||||
url: `${nocodbUrl}/api/v2/tables/${nocodbEventsId}/records`,
|
||||
searchParams: [
|
||||
{ name: "viewId", value: nocodbEventsUpcomingViewId },
|
||||
{ name: "offset", value: "0" },
|
||||
{ name: "limit", value: "3" },
|
||||
],
|
||||
method: "get",
|
||||
headers: [
|
||||
{ name: "xc-token", value: nocodbToken },
|
||||
],
|
||||
}
|
||||
const _data = new Map<string, ResourceRequest>([
|
||||
["nodobPastEventsData_1", nodobPastEventsData_1],
|
||||
["nocodbUpcomingEventsData_1", nocodbUpcomingEventsData_1],
|
||||
])
|
||||
const _action = new Map<string, ResourceRequest>([
|
||||
])
|
||||
return { data: _data, action: _action }
|
||||
}
|
||||
|
||||
|
||||
export const getPageMeta = ({
|
||||
system,
|
||||
resources,
|
||||
}: {
|
||||
system: System;
|
||||
resources: Record<string, any>;
|
||||
}): PageMeta => {
|
||||
return {
|
||||
title: "Untitled",
|
||||
description: "",
|
||||
excludePageFromSearch: true,
|
||||
language: "",
|
||||
socialImageAssetName: undefined,
|
||||
socialImageUrl: "",
|
||||
status: undefined,
|
||||
redirect: "",
|
||||
custom: [
|
||||
],
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
type Params = Record<string, string | undefined>;
|
||||
export const getRemixParams = ({ ...params }: Params): Params => {
|
||||
return params
|
||||
}
|
||||
|
||||
|
||||
export const contactEmail = "sheckeem@gmail.com";
|
||||
|
||||
Reference in New Issue
Block a user