Skip to content

Commit

Permalink
Project update. [p][robotic]
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswrks committed Feb 25, 2024
1 parent a3a6a36 commit f231512
Show file tree
Hide file tree
Showing 13 changed files with 147 additions and 139 deletions.
2 changes: 1 addition & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Feb 24, 2024 6:53 PM UTC.
# Last generated Feb 25, 2024 5:59 AM UTC.

[production]
node >= 20.9.0
Expand Down
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Feb 24, 2024 6:53 PM UTC.
# Last generated Feb 25, 2024 5:59 AM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Feb 24, 2024 6:53 PM UTC.
# Last generated Feb 25, 2024 5:59 AM UTC.

# Default

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Feb 24, 2024 6:53 PM UTC.
# Last generated Feb 25, 2024 5:59 AM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Generated data.
# <generated:start>

# Last generated Feb 24, 2024 6:53 PM UTC.
# Last generated Feb 25, 2024 5:59 AM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Feb 24, 2024 6:53 PM UTC.
# Last generated Feb 25, 2024 5:59 AM UTC.

# Packages

Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @note This entire file will be updated automatically.
* @note Instead of editing here, please review `./settings.mjs`.
*
* Last generated using `./settings.mjs` Feb 24, 2024 6:53 PM UTC.
* Last generated using `./settings.mjs` Feb 25, 2024 5:59 AM UTC.
*/
{
"editor.formatOnType": false,
Expand Down
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Feb 24, 2024 6:53 PM UTC.
# Last generated Feb 25, 2024 5:59 AM UTC.

# Locals

Expand Down
81 changes: 49 additions & 32 deletions dev-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,62 @@
*/

/**
* Declares Vite global app constants.
* Declares global scope.
*/
declare const $$__APP_PKG_NAME__$$: string;
declare const $$__APP_PKG_VERSION__$$: string;
declare namespace globalThis {
/**
* Imports utility types.
*/
import { $type } from '@clevercanyon/utilities';

declare const $$__APP_BUILD_TIME_YMD__$$: string;
declare const $$__APP_BUILD_TIME_SQL__$$: string;
declare const $$__APP_BUILD_TIME_ISO__$$: string;
declare const $$__APP_BUILD_TIME_STAMP__$$: string;
/**
* Declares Vite global app constants.
*/
const $$__APP_PKG_NAME__$$: string;
const $$__APP_PKG_VERSION__$$: string;

declare const $$__APP_BASE_URL__$$: string;
declare const $$__APP_BASE_URL_RESOLVED_NTS__$$: string;
const $$__APP_BUILD_TIME_YMD__$$: string;
const $$__APP_BUILD_TIME_SQL__$$: string;
const $$__APP_BUILD_TIME_ISO__$$: string;
const $$__APP_BUILD_TIME_STAMP__$$: string;

/**
* Declares prefresh API in Vite plugin.
*/
declare var __PREFRESH__: object;
const $$__APP_BASE_URL__$$: string;
const $$__APP_BASE_URL_RESOLVED_NTS__$$: string;

/**
* Declares PWA install event, which we implement for SPAs.
*/
declare var pwaInstallEvent: Event & { prompt: () => void };
/**
* Declares prefresh API in Vite plugin.
*/
const __PREFRESH__: object;

/**
* Declares PWA install event, which we implement for SPAs.
*/
let pwaInstallEvent: Event & { prompt: () => void };

/**
* Defines missing `entries()` on FormData.
*/
interface FormData {
entries(): IterableIterator<[key: string, value: string | Blob]>;
}

/**
* Defines missing `entries()` on Headers.
*/
interface Headers {
entries(): IterableIterator<[key: string, value: string]>;
}

/**
* Defines a typed cause on native error interface.
*/
interface Error {
cause?: $type.ErrorCause;
}
}

/**
* Declares virtual brand config file.
* Declares virtual brand config module.
*/
declare module 'virtual:brand/config' {
import { $type } from '@clevercanyon/utilities';
Expand All @@ -48,20 +79,6 @@ declare module 'cloudflare:sockets' {
export function connect(address: string | $type.cfw.SocketAddress, options?: $type.cfw.SocketOptions): $type.cfw.Socket;
}

/**
* Defines missing `entries()` on FormData.
*/
interface FormData {
entries(): IterableIterator<[key: string, value: string | Blob]>;
}

/**
* Defines missing `entries()` on Headers.
*/
interface Headers {
entries(): IterableIterator<[key: string, value: string]>;
}

/*
* Customizations.
*
Expand Down
Loading

0 comments on commit f231512

Please sign in to comment.