Files
headroom/frontend/node_modules/effect/dist/esm/Resource.js
Santhosh Janardhanan de2d83092e feat: Reinitialize frontend with SvelteKit and TypeScript
- Delete old Vite+Svelte frontend
- Initialize new SvelteKit project with TypeScript
- Configure Tailwind CSS v4 + DaisyUI
- Implement JWT authentication with auto-refresh
- Create login page with form validation (Zod)
- Add protected route guards
- Update Docker configuration for single-stage build
- Add E2E tests with Playwright (6/11 passing)
- Fix Svelte 5 reactivity with $state() runes

Known issues:
- 5 E2E tests failing (timing/async issues)
- Token refresh implementation needs debugging
- Validation error display timing
2026-02-17 16:19:59 -05:00

44 lines
1.3 KiB
JavaScript

import * as internal from "./internal/resource.js";
/**
* @since 2.0.0
* @category symbols
*/
export const ResourceTypeId = internal.ResourceTypeId;
/**
* Creates a new `Resource` value that is automatically refreshed according to
* the specified policy. Note that error retrying is not performed
* automatically, so if you want to retry on errors, you should first apply
* retry policies to the acquisition effect before passing it to this
* constructor.
*
* @since 2.0.0
* @category constructors
*/
export const auto = internal.auto;
/**
* Retrieves the current value stored in the cache.
*
* @since 2.0.0
* @category getters
*/
export const get = internal.get;
/**
* Creates a new `Resource` value that must be manually refreshed by calling
* the refresh method. Note that error retrying is not performed
* automatically, so if you want to retry on errors, you should first apply
* retry policies to the acquisition effect before passing it to this
* constructor.
*
* @since 2.0.0
* @category constructors
*/
export const manual = internal.manual;
/**
* Refreshes the cache. This method will not return until either the refresh
* is successful, or the refresh operation fails.
*
* @since 2.0.0
* @category utils
*/
export const refresh = internal.refresh;
//# sourceMappingURL=Resource.js.map