@baasix/baasix 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/README.md +8 -8
- package/dist/app/404/index.html +1 -1
- package/dist/app/404.html +1 -1
- package/dist/app/activity-log/all-activity/index.html +1 -1
- package/dist/app/activity-log/all-activity/index.txt +1 -1
- package/dist/app/activity-log/email-log/index.html +1 -1
- package/dist/app/activity-log/email-log/index.txt +1 -1
- package/dist/app/activity-log/index.html +1 -1
- package/dist/app/activity-log/index.txt +1 -1
- package/dist/app/activity-log/notifications/index.html +1 -1
- package/dist/app/activity-log/notifications/index.txt +1 -1
- package/dist/app/activity-log/sessions/index.html +1 -1
- package/dist/app/activity-log/sessions/index.txt +1 -1
- package/dist/app/activity-log/workflow-executions/index.html +1 -1
- package/dist/app/activity-log/workflow-executions/index.txt +1 -1
- package/dist/app/activity-log/workflow-logs/index.html +1 -1
- package/dist/app/activity-log/workflow-logs/index.txt +1 -1
- package/dist/app/change-password/index.html +1 -1
- package/dist/app/change-password/index.txt +1 -1
- package/dist/app/dashboard/index.html +1 -1
- package/dist/app/dashboard/index.txt +1 -1
- package/dist/app/data-browser/index.html +1 -1
- package/dist/app/data-browser/index.txt +1 -1
- package/dist/app/file-manager/index.html +1 -1
- package/dist/app/file-manager/index.txt +1 -1
- package/dist/app/forgot-password/index.html +1 -1
- package/dist/app/forgot-password/index.txt +1 -1
- package/dist/app/index.html +1 -1
- package/dist/app/index.txt +1 -1
- package/dist/app/login/index.html +1 -1
- package/dist/app/login/index.txt +1 -1
- package/dist/app/register/index.html +1 -1
- package/dist/app/register/index.txt +1 -1
- package/dist/app/settings/migrations/index.html +1 -1
- package/dist/app/settings/migrations/index.txt +1 -1
- package/dist/app/settings/permissions/index.html +1 -1
- package/dist/app/settings/permissions/index.txt +1 -1
- package/dist/app/settings/project/index.html +1 -1
- package/dist/app/settings/project/index.txt +1 -1
- package/dist/app/settings/roles/index.html +1 -1
- package/dist/app/settings/roles/index.txt +1 -1
- package/dist/app/settings/schema/index.html +1 -1
- package/dist/app/settings/schema/index.txt +1 -1
- package/dist/app/settings/tasks/index.html +1 -1
- package/dist/app/settings/tasks/index.txt +1 -1
- package/dist/app/settings/templates/edit/index.html +1 -1
- package/dist/app/settings/templates/edit/index.txt +1 -1
- package/dist/app/settings/templates/index.html +1 -1
- package/dist/app/settings/templates/index.txt +1 -1
- package/dist/app/settings/tenants/index.html +1 -1
- package/dist/app/settings/tenants/index.txt +1 -1
- package/dist/app/users/index.html +1 -1
- package/dist/app/users/index.txt +1 -1
- package/dist/app/users/invites/index.html +1 -1
- package/dist/app/users/invites/index.txt +1 -1
- package/dist/app/users/list/index.html +1 -1
- package/dist/app/users/list/index.txt +1 -1
- package/dist/app/users/preferences/index.html +1 -1
- package/dist/app/users/preferences/index.txt +1 -1
- package/dist/app/users/user-roles/index.html +1 -1
- package/dist/app/users/user-roles/index.txt +1 -1
- package/dist/app/workflows/detail/index.html +1 -1
- package/dist/app/workflows/detail/index.txt +1 -1
- package/dist/app/workflows/edit/index.html +1 -1
- package/dist/app/workflows/edit/index.txt +1 -1
- package/dist/app/workflows/execution/index.html +1 -1
- package/dist/app/workflows/execution/index.txt +1 -1
- package/dist/app/workflows/index.html +1 -1
- package/dist/app/workflows/index.txt +1 -1
- package/dist/auth/routes.d.ts +1 -1
- package/dist/auth/routes.d.ts.map +1 -1
- package/dist/routes/auth.route.d.ts +1 -1
- package/dist/routes/auth.route.d.ts.map +1 -1
- package/dist/routes/file.route.d.ts +1 -1
- package/dist/routes/file.route.d.ts.map +1 -1
- package/dist/routes/items.route.d.ts +1 -1
- package/dist/routes/items.route.d.ts.map +1 -1
- package/dist/routes/mcp.route.d.ts +1 -1
- package/dist/routes/mcp.route.d.ts.map +1 -1
- package/dist/routes/migration.route.d.ts +1 -1
- package/dist/routes/migration.route.d.ts.map +1 -1
- package/dist/routes/notification.route.d.ts +1 -1
- package/dist/routes/notification.route.d.ts.map +1 -1
- package/dist/routes/openapi.route.d.ts +1 -1
- package/dist/routes/openapi.route.d.ts.map +1 -1
- package/dist/routes/permission.route.d.ts +1 -1
- package/dist/routes/permission.route.d.ts.map +1 -1
- package/dist/routes/realtime.route.d.ts +1 -1
- package/dist/routes/realtime.route.d.ts.map +1 -1
- package/dist/routes/reports.route.d.ts +1 -1
- package/dist/routes/reports.route.d.ts.map +1 -1
- package/dist/routes/schema.route.d.ts +1 -1
- package/dist/routes/schema.route.d.ts.map +1 -1
- package/dist/routes/settings.route.d.ts +1 -1
- package/dist/routes/settings.route.d.ts.map +1 -1
- package/dist/routes/templates.route.d.ts +1 -1
- package/dist/routes/templates.route.d.ts.map +1 -1
- package/dist/routes/utils.route.d.ts +1 -1
- package/dist/routes/utils.route.d.ts.map +1 -1
- package/dist/routes/workflow.route.d.ts +1 -1
- package/dist/routes/workflow.route.d.ts.map +1 -1
- package/dist/services/PluginManager.d.ts +3 -4
- package/dist/services/PluginManager.d.ts.map +1 -1
- package/dist/services/PluginManager.js.map +1 -1
- package/dist/services/TasksService.d.ts +2 -2
- package/dist/services/TasksService.d.ts.map +1 -1
- package/dist/types/drizzle.d.ts +22 -0
- package/dist/types/drizzle.d.ts.map +1 -0
- package/dist/types/drizzle.js +6 -0
- package/dist/types/drizzle.js.map +1 -0
- package/dist/types/external.d.ts +69 -0
- package/dist/types/external.d.ts.map +1 -0
- package/dist/types/external.js +6 -0
- package/dist/types/external.js.map +1 -0
- package/dist/types/files.d.ts +2 -2
- package/dist/types/index.d.ts +28 -23
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +22 -50
- package/dist/types/index.js.map +1 -1
- package/dist/types/internal.d.ts +57 -0
- package/dist/types/internal.d.ts.map +1 -0
- package/dist/types/internal.js +6 -0
- package/dist/types/internal.js.map +1 -0
- package/dist/types/plugin.d.ts +6 -344
- package/dist/types/plugin.d.ts.map +1 -1
- package/dist/types/plugin.js +2 -2
- package/dist/types/query.d.ts +5 -30
- package/dist/types/query.d.ts.map +1 -1
- package/dist/types/query.js +3 -1
- package/dist/types/query.js.map +1 -1
- package/dist/types/relations.d.ts +1 -1
- package/dist/types/relations.d.ts.map +1 -1
- package/dist/types/services.d.ts +13 -29
- package/dist/types/services.d.ts.map +1 -1
- package/dist/types/services.js +1 -0
- package/dist/types/services.js.map +1 -1
- package/dist/utils/db.d.ts +1 -1
- package/dist/utils/fieldUtils.d.ts +2 -2
- package/dist/utils/fieldUtils.d.ts.map +1 -1
- package/dist/utils/router.d.ts +1 -1
- package/dist/utils/router.d.ts.map +1 -1
- package/dist/utils/schemaManager.d.ts +27 -3
- package/dist/utils/schemaManager.d.ts.map +1 -1
- package/dist/utils/schemaManager.js +1 -0
- package/dist/utils/schemaManager.js.map +1 -1
- package/dist/utils/sortUtils.d.ts +1 -1
- package/dist/utils/sortUtils.d.ts.map +1 -1
- package/dist/utils/typeMapper.d.ts +2 -1
- package/dist/utils/typeMapper.d.ts.map +1 -1
- package/dist/utils/typeMapper.js.map +1 -1
- package/package.json +2 -1
- package/dist/types/aggregation.d.ts +0 -40
- package/dist/types/aggregation.d.ts.map +0 -1
- package/dist/types/aggregation.js +0 -6
- package/dist/types/aggregation.js.map +0 -1
- package/dist/types/assets.d.ts +0 -32
- package/dist/types/assets.d.ts.map +0 -1
- package/dist/types/assets.js +0 -6
- package/dist/types/assets.js.map +0 -1
- package/dist/types/auth.d.ts +0 -50
- package/dist/types/auth.d.ts.map +0 -1
- package/dist/types/auth.js +0 -6
- package/dist/types/auth.js.map +0 -1
- package/dist/types/cache.d.ts +0 -47
- package/dist/types/cache.d.ts.map +0 -1
- package/dist/types/cache.js +0 -6
- package/dist/types/cache.js.map +0 -1
- package/dist/types/database.d.ts +0 -16
- package/dist/types/database.d.ts.map +0 -1
- package/dist/types/database.js +0 -6
- package/dist/types/database.js.map +0 -1
- package/dist/types/fields.d.ts +0 -71
- package/dist/types/fields.d.ts.map +0 -1
- package/dist/types/fields.js +0 -6
- package/dist/types/fields.js.map +0 -1
- package/dist/types/import-export.d.ts +0 -62
- package/dist/types/import-export.d.ts.map +0 -1
- package/dist/types/import-export.js +0 -6
- package/dist/types/import-export.js.map +0 -1
- package/dist/types/mail.d.ts +0 -34
- package/dist/types/mail.d.ts.map +0 -1
- package/dist/types/mail.js +0 -6
- package/dist/types/mail.js.map +0 -1
- package/dist/types/notifications.d.ts +0 -16
- package/dist/types/notifications.d.ts.map +0 -1
- package/dist/types/notifications.js +0 -6
- package/dist/types/notifications.js.map +0 -1
- package/dist/types/reports.d.ts +0 -17
- package/dist/types/reports.d.ts.map +0 -1
- package/dist/types/reports.js +0 -6
- package/dist/types/reports.js.map +0 -1
- package/dist/types/schema.d.ts +0 -26
- package/dist/types/schema.d.ts.map +0 -1
- package/dist/types/schema.js +0 -6
- package/dist/types/schema.js.map +0 -1
- package/dist/types/seed.d.ts +0 -27
- package/dist/types/seed.d.ts.map +0 -1
- package/dist/types/seed.js +0 -6
- package/dist/types/seed.js.map +0 -1
- package/dist/types/settings.d.ts +0 -36
- package/dist/types/settings.d.ts.map +0 -1
- package/dist/types/settings.js +0 -6
- package/dist/types/settings.js.map +0 -1
- package/dist/types/sockets.d.ts +0 -26
- package/dist/types/sockets.d.ts.map +0 -1
- package/dist/types/sockets.js +0 -6
- package/dist/types/sockets.js.map +0 -1
- package/dist/types/sort.d.ts +0 -25
- package/dist/types/sort.d.ts.map +0 -1
- package/dist/types/sort.js +0 -6
- package/dist/types/sort.js.map +0 -1
- package/dist/types/spatial.d.ts +0 -19
- package/dist/types/spatial.d.ts.map +0 -1
- package/dist/types/spatial.js +0 -6
- package/dist/types/spatial.js.map +0 -1
- package/dist/types/stats.d.ts +0 -21
- package/dist/types/stats.d.ts.map +0 -1
- package/dist/types/stats.js +0 -6
- package/dist/types/stats.js.map +0 -1
- package/dist/types/storage.d.ts +0 -19
- package/dist/types/storage.d.ts.map +0 -1
- package/dist/types/storage.js +0 -6
- package/dist/types/storage.js.map +0 -1
- package/dist/types/tasks.d.ts +0 -14
- package/dist/types/tasks.d.ts.map +0 -1
- package/dist/types/tasks.js +0 -6
- package/dist/types/tasks.js.map +0 -1
- package/dist/types/utils.d.ts +0 -54
- package/dist/types/utils.d.ts.map +0 -1
- package/dist/types/utils.js +0 -6
- package/dist/types/utils.js.map +0 -1
- package/dist/types/workflow.d.ts +0 -17
- package/dist/types/workflow.d.ts.map +0 -1
- package/dist/types/workflow.js +0 -6
- package/dist/types/workflow.js.map +0 -1
- /package/dist/app/_next/static/{ZFTLSdIpaRn3r1OwNmuIZ → 3YgnPN88xlB7c-rX7iYE7}/_buildManifest.js +0 -0
- /package/dist/app/_next/static/{ZFTLSdIpaRn3r1OwNmuIZ → 3YgnPN88xlB7c-rX7iYE7}/_ssgManifest.js +0 -0
package/dist/types/cache.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Cache Types
|
|
3
|
-
* Centralized cache-related type definitions
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Cache configuration
|
|
7
|
-
*/
|
|
8
|
-
export interface CacheConfig {
|
|
9
|
-
ex?: number;
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Cache entry structure
|
|
14
|
-
*/
|
|
15
|
-
export interface CacheEntry {
|
|
16
|
-
value: any;
|
|
17
|
-
expiry: number;
|
|
18
|
-
tables: string[];
|
|
19
|
-
tags: string[];
|
|
20
|
-
tenant?: string | null;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Cache strategy type
|
|
24
|
-
*/
|
|
25
|
-
export type CacheStrategy = 'explicit' | 'all';
|
|
26
|
-
/**
|
|
27
|
-
* Base interface for all cache adapters
|
|
28
|
-
*/
|
|
29
|
-
export interface ICacheAdapter {
|
|
30
|
-
get(key: string): Promise<any | null>;
|
|
31
|
-
set(key: string, value: any, ttl?: number, metadata?: {
|
|
32
|
-
tables: string[];
|
|
33
|
-
tags: string[];
|
|
34
|
-
tenant?: string | null;
|
|
35
|
-
}): Promise<void>;
|
|
36
|
-
delete(key: string): Promise<void>;
|
|
37
|
-
clear(): Promise<void>;
|
|
38
|
-
invalidateByPattern(pattern: string): Promise<void>;
|
|
39
|
-
invalidateByTables(tables: string[], tenant?: string | null): Promise<void>;
|
|
40
|
-
invalidateByTags(tags: string[], tenant?: string | null): Promise<void>;
|
|
41
|
-
getStats(): Promise<{
|
|
42
|
-
keys: number;
|
|
43
|
-
size?: number;
|
|
44
|
-
}>;
|
|
45
|
-
close(): Promise<void>;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=cache.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../baasix/types/cache.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,KAAK,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC;IACtC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnI,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5E,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,QAAQ,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrD,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACxB"}
|
package/dist/types/cache.js
DELETED
package/dist/types/cache.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cache.js","sourceRoot":"","sources":["../../baasix/types/cache.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/database.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Database and Transaction Types
|
|
3
|
-
* Centralized database-related type definitions
|
|
4
|
-
*/
|
|
5
|
-
import type { TransactionClient } from '../utils/db.js';
|
|
6
|
-
/**
|
|
7
|
-
* Transaction wrapper that mimics Sequelize's transaction API
|
|
8
|
-
* Allows commit/rollback control like Sequelize
|
|
9
|
-
*/
|
|
10
|
-
export interface Transaction extends TransactionClient {
|
|
11
|
-
commit: () => Promise<void>;
|
|
12
|
-
rollback: () => Promise<void>;
|
|
13
|
-
_committed: boolean;
|
|
14
|
-
_rolledBack: boolean;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=database.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../baasix/types/database.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD;;;GAGG;AAEH,MAAM,WAAW,WAAY,SAAQ,iBAAiB;IACpD,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;CACtB"}
|
package/dist/types/database.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../baasix/types/database.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/fields.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Field Types
|
|
3
|
-
* Centralized field and schema type definitions
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Field information interface
|
|
7
|
-
*/
|
|
8
|
-
export interface FieldInfo {
|
|
9
|
-
field: string;
|
|
10
|
-
type: string;
|
|
11
|
-
collection?: string;
|
|
12
|
-
interface?: string;
|
|
13
|
-
special?: string[];
|
|
14
|
-
required?: boolean;
|
|
15
|
-
unique?: boolean;
|
|
16
|
-
defaultValue?: any;
|
|
17
|
-
meta?: Record<string, any>;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Flattened field interface
|
|
21
|
-
*/
|
|
22
|
-
export interface FlattenedField {
|
|
23
|
-
name: string;
|
|
24
|
-
fullPath: string;
|
|
25
|
-
type: string;
|
|
26
|
-
collection?: string;
|
|
27
|
-
isRelation: boolean;
|
|
28
|
-
relationCollection?: string;
|
|
29
|
-
relationType?: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Field validation rules interface
|
|
33
|
-
*/
|
|
34
|
-
export interface FieldValidationRules {
|
|
35
|
-
min?: number;
|
|
36
|
-
max?: number;
|
|
37
|
-
isInt?: boolean;
|
|
38
|
-
isEmail?: boolean;
|
|
39
|
-
isUrl?: boolean;
|
|
40
|
-
notEmpty?: boolean;
|
|
41
|
-
len?: [number, number];
|
|
42
|
-
is?: string;
|
|
43
|
-
matches?: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Field schema interface
|
|
47
|
-
*/
|
|
48
|
-
export interface FieldSchema {
|
|
49
|
-
type: string;
|
|
50
|
-
allowNull?: boolean;
|
|
51
|
-
unique?: boolean;
|
|
52
|
-
primaryKey?: boolean;
|
|
53
|
-
defaultValue?: any;
|
|
54
|
-
values?: any;
|
|
55
|
-
calculated?: string;
|
|
56
|
-
constraints?: boolean;
|
|
57
|
-
foreignKey?: boolean | string;
|
|
58
|
-
SystemGenerated?: string | boolean;
|
|
59
|
-
description?: string;
|
|
60
|
-
relType?: string;
|
|
61
|
-
target?: string;
|
|
62
|
-
as?: string;
|
|
63
|
-
onDelete?: string;
|
|
64
|
-
onUpdate?: string;
|
|
65
|
-
through?: string | object;
|
|
66
|
-
otherKey?: string;
|
|
67
|
-
polymorphic?: boolean;
|
|
68
|
-
tables?: string[];
|
|
69
|
-
validate?: FieldValidationRules;
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=fields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../baasix/types/fields.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,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AE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CACjC"}
|
package/dist/types/fields.js
DELETED
package/dist/types/fields.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../baasix/types/fields.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Import/Export Types
|
|
3
|
-
* Centralized import and export type definitions
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Uploaded file interface
|
|
7
|
-
*/
|
|
8
|
-
export interface UploadedFile {
|
|
9
|
-
originalname: string;
|
|
10
|
-
mimetype: string;
|
|
11
|
-
buffer: Buffer;
|
|
12
|
-
size: number;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Import options interface
|
|
16
|
-
*/
|
|
17
|
-
export interface ImportOptions {
|
|
18
|
-
collection: string;
|
|
19
|
-
file?: UploadedFile;
|
|
20
|
-
data?: any[];
|
|
21
|
-
format?: 'csv' | 'json';
|
|
22
|
-
mapping?: Record<string, string>;
|
|
23
|
-
skipValidation?: boolean;
|
|
24
|
-
batchSize?: number;
|
|
25
|
-
onProgress?: (processed: number, total: number) => void;
|
|
26
|
-
onError?: (error: Error, row: any, index: number) => void;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Export options interface
|
|
30
|
-
*/
|
|
31
|
-
export interface ExportOptions {
|
|
32
|
-
collection: string;
|
|
33
|
-
format?: 'csv' | 'json';
|
|
34
|
-
fields?: string[];
|
|
35
|
-
filter?: any;
|
|
36
|
-
limit?: number;
|
|
37
|
-
offset?: number;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Import result interface
|
|
41
|
-
*/
|
|
42
|
-
export interface ImportResult {
|
|
43
|
-
success: boolean;
|
|
44
|
-
imported: number;
|
|
45
|
-
failed: number;
|
|
46
|
-
errors: Array<{
|
|
47
|
-
row: number;
|
|
48
|
-
error: string;
|
|
49
|
-
data?: any;
|
|
50
|
-
}>;
|
|
51
|
-
duration: number;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Export result interface
|
|
55
|
-
*/
|
|
56
|
-
export interface ExportResult {
|
|
57
|
-
success: boolean;
|
|
58
|
-
data: string | any[];
|
|
59
|
-
count: number;
|
|
60
|
-
format: string;
|
|
61
|
-
}
|
|
62
|
-
//# sourceMappingURL=import-export.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"import-export.d.ts","sourceRoot":"","sources":["../../baasix/types/import-export.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACb,MAAM,C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"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/mail.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mail Service Types
|
|
3
|
-
* Types for email delivery system
|
|
4
|
-
*/
|
|
5
|
-
import type nodemailer from 'nodemailer';
|
|
6
|
-
/**
|
|
7
|
-
* Mail options for sending emails
|
|
8
|
-
*/
|
|
9
|
-
export interface MailOptions {
|
|
10
|
-
to: string;
|
|
11
|
-
subject: string;
|
|
12
|
-
templateName: string;
|
|
13
|
-
context: Record<string, any>;
|
|
14
|
-
from?: string;
|
|
15
|
-
sender?: string;
|
|
16
|
-
attachments?: any[];
|
|
17
|
-
tenantId?: string | number;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Sender configuration
|
|
21
|
-
*/
|
|
22
|
-
export interface SenderConfig {
|
|
23
|
-
transporter: nodemailer.Transporter;
|
|
24
|
-
from: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Tenant-specific transporter configuration
|
|
28
|
-
*/
|
|
29
|
-
export interface TenantTransporter {
|
|
30
|
-
transporter: nodemailer.Transporter;
|
|
31
|
-
from: string;
|
|
32
|
-
fromName?: string;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=mail.d.ts.map
|
package/dist/types/mail.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mail.d.ts","sourceRoot":"","sources":["../../baasix/types/mail.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,UAAU,MAAM,YAAY,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
package/dist/types/mail.js
DELETED
package/dist/types/mail.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mail.js","sourceRoot":"","sources":["../../baasix/types/mail.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Notification Service Types
|
|
3
|
-
* Types for notification system
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Options for sending notifications
|
|
7
|
-
*/
|
|
8
|
-
export interface NotificationOptions {
|
|
9
|
-
type: string;
|
|
10
|
-
title: string;
|
|
11
|
-
message: string;
|
|
12
|
-
data?: any;
|
|
13
|
-
userIds: string[];
|
|
14
|
-
tenant_Id?: string;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=notifications.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../baasix/types/notifications.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../baasix/types/notifications.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/reports.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Report Service Types
|
|
3
|
-
* Types for report generation and statistics
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Report query interface
|
|
7
|
-
*/
|
|
8
|
-
export interface ReportQuery {
|
|
9
|
-
fields?: string[];
|
|
10
|
-
filter?: Record<string, any>;
|
|
11
|
-
sort?: string[];
|
|
12
|
-
limit?: number;
|
|
13
|
-
page?: number;
|
|
14
|
-
aggregate?: Record<string, any>;
|
|
15
|
-
groupBy?: string[];
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=reports.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../../baasix/types/reports.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
package/dist/types/reports.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reports.js","sourceRoot":"","sources":["../../baasix/types/reports.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/schema.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Schema Validation Types
|
|
3
|
-
* Centralized schema validation type definitions
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Validation result interface
|
|
7
|
-
*/
|
|
8
|
-
export interface ValidationResult {
|
|
9
|
-
valid: boolean;
|
|
10
|
-
errors: string[];
|
|
11
|
-
warnings: string[];
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Field validation interface
|
|
15
|
-
*/
|
|
16
|
-
export interface FieldValidation extends ValidationResult {
|
|
17
|
-
fieldName: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Schema validation interface
|
|
21
|
-
*/
|
|
22
|
-
export interface SchemaValidation extends ValidationResult {
|
|
23
|
-
collectionName: string;
|
|
24
|
-
fieldValidations?: FieldValidation[];
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../baasix/types/schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;CACtC"}
|
package/dist/types/schema.js
DELETED
package/dist/types/schema.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../baasix/types/schema.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/seed.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Seed Types
|
|
3
|
-
* Centralized seed data type definitions
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Seed data interface
|
|
7
|
-
*/
|
|
8
|
-
export interface SeedData {
|
|
9
|
-
collection: string;
|
|
10
|
-
data: Record<string, any> | Record<string, any>[];
|
|
11
|
-
clearBefore?: boolean;
|
|
12
|
-
skipDuplicates?: boolean;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Seed result interface
|
|
16
|
-
*/
|
|
17
|
-
export interface SeedResult {
|
|
18
|
-
collection: string;
|
|
19
|
-
created: number;
|
|
20
|
-
skipped: number;
|
|
21
|
-
errors: number;
|
|
22
|
-
errorDetails: Array<{
|
|
23
|
-
item: any;
|
|
24
|
-
error: string;
|
|
25
|
-
}>;
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=seed.d.ts.map
|
package/dist/types/seed.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"seed.d.ts","sourceRoot":"","sources":["../../baasix/types/seed.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAClD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD"}
|
package/dist/types/seed.js
DELETED
package/dist/types/seed.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"seed.js","sourceRoot":"","sources":["../../baasix/types/seed.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/settings.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Settings Types
|
|
3
|
-
* Types for application and tenant settings
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Tenant-specific settings interface
|
|
7
|
-
*/
|
|
8
|
-
export interface TenantSettings {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
tenant_Id?: string | number | null;
|
|
11
|
-
project_name?: string;
|
|
12
|
-
title?: string;
|
|
13
|
-
project_url?: string | null;
|
|
14
|
-
app_url?: string | null;
|
|
15
|
-
project_color?: string;
|
|
16
|
-
secondary_color?: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
keywords?: string;
|
|
19
|
-
from_email_name?: string;
|
|
20
|
-
smtp_enabled?: boolean;
|
|
21
|
-
smtp_host?: string;
|
|
22
|
-
smtp_port?: number;
|
|
23
|
-
smtp_secure?: boolean;
|
|
24
|
-
smtp_user?: string;
|
|
25
|
-
smtp_pass?: string;
|
|
26
|
-
smtp_from_address?: string;
|
|
27
|
-
timezone?: string;
|
|
28
|
-
language?: string;
|
|
29
|
-
date_format?: string;
|
|
30
|
-
currency?: string;
|
|
31
|
-
email_signature?: string;
|
|
32
|
-
email_icon?: any;
|
|
33
|
-
metadata?: Record<string, any>;
|
|
34
|
-
modules?: Record<string, any>;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../baasix/types/settings.ts"],"names":[],"mappings":"AAAA;;;G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":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/sockets.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Socket Service Types
|
|
3
|
-
* Types for WebSocket connections
|
|
4
|
-
*/
|
|
5
|
-
import type { Socket } from 'socket.io';
|
|
6
|
-
/**
|
|
7
|
-
* User information for socket connections
|
|
8
|
-
*/
|
|
9
|
-
export interface UserInfo {
|
|
10
|
-
user: {
|
|
11
|
-
id: string | number;
|
|
12
|
-
};
|
|
13
|
-
role: any;
|
|
14
|
-
permissions: any;
|
|
15
|
-
tenant: any;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Socket with authentication data
|
|
19
|
-
*/
|
|
20
|
-
export interface SocketWithAuth extends Socket {
|
|
21
|
-
userId?: string | number;
|
|
22
|
-
userRole?: any;
|
|
23
|
-
userPermissions?: any;
|
|
24
|
-
userTenant?: any;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=sockets.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sockets.d.ts","sourceRoot":"","sources":["../../baasix/types/sockets.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC9B,IAAI,EAAE,GAAG,CAAC;IACV,WAAW,EAAE,GAAG,CAAC;IACjB,MAAM,EAAE,GAAG,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,MAAM;IAC5C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,UAAU,CAAC,EAAE,GAAG,CAAC;CAClB"}
|
package/dist/types/sockets.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sockets.js","sourceRoot":"","sources":["../../baasix/types/sockets.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/sort.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sort and Order Types
|
|
3
|
-
* Centralized sorting and ordering type definitions
|
|
4
|
-
*/
|
|
5
|
-
import type { PgTable, PgColumn } from 'drizzle-orm/pg-core';
|
|
6
|
-
/**
|
|
7
|
-
* Sort direction
|
|
8
|
-
*/
|
|
9
|
-
export type SortDirection = 'ASC' | 'DESC' | 'asc' | 'desc';
|
|
10
|
-
/**
|
|
11
|
-
* Sort object structure (Sequelize-style)
|
|
12
|
-
* Example: { name: 'ASC', createdAt: 'DESC' }
|
|
13
|
-
*/
|
|
14
|
-
export interface SortObject {
|
|
15
|
-
[field: string]: SortDirection;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Query context for sorting
|
|
19
|
-
*/
|
|
20
|
-
export interface SortContext {
|
|
21
|
-
table?: PgTable;
|
|
22
|
-
tableName?: string;
|
|
23
|
-
schema?: Record<string, PgColumn>;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=sort.d.ts.map
|
package/dist/types/sort.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../baasix/types/sort.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;AAE5D;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,CAAC,KAAK,EAAE,MAAM,GAAG,aAAa,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CACnC"}
|
package/dist/types/sort.js
DELETED
package/dist/types/sort.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sort.js","sourceRoot":"","sources":["../../baasix/types/sort.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/spatial.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Spatial/GIS Types
|
|
3
|
-
* Centralized spatial and geospatial type definitions
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* GeoJSON Point interface
|
|
7
|
-
*/
|
|
8
|
-
export interface GeoJSONPoint {
|
|
9
|
-
type: 'Point';
|
|
10
|
-
coordinates: [number, number];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* GeoJSON Geometry interface
|
|
14
|
-
*/
|
|
15
|
-
export interface GeoJSONGeometry {
|
|
16
|
-
type: string;
|
|
17
|
-
coordinates: any;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=spatial.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spatial.d.ts","sourceRoot":"","sources":["../../baasix/types/spatial.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,GAAG,CAAC;CAClB"}
|
package/dist/types/spatial.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spatial.js","sourceRoot":"","sources":["../../baasix/types/spatial.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|