@omni-co/embed 0.17.0 → 0.18.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/README.md +1 -1
- package/lib/cjs/types.d.ts +1 -13
- package/lib/esm/types.d.ts +1 -13
- package/lib/omni_internal_browser/types.d.ts +1 -13
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/cjs/types.d.ts
CHANGED
|
@@ -187,19 +187,7 @@ export type EmbedSsoContentDiscoveryProps = EmbedSsoBaseProps & {
|
|
|
187
187
|
* Path name of the content discovery page to embed.
|
|
188
188
|
*/
|
|
189
189
|
path: string;
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Required connection roles object. Object keys should be connection IDs from the embedded Omni instance.
|
|
193
|
-
* Object values should be connection roles (base roles or custom role names).
|
|
194
|
-
*/
|
|
195
|
-
connectionRoles: Record<string, string>;
|
|
196
|
-
} | {
|
|
197
|
-
/**
|
|
198
|
-
* Required model roles object. Object keys should be model IDs from the embedded Omni instance.
|
|
199
|
-
* Object values should be model roles (base roles or custom role names).
|
|
200
|
-
*/
|
|
201
|
-
modelRoles: Record<string, string>;
|
|
202
|
-
});
|
|
190
|
+
};
|
|
203
191
|
export type RedeemSessionExclusiveProps = "branch" | "nonce" | "prefersDark" | "secret" | "theme";
|
|
204
192
|
export type CreateSessionTokenProps = Omit<EmbedSsoContentProps, RedeemSessionExclusiveProps> & {
|
|
205
193
|
apiKey: string;
|
package/lib/esm/types.d.ts
CHANGED
|
@@ -187,19 +187,7 @@ export type EmbedSsoContentDiscoveryProps = EmbedSsoBaseProps & {
|
|
|
187
187
|
* Path name of the content discovery page to embed.
|
|
188
188
|
*/
|
|
189
189
|
path: string;
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Required connection roles object. Object keys should be connection IDs from the embedded Omni instance.
|
|
193
|
-
* Object values should be connection roles (base roles or custom role names).
|
|
194
|
-
*/
|
|
195
|
-
connectionRoles: Record<string, string>;
|
|
196
|
-
} | {
|
|
197
|
-
/**
|
|
198
|
-
* Required model roles object. Object keys should be model IDs from the embedded Omni instance.
|
|
199
|
-
* Object values should be model roles (base roles or custom role names).
|
|
200
|
-
*/
|
|
201
|
-
modelRoles: Record<string, string>;
|
|
202
|
-
});
|
|
190
|
+
};
|
|
203
191
|
export type RedeemSessionExclusiveProps = "branch" | "nonce" | "prefersDark" | "secret" | "theme";
|
|
204
192
|
export type CreateSessionTokenProps = Omit<EmbedSsoContentProps, RedeemSessionExclusiveProps> & {
|
|
205
193
|
apiKey: string;
|
|
@@ -187,19 +187,7 @@ export type EmbedSsoContentDiscoveryProps = EmbedSsoBaseProps & {
|
|
|
187
187
|
* Path name of the content discovery page to embed.
|
|
188
188
|
*/
|
|
189
189
|
path: string;
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Required connection roles object. Object keys should be connection IDs from the embedded Omni instance.
|
|
193
|
-
* Object values should be connection roles (base roles or custom role names).
|
|
194
|
-
*/
|
|
195
|
-
connectionRoles: Record<string, string>;
|
|
196
|
-
} | {
|
|
197
|
-
/**
|
|
198
|
-
* Required model roles object. Object keys should be model IDs from the embedded Omni instance.
|
|
199
|
-
* Object values should be model roles (base roles or custom role names).
|
|
200
|
-
*/
|
|
201
|
-
modelRoles: Record<string, string>;
|
|
202
|
-
});
|
|
190
|
+
};
|
|
203
191
|
export type RedeemSessionExclusiveProps = "branch" | "nonce" | "prefersDark" | "secret" | "theme";
|
|
204
192
|
export type CreateSessionTokenProps = Omit<EmbedSsoContentProps, RedeemSessionExclusiveProps> & {
|
|
205
193
|
apiKey: string;
|
package/package.json
CHANGED