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 { ValidationError, ApiError } from './lib/errors.js';
|
||||
export { ValidationError, ApiError, type ApiErrorCode } from './lib/errors.js';
|
||||
|
||||
// Re-export 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++) {
|
||||
if (i === 4 || i === 7) continue;
|
||||
const c = s.charCodeAt(i);
|
||||
if (!isDigit(i)) return false;
|
||||
if (!isDigit(c)) return false;
|
||||
}
|
||||
|
||||
const y = parseInt(s.substring(0, 4), 10);
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
|
||||
// Environment Settings
|
||||
// See also https://aka.ms/tsconfig/module
|
||||
"module": "esnext",
|
||||
"module": "nodenext",
|
||||
"target": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"moduleResolution": "nodenext",
|
||||
"baseUrl": ".",
|
||||
"types": [],
|
||||
// For nodejs:
|
||||
|
||||
Reference in New Issue
Block a user