Compare commits
3 Commits
v3.0.0-dev
...
v3.0.0-dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 50c2e5f427 | |||
| eb8bee65d9 | |||
| fc4c8745a6 |
@@ -1,5 +1,5 @@
|
|||||||
export { OwlBoardClient } from './lib/client.js';
|
export { OwlBoardClient } from './lib/client.js';
|
||||||
export { ValidationError, ApiError } from './lib/errors.js';
|
export { ValidationError, ApiError, type ApiErrorCode } from './lib/errors.js';
|
||||||
|
|
||||||
// Re-export API Schema types
|
// Re-export API Schema types
|
||||||
export type * from '@owlboard/api-schema-types'
|
export type * from '@owlboard/api-schema-types'
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ export const IsValidDateStr = (s: string): boolean => {
|
|||||||
for (let i = 0; i < 10; i++) {
|
for (let i = 0; i < 10; i++) {
|
||||||
if (i === 4 || i === 7) continue;
|
if (i === 4 || i === 7) continue;
|
||||||
const c = s.charCodeAt(i);
|
const c = s.charCodeAt(i);
|
||||||
if (!isDigit(i)) return false;
|
if (!isDigit(c)) return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const y = parseInt(s.substring(0, 4), 10);
|
const y = parseInt(s.substring(0, 4), 10);
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
|
|
||||||
// Environment Settings
|
// Environment Settings
|
||||||
// See also https://aka.ms/tsconfig/module
|
// See also https://aka.ms/tsconfig/module
|
||||||
"module": "esnext",
|
"module": "nodenext",
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "nodenext",
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"types": [],
|
"types": [],
|
||||||
// For nodejs:
|
// For nodejs:
|
||||||
|
|||||||
Reference in New Issue
Block a user