@microsoft/rayfin-client 1.36.0-alpha.1601 → 1.36.0-alpha.1663
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/experimental/ConnectorsRayfinClient.d.ts +5 -5
- package/dist/experimental/ConnectorsRayfinClient.js +5 -5
- package/dist/experimental/ExtendableRayfinClient.d.ts +2 -2
- package/dist/experimental/index.js +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +5 -0
- package/package.json +7 -6
|
@@ -33,12 +33,12 @@ export interface ConnectorsRayfinClientConfig<TConnectorsSchema extends Connecto
|
|
|
33
33
|
host?: HostEnvironment;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Rayfin client that surfaces the typed connectors runtime as
|
|
37
37
|
* `client.connectors.<name>.<operation>(input, options?)`.
|
|
38
38
|
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
39
|
+
* Import it from the stable `@microsoft/rayfin-client` entry. The
|
|
40
|
+
* `@microsoft/rayfin-client/experimental` subpath still re-exports it so
|
|
41
|
+
* existing apps keep building, but new code should not use that path.
|
|
42
42
|
*
|
|
43
43
|
* @typeParam TSchema - Data entity schema (same shape as {@link RayfinClient}).
|
|
44
44
|
* @typeParam TFunctionsSchema - Functions schema (same shape as {@link RayfinClient}).
|
|
@@ -48,7 +48,7 @@ export interface ConnectorsRayfinClientConfig<TConnectorsSchema extends Connecto
|
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* ```ts
|
|
51
|
-
* import { ConnectorsRayfinClient } from '@microsoft/rayfin-client
|
|
51
|
+
* import { ConnectorsRayfinClient } from '@microsoft/rayfin-client';
|
|
52
52
|
* import type { FabricSemanticModel } from '@microsoft/rayfin-connector-fabric-semanticmodel';
|
|
53
53
|
*
|
|
54
54
|
* type AppConnectorsSchema = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createConnectorsApi, } from '@microsoft/rayfin-connectors';
|
|
2
2
|
import RayfinClient from '../client.js';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Rayfin client that surfaces the typed connectors runtime as
|
|
5
5
|
* `client.connectors.<name>.<operation>(input, options?)`.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* Import it from the stable `@microsoft/rayfin-client` entry. The
|
|
8
|
+
* `@microsoft/rayfin-client/experimental` subpath still re-exports it so
|
|
9
|
+
* existing apps keep building, but new code should not use that path.
|
|
10
10
|
*
|
|
11
11
|
* @typeParam TSchema - Data entity schema (same shape as {@link RayfinClient}).
|
|
12
12
|
* @typeParam TFunctionsSchema - Functions schema (same shape as {@link RayfinClient}).
|
|
@@ -16,7 +16,7 @@ import RayfinClient from '../client.js';
|
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
19
|
-
* import { ConnectorsRayfinClient } from '@microsoft/rayfin-client
|
|
19
|
+
* import { ConnectorsRayfinClient } from '@microsoft/rayfin-client';
|
|
20
20
|
* import type { FabricSemanticModel } from '@microsoft/rayfin-connector-fabric-semanticmodel';
|
|
21
21
|
*
|
|
22
22
|
* type AppConnectorsSchema = {
|
|
@@ -6,7 +6,7 @@ export { ServicePlugin, type TServiceClasses, type ServicePluginFactory as Servi
|
|
|
6
6
|
* @alpha
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
|
-
export declare class ExtendableRayfinClient<TSchema extends Record<string, any> = Record<string, any>, TServices extends Record<string,
|
|
9
|
+
export declare class ExtendableRayfinClient<TSchema extends Record<string, any> = Record<string, any>, TServices extends Record<string, object> = Record<string, object>> extends RayfinClient<TSchema> {
|
|
10
10
|
private services;
|
|
11
11
|
protected constructor(config: RayfinClientConfig & {
|
|
12
12
|
services?: TServiceClasses<TServices>;
|
|
@@ -20,7 +20,7 @@ export declare class ExtendableRayfinClient<TSchema extends Record<string, any>
|
|
|
20
20
|
* @param services - The custom services to extend the client with.
|
|
21
21
|
* @returns An instance of ExtendableRayfinClient with the specified services.
|
|
22
22
|
*/
|
|
23
|
-
static create<TSchema extends Record<string, any>, TServices extends Record<string,
|
|
23
|
+
static create<TSchema extends Record<string, any>, TServices extends Record<string, object>>(config: RayfinClientConfig & {
|
|
24
24
|
schema?: TSchema;
|
|
25
25
|
} & {
|
|
26
26
|
services?: TServiceClasses<TServices>;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { ExtendableRayfinClient, ServicePlugin, } from './ExtendableRayfinClient.js';
|
|
2
|
+
// Connectors are generally available and live on the stable
|
|
3
|
+
// `@microsoft/rayfin-client` entry. These re-exports are retained so apps
|
|
4
|
+
// scaffolded before the promotion keep compiling; prefer the stable entry.
|
|
2
5
|
export { ConnectorsRayfinClient } from './ConnectorsRayfinClient.js';
|
|
3
6
|
//# sourceMappingURL=index.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export { RayfinConfigError, resolveRayfinConfig } from './config.js';
|
|
|
4
4
|
export type { RayfinRuntimeConfig, ResolveRayfinConfigOptions } from './config.js';
|
|
5
5
|
export type { TypedDataClients, EntitySchema } from '@microsoft/rayfin-data';
|
|
6
6
|
export type { FunctionsSchema } from '@microsoft/rayfin-functions';
|
|
7
|
+
export { ConnectorsRayfinClient } from './experimental/ConnectorsRayfinClient.js';
|
|
8
|
+
export type { ConnectorsRayfinClientConfig } from './experimental/ConnectorsRayfinClient.js';
|
|
9
|
+
export type { ConnectorConfig, ConnectorMarker, ConnectorsSchema, OperationCatalog, OperationDef, TypedConnectorsApi, TypedConnectorClient, } from '@microsoft/rayfin-connectors';
|
|
7
10
|
export type { ApiClientConfig } from '@microsoft/rayfin-lib';
|
|
8
11
|
export { setDeprecationsSilenced, isDeprecationSilenced, } from '@microsoft/rayfin-lib';
|
|
9
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,11 @@ export * from './client.js';
|
|
|
3
3
|
export { default } from './client.js';
|
|
4
4
|
// Runtime configuration loading
|
|
5
5
|
export { RayfinConfigError, resolveRayfinConfig } from './config.js';
|
|
6
|
+
// Connectors — generally available. `ConnectorsRayfinClient` extends the base
|
|
7
|
+
// client with a typed `connectors` surface generated from `ConnectorsSchema`.
|
|
8
|
+
// Also reachable from the `/experimental` subpath, which is retained as a
|
|
9
|
+
// compatibility alias for apps scaffolded before connectors went GA.
|
|
10
|
+
export { ConnectorsRayfinClient } from './experimental/ConnectorsRayfinClient.js';
|
|
6
11
|
// Re-export deprecation silencing controls from rayfin-lib so consumers have a
|
|
7
12
|
// stable public import path here; emitter helpers stay internal to the SDK.
|
|
8
13
|
export { setDeprecationsSilenced, isDeprecationSilenced, } from '@microsoft/rayfin-lib';
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/rayfin-client",
|
|
3
|
-
"
|
|
3
|
+
"sideEffects": false,
|
|
4
|
+
"version": "1.36.0-alpha.1663",
|
|
4
5
|
"description": "Main client SDK for Rayfin services",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"exports": {
|
|
@@ -22,11 +23,11 @@
|
|
|
22
23
|
"assets/docs"
|
|
23
24
|
],
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@microsoft/rayfin-auth": "1.36.0-alpha.
|
|
26
|
-
"@microsoft/rayfin-connectors": "1.36.0-alpha.
|
|
27
|
-
"@microsoft/rayfin-data": "1.36.0-alpha.
|
|
28
|
-
"@microsoft/rayfin-lib": "1.36.0-alpha.
|
|
29
|
-
"@microsoft/rayfin-functions": "1.36.0-alpha.
|
|
26
|
+
"@microsoft/rayfin-auth": "1.36.0-alpha.1663",
|
|
27
|
+
"@microsoft/rayfin-connectors": "1.36.0-alpha.1663",
|
|
28
|
+
"@microsoft/rayfin-data": "1.36.0-alpha.1663",
|
|
29
|
+
"@microsoft/rayfin-lib": "1.36.0-alpha.1663",
|
|
30
|
+
"@microsoft/rayfin-functions": "1.36.0-alpha.1663"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
33
|
"typescript": "^5.8.3",
|