feat: enhance API and middleware functionality: add public API routes, implement program and course member checks, and improve rate limiting for invite acceptance. Update OpenAPI spec generation to focus on public API endpoints and add new middleware for automation key scopes. Include new documentation for lesson AI features and public API tests.

This commit is contained in:
Rotimi Best
2026-04-12 08:58:41 +01:00
parent 5a8f50f67b
commit d6e812d08b
573 changed files with 31964 additions and 8708 deletions
+63 -3
View File
@@ -1,6 +1,66 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
@import '@cio/ui/output.css';
@import '../../../packages/ui/src/custom/animation/marketing-layers.css';
@custom-variant dark (&:where(.dark, .dark *));
@source './**/*.{html,js,svelte,ts}';
@source '../../../packages/ui/src/custom/animation/**/*.svelte';
/* Theme tokens (colors, fonts, radii, motion) + 2xl breakpoint for layout (e.g. `max-w-(--breakpoint-2xl)`). */
@theme inline {
--breakpoint-2xl: 1400px;
--font-sans:
ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
--font-drawn:
Virgil, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Noto Color Emoji';
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--color-border: hsl(var(--border) / <alpha-value>);
--color-input: hsl(var(--input) / <alpha-value>);
--color-ring: hsl(var(--ring) / <alpha-value>);
--color-background: hsl(var(--background) / <alpha-value>);
--color-foreground: hsl(var(--foreground) / <alpha-value>);
--color-primary: hsl(var(--primary) / <alpha-value>);
--color-primary-foreground: hsl(var(--primary-foreground) / <alpha-value>);
--color-secondary: hsl(var(--secondary) / <alpha-value>);
--color-secondary-foreground: hsl(var(--secondary-foreground) / <alpha-value>);
--color-destructive: hsl(var(--destructive) / <alpha-value>);
--color-destructive-foreground: hsl(var(--destructive-foreground) / <alpha-value>);
--color-muted: hsl(var(--muted) / <alpha-value>);
--color-muted-foreground: hsl(var(--muted-foreground) / <alpha-value>);
--color-accent: hsl(var(--accent) / <alpha-value>);
--color-accent-foreground: hsl(var(--accent-foreground) / <alpha-value>);
--color-popover: hsl(var(--popover) / <alpha-value>);
--color-popover-foreground: hsl(var(--popover-foreground) / <alpha-value>);
--color-card: hsl(var(--card) / <alpha-value>);
--color-card-foreground: hsl(var(--card-foreground) / <alpha-value>);
--animate-border-beam: border-beam calc(var(--duration) * 1s) infinite linear;
--animate-meteor: meteor 5s linear infinite;
--animate-shimmer: shimmer 8s infinite;
--animate-spin-around: spin-around calc(var(--speed) * 2) infinite linear;
--animate-magicslide: magicslide var(--speed) ease-in-out infinite alternate;
}
/* Used by ShinnyText (`animate-shimmer`); marketing-layers uses `shimmer-marketing` for other UIs. */
@keyframes shimmer {
0%,
90%,
100% {
background-position: calc(-100% - var(--shimmer-width)) 0;
}
30%,
60% {
background-position: calc(100% + var(--shimmer-width)) 0;
}
}
@font-face {
font-family: 'Virgil';