@collective-intelligence/external-apps-client-sdk-react 0.1.17 → 0.1.18
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.ts +1 -16
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -544,32 +544,17 @@ export type ExternalApplicationServiceOperationRequest = {
|
|
|
544
544
|
origin: string;
|
|
545
545
|
};
|
|
546
546
|
operationId: "origins_set_runtime";
|
|
547
|
-
} | {
|
|
548
|
-
input: {
|
|
549
|
-
userId: string;
|
|
550
|
-
};
|
|
551
|
-
operationId: "users_list_company_links";
|
|
552
|
-
} | {
|
|
553
|
-
input: {
|
|
554
|
-
entityIds: string[];
|
|
555
|
-
userId: string;
|
|
556
|
-
};
|
|
557
|
-
operationId: "users_link_companies";
|
|
558
547
|
};
|
|
559
548
|
/**
|
|
560
549
|
* Whether `users_create_or_get` would accept an email, checked without
|
|
561
550
|
* creating anything; an unknown email is usable.
|
|
562
551
|
*/
|
|
563
552
|
export type ApplicationUserEmailCheck = ExternalApplicationsCheckAppUserEmailResponse["result"];
|
|
564
|
-
/** A user's linked company entities, in entity id order. */
|
|
565
|
-
export interface UserCompanyLinks {
|
|
566
|
-
entityIds: string[];
|
|
567
|
-
}
|
|
568
553
|
export type ExternalApplicationServiceOperationSuccess = EnvelopeSuccess<"users_check_email", ApplicationUserEmailCheck> | EnvelopeSuccess<"files_upload", {
|
|
569
554
|
storageFileId: StorageFileId;
|
|
570
555
|
}> | EnvelopeSuccess<"origins_set_runtime", {
|
|
571
556
|
origin: string;
|
|
572
|
-
}
|
|
557
|
+
}>;
|
|
573
558
|
/** Every operation a confidential server client may invoke. */
|
|
574
559
|
export type ExternalApplicationServerOperationRequest = ExternalApplicationOperationRequest | ExternalApplicationServiceOperationRequest;
|
|
575
560
|
export type ExternalApplicationOperationId = ExternalApplicationOperationRequest["operationId"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collective-intelligence/external-apps-client-sdk-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"description": "React bindings for Collective Intelligence external applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@collective-intelligence/external-apps-client-sdk": "0.1.
|
|
52
|
-
"@collective-intelligence/ui-react": "0.1.
|
|
51
|
+
"@collective-intelligence/external-apps-client-sdk": "0.1.18",
|
|
52
|
+
"@collective-intelligence/ui-react": "0.1.18",
|
|
53
53
|
"@oxlint/plugins": "1.85.0",
|
|
54
54
|
"@tanstack/react-router": "1.170.30",
|
|
55
55
|
"@tanstack/react-start": "1.168.47",
|