@collective-intelligence/external-apps-server-sdk 0.1.5 → 0.1.7
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 +94 -1
- package/dist/admin.d.ts +60 -12
- package/dist/auth/federated.d.ts +4 -0
- package/dist/auth/federated.js +1 -1
- package/dist/express.d.ts +60 -60
- package/dist/gateway/contracts.d.ts +60 -60
- package/dist/gateway.d.ts +60 -60
- package/dist/gateway.js +1 -1
- package/dist/persistence/drizzle.d.ts +4 -0
- package/dist/persistence/drizzle.js +1 -1
- package/dist/runtime/effect.d.ts +75 -75
- package/dist/runtime/effect.js +1 -1
- package/dist/runtime/express.d.ts +60 -60
- package/dist/runtime/nestjs.d.ts +60 -60
- package/dist/runtime/next.d.ts +60 -60
- package/dist/runtime/web.d.ts +60 -60
- package/dist/tools/ai-sdk.js +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,10 @@ import { PgAsyncDatabase } from 'drizzle-orm/pg-core/async';
|
|
|
7
7
|
export type FederatedGrant = Readonly<{
|
|
8
8
|
accessToken: string;
|
|
9
9
|
expiresAt: number;
|
|
10
|
+
/** Renewal credential of the Federated authorization; set together with `refreshExpiresAt`. */
|
|
11
|
+
refreshToken?: string;
|
|
12
|
+
/** Epoch milliseconds at which the Renewal credential stops; set together with `refreshToken`. */
|
|
13
|
+
refreshExpiresAt?: number;
|
|
10
14
|
}>;
|
|
11
15
|
export type FederatedLogin = Readonly<{
|
|
12
16
|
status: "idle";
|