Initial export from WebStudio.is

This commit is contained in:
deterge
2025-10-08 18:18:41 -04:00
parent bb56cf1878
commit 903e016eec
54 changed files with 90905 additions and 0 deletions

View File

@@ -0,0 +1,82 @@
/* 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 nocodbPeopleTableId = "mn7h3guzxy96uar"
const system = _props.system
let itemsPerPage = 1000
let nocodbOfficerViewId = "vwfczgm0fa5lnkhn"
let nocodbToken = "w12xFAvVnpckAU0KTJWaGV3oN1KS96tINZlzI26I"
let nocodbPracticeTableId = "mguumu4w1pvajkj"
let nocodbPracticeViewId = "vwpa6c74wqj2n97h"
const nocodbOfficerData_1: ResourceRequest = {
name: "nocodbOfficerData",
url: `${nocodbUrl}/api/v2/tables/${nocodbPeopleTableId}/records?offset=${((+system?.search?.page || 1) - 1) * itemsPerPage}&limit=${itemsPerPage}`,
searchParams: [
{ name: "offset", value: "0" },
{ name: "viewId", value: nocodbOfficerViewId },
],
method: "get",
headers: [
{ name: "Cache-Control", value: "max-age=3600" },
{ name: "xc-token", value: nocodbToken },
],
}
const nocodbPracticeData: ResourceRequest = {
name: "nocodbPracticeData",
url: `https://nocodb.jaba.sheckeem.com/api/v2/tables/${nocodbPracticeTableId}/records`,
searchParams: [
{ name: "limit", value: "1000" },
{ name: "viewId", value: nocodbPracticeViewId },
{ name: "sort", value: "Practice" },
],
method: "get",
headers: [
{ name: "Cache-Control", value: "max-age=3600" },
{ name: "xc-token", value: nocodbToken },
],
}
const _data = new Map<string, ResourceRequest>([
["nocodbOfficerData_1", nocodbOfficerData_1],
["nocodbPracticeData", nocodbPracticeData],
])
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";