update projext

This commit is contained in:
2025-11-04 15:12:35 -03:00
parent 0b0ef528df
commit ede0e26dfc
11 changed files with 1841 additions and 33 deletions

View File

@@ -6,7 +6,7 @@
"build": "react-router build",
"cf-typegen": "wrangler types",
"deploy": "npm run build && wrangler deploy",
"dev": "react-router dev",
"dev": "react-router dev --port 5171",
"postinstall": "npm run cf-typegen",
"preview": "npm run build && vite preview",
"typecheck": "npm run cf-typegen && react-router typegen && tsc -b"

View File

@@ -1,5 +1,5 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: 1aadef19c576560a2c23acd0e7ab9b2e)
// Generated by Wrangler by running `wrangler types` (hash: ec908479f8a48e246d1d9e73b0ee6dac)
// Runtime types generated with workerd@1.20251011.0 2025-04-04
declare namespace Cloudflare {
interface GlobalProps {
@@ -7,14 +7,11 @@ declare namespace Cloudflare {
}
interface Env {
CLIENT_ID: "1db63660-063d-4280-b2ea-388aca4a9459";
REDIRECT_URI: "https://admin.saladeaula.digital/login";
SCOPE: "openid profile email offline_access apps:admin";
API_URL: "https://bcs7fgb9og.execute-api.sa-east-1.amazonaws.com";
ISSUER_URL: "https://id.saladeaula.digital";
MEILI_HOST: "https://search.saladeaula.digital";
CLIENT_SECRET: string;
REDIRECT_URI: string;
SESSION_SECRET: string;
MEILI_API_KEY: string;
}
}
interface Env extends Cloudflare.Env {}

View File

@@ -6,7 +6,7 @@
"build": "react-router build",
"cf-typegen": "wrangler types",
"deploy": "npm run build && wrangler deploy",
"dev": "react-router dev --port 5173",
"dev": "react-router dev --port 5172",
"postinstall": "npm run cf-typegen",
"preview": "npm run build && vite preview",
"typecheck": "npm run cf-typegen && react-router typegen && tsc --noEmit"

View File

@@ -1,12 +1,12 @@
{
"name": "insights-saladeaula-digital",
"name": "insights.saladeaula.digital",
"private": true,
"type": "module",
"scripts": {
"build": "react-router build",
"cf-typegen": "wrangler types",
"deploy": "npm run build && wrangler deploy",
"dev": "react-router dev --port 5172",
"dev": "react-router dev --port 5173",
"postinstall": "npm run cf-typegen",
"preview": "npm run build && vite preview",
"typecheck": "npm run cf-typegen && react-router typegen && tsc --noEmit"

View File

@@ -6,10 +6,10 @@
"build": "react-router build",
"cf-typegen": "wrangler types",
"deploy": "npm run build && wrangler deploy",
"dev": "react-router dev",
"dev": "react-router dev --port 5174",
"postinstall": "npm run cf-typegen",
"preview": "npm run build && vite preview",
"typecheck": "npm run cf-typegen && react-router typegen && tsc -b"
"typecheck": "npm run cf-typegen && react-router typegen && tsc --noEmit"
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",

View File

@@ -1,5 +1,5 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: a901705264ceb3e725e174d55b20e764)
// Generated by Wrangler by running `wrangler types` (hash: e18fc2110ce73cc9f6afb0de66f703db)
// Runtime types generated with workerd@1.20251011.0 2025-04-04 nodejs_compat
declare namespace Cloudflare {
interface GlobalProps {
@@ -7,16 +7,13 @@ declare namespace Cloudflare {
}
interface Env {
CLIENT_ID: "1a5483ab-4521-4702-9115-5857ac676851";
REDIRECT_URI: "https://scorm.eduseg.workers.dev/login";
SCOPE: "openid profile email offline_access";
API_URL: "https://bcs7fgb9og.execute-api.sa-east-1.amazonaws.com";
ISSUER_URL: "https://id.saladeaula.digital";
BUCKET_NAME: "saladeaula.digital";
BUCKET_ENDPOINT: "https://s3.sa-east-1.amazonaws.com";
MEILI_HOST: "https://search.saladeaula.digital";
CLIENT_SECRET: string;
REDIRECT_URI: string;
SESSION_SECRET: string;
MEILI_API_KEY: string;
}
}
interface Env extends Cloudflare.Env {}
@@ -24,7 +21,7 @@ type StringifyValues<EnvType extends Record<string, unknown>> = {
[Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string;
};
declare namespace NodeJS {
interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "CLIENT_ID" | "SCOPE" | "API_URL" | "ISSUER_URL" | "BUCKET_NAME" | "BUCKET_ENDPOINT" | "MEILI_HOST" | "CLIENT_SECRET" | "REDIRECT_URI" | "SESSION_SECRET" | "MEILI_API_KEY">> {}
interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "CLIENT_ID" | "REDIRECT_URI" | "SCOPE" | "API_URL" | "ISSUER_URL" | "BUCKET_NAME" | "BUCKET_ENDPOINT" | "MEILI_HOST">> {}
}
// Begin runtime types

View File

@@ -1,4 +1,4 @@
name = "scorm"
name = "saladeaula-digital"
compatibility_date = "2025-04-04"
compatibility_flags = [ "nodejs_compat" ]
main = "./workers/app.ts"

View File

@@ -6,10 +6,10 @@
"build": "react-router build",
"cf-typegen": "wrangler types",
"deploy": "npm run build && wrangler deploy",
"dev": "react-router dev",
"dev": "react-router dev --port 5175",
"postinstall": "npm run cf-typegen",
"preview": "npm run build && vite preview",
"typecheck": "npm run cf-typegen && react-router typegen && tsc -b"
"typecheck": "npm run cf-typegen && react-router typegen && tsc --noEmit"
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",

View File

@@ -1,5 +1,5 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: 94bfdc7e16675b26364c038a94ff21b3)
// Generated by Wrangler by running `wrangler types` (hash: 9130e11c7e4fa48b035ffe269cd5babc)
// Runtime types generated with workerd@1.20251011.0 2025-04-04
declare namespace Cloudflare {
interface GlobalProps {
@@ -7,14 +7,11 @@ declare namespace Cloudflare {
}
interface Env {
CLIENT_ID: "78a0819e-1f9b-4da1-b05f-40ec0eaed0c8";
REDIRECT_URI: "https://studio.saladeaula.digital/login";
SCOPE: "openid profile email offline_access apps:studio";
API_URL: "https://bcs7fgb9og.execute-api.sa-east-1.amazonaws.com";
ISSUER_URL: "https://id.saladeaula.digital";
MEILI_HOST: "https://search.saladeaula.digital";
CLIENT_SECRET: string;
REDIRECT_URI: string;
SESSION_SECRET: string;
MEILI_API_KEY: string;
}
}
interface Env extends Cloudflare.Env {}