@develit-io/backend-sdk 5.32.3 → 5.33.0

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/dist/index.d.mts CHANGED
@@ -305,7 +305,7 @@ type AuditLogWriter<TAuditAction = string> = (logs: AuditLogPayload<TAuditAction
305
305
  */
306
306
  declare function createAuditLogWriter<TAuditAction = string>(table: AuditLogTable): AuditLogWriter<TAuditAction>;
307
307
 
308
- declare function durableObjectNamespaceIdFromName(uniqueKey: string, name: string): any;
308
+ declare function durableObjectNamespaceIdFromName(uniqueKey: string, name: string): string;
309
309
  declare const getD1DatabaseIdFromWrangler: () => string | undefined;
310
310
  declare const getD1Credentials: () => {
311
311
  driver?: undefined;
@@ -313,14 +313,14 @@ declare const getD1Credentials: () => {
313
313
  } | {
314
314
  driver: string;
315
315
  dbCredentials: {
316
- accountId: any;
316
+ accountId: string | undefined;
317
317
  databaseId: string;
318
- token: any;
318
+ token: string | undefined;
319
319
  url?: undefined;
320
320
  };
321
321
  } | {
322
322
  dbCredentials: {
323
- url: any;
323
+ url: string | undefined;
324
324
  accountId?: undefined;
325
325
  databaseId?: undefined;
326
326
  token?: undefined;
@@ -336,9 +336,9 @@ declare const getDrizzleD1Config: () => {
336
336
  } | {
337
337
  driver: string;
338
338
  dbCredentials: {
339
- accountId: any;
339
+ accountId: string | undefined;
340
340
  databaseId: string;
341
- token: any;
341
+ token: string | undefined;
342
342
  url?: undefined;
343
343
  };
344
344
  schema: string;
@@ -346,7 +346,7 @@ declare const getDrizzleD1Config: () => {
346
346
  dialect: "sqlite";
347
347
  } | {
348
348
  dbCredentials: {
349
- url: any;
349
+ url: string | undefined;
350
350
  accountId?: undefined;
351
351
  databaseId?: undefined;
352
352
  token?: undefined;
@@ -403,7 +403,7 @@ declare const getPgLocalConnectionString: (id: string) => string;
403
403
  declare const getPgDatabaseIdFromWrangler: () => string | undefined;
404
404
  declare const getPgCredentials: (serviceName?: string) => {
405
405
  dbCredentials: {
406
- url: any;
406
+ url: string;
407
407
  };
408
408
  };
409
409
  declare const getDrizzlePgConfig: () => {
@@ -412,7 +412,7 @@ declare const getDrizzlePgConfig: () => {
412
412
  schema: string;
413
413
  };
414
414
  dbCredentials: {
415
- url: any;
415
+ url: string;
416
416
  };
417
417
  schema: string;
418
418
  out: string;
package/dist/index.d.ts CHANGED
@@ -305,7 +305,7 @@ type AuditLogWriter<TAuditAction = string> = (logs: AuditLogPayload<TAuditAction
305
305
  */
306
306
  declare function createAuditLogWriter<TAuditAction = string>(table: AuditLogTable): AuditLogWriter<TAuditAction>;
307
307
 
308
- declare function durableObjectNamespaceIdFromName(uniqueKey: string, name: string): any;
308
+ declare function durableObjectNamespaceIdFromName(uniqueKey: string, name: string): string;
309
309
  declare const getD1DatabaseIdFromWrangler: () => string | undefined;
310
310
  declare const getD1Credentials: () => {
311
311
  driver?: undefined;
@@ -313,14 +313,14 @@ declare const getD1Credentials: () => {
313
313
  } | {
314
314
  driver: string;
315
315
  dbCredentials: {
316
- accountId: any;
316
+ accountId: string | undefined;
317
317
  databaseId: string;
318
- token: any;
318
+ token: string | undefined;
319
319
  url?: undefined;
320
320
  };
321
321
  } | {
322
322
  dbCredentials: {
323
- url: any;
323
+ url: string | undefined;
324
324
  accountId?: undefined;
325
325
  databaseId?: undefined;
326
326
  token?: undefined;
@@ -336,9 +336,9 @@ declare const getDrizzleD1Config: () => {
336
336
  } | {
337
337
  driver: string;
338
338
  dbCredentials: {
339
- accountId: any;
339
+ accountId: string | undefined;
340
340
  databaseId: string;
341
- token: any;
341
+ token: string | undefined;
342
342
  url?: undefined;
343
343
  };
344
344
  schema: string;
@@ -346,7 +346,7 @@ declare const getDrizzleD1Config: () => {
346
346
  dialect: "sqlite";
347
347
  } | {
348
348
  dbCredentials: {
349
- url: any;
349
+ url: string | undefined;
350
350
  accountId?: undefined;
351
351
  databaseId?: undefined;
352
352
  token?: undefined;
@@ -403,7 +403,7 @@ declare const getPgLocalConnectionString: (id: string) => string;
403
403
  declare const getPgDatabaseIdFromWrangler: () => string | undefined;
404
404
  declare const getPgCredentials: (serviceName?: string) => {
405
405
  dbCredentials: {
406
- url: any;
406
+ url: string;
407
407
  };
408
408
  };
409
409
  declare const getDrizzlePgConfig: () => {
@@ -412,7 +412,7 @@ declare const getDrizzlePgConfig: () => {
412
412
  schema: string;
413
413
  };
414
414
  dbCredentials: {
415
- url: any;
415
+ url: string;
416
416
  };
417
417
  schema: string;
418
418
  out: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-io/backend-sdk",
3
- "version": "5.32.3",
3
+ "version": "5.33.0",
4
4
  "description": "Develit Backend SDK",
5
5
  "author": "Develit.io",
6
6
  "license": "ISC",