/* 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: 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([ ["nocodbOfficerData", nocodbOfficerData], ["nocodbPracticeData", nocodbPracticeData], ]) const _action = new Map([ ]) return { data: _data, action: _action } } export const getPageMeta = ({ system, resources, }: { system: System; resources: Record; }): PageMeta => { return { title: "Contact | Jamaican-American Bar Association", description: "Reach out to us at the Jamaican-American Bar Association. We aim to assist attorneys, law students and the general public.", excludePageFromSearch: true, language: "", socialImageAssetName: undefined, socialImageUrl: "", status: undefined, redirect: "", custom: [ ], }; }; type Params = Record; export const getRemixParams = ({ ...params }: Params): Params => { return params } export const contactEmail = "jabaflorida@gmail.com";