@powersync/management-types 0.0.0-dev.85b697f3 → 0.0.0-dev.bdf8ed05

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 CHANGED
@@ -41,7 +41,7 @@ import { routes } from '@powersync/management-types';
41
41
  routes.MANAGE_ROUTES.LIST;
42
42
  routes.DEV_ROUTES.TEST_CONNECTION;
43
43
  routes.GENERAL_ROUTES.LIST_REGIONS;
44
- routes.REPORT_ROUTES.GET_CLIENT_CONNECTION_DATA;
44
+ routes.REPORT_ROUTES.GET_CONNECTIONS_SUMMARY;
45
45
  ```
46
46
 
47
47
  ### Request/Response Types
package/dist/errors.d.ts CHANGED
@@ -4,6 +4,8 @@ export declare enum PowerSyncErrorCodes {
4
4
  SECRET_NOT_FOUND = "SECRET_NOT_FOUND",
5
5
  INVALID_REGION = "INVALID_REGION",
6
6
  INVALID_CONFIG = "INVALID_CONFIG",
7
+ PROJECT_NOT_FOUND = "PROJECT_NOT_FOUND",
8
+ REGION_AT_CAPACITY = "REGION_AT_CAPACITY",
7
9
  PSYNC_M1202_CONNECTION_TEST_TIMEOUT = "PSYNC_M1202",
8
10
  PSYNC_M1203_CONNECTION_TEST_FAILED = "PSYNC_M1203",
9
11
  PSYNC_M1204_CONNECTION_TEST_BUSY = "PSYNC_M1204"
package/dist/errors.js CHANGED
@@ -6,6 +6,8 @@ export var PowerSyncErrorCodes;
6
6
  PowerSyncErrorCodes["SECRET_NOT_FOUND"] = "SECRET_NOT_FOUND";
7
7
  PowerSyncErrorCodes["INVALID_REGION"] = "INVALID_REGION";
8
8
  PowerSyncErrorCodes["INVALID_CONFIG"] = "INVALID_CONFIG";
9
+ PowerSyncErrorCodes["PROJECT_NOT_FOUND"] = "PROJECT_NOT_FOUND";
10
+ PowerSyncErrorCodes["REGION_AT_CAPACITY"] = "REGION_AT_CAPACITY";
9
11
  PowerSyncErrorCodes["PSYNC_M1202_CONNECTION_TEST_TIMEOUT"] = "PSYNC_M1202";
10
12
  PowerSyncErrorCodes["PSYNC_M1203_CONNECTION_TEST_FAILED"] = "PSYNC_M1203";
11
13
  PowerSyncErrorCodes["PSYNC_M1204_CONNECTION_TEST_BUSY"] = "PSYNC_M1204";
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,MAAM,CAAN,IAAY,mBAUX;AAVD,WAAY,mBAAmB;IAC7B,wDAAiC,CAAA;IACjC,gEAAyC,CAAA;IACzC,4DAAqC,CAAA;IACrC,wDAAiC,CAAA;IACjC,wDAAiC,CAAA;IAEjC,0EAAmD,CAAA;IACnD,yEAAkD,CAAA;IAClD,uEAAgD,CAAA;AAClD,CAAC,EAVW,mBAAmB,KAAnB,mBAAmB,QAU9B"}
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,MAAM,CAAN,IAAY,mBAYX;AAZD,WAAY,mBAAmB;IAC7B,wDAAiC,CAAA;IACjC,gEAAyC,CAAA;IACzC,4DAAqC,CAAA;IACrC,wDAAiC,CAAA;IACjC,wDAAiC,CAAA;IACjC,8DAAuC,CAAA;IACvC,gEAAyC,CAAA;IAEzC,0EAAmD,CAAA;IACnD,yEAAkD,CAAA;IAClD,uEAAgD,CAAA;AAClD,CAAC,EAZW,mBAAmB,KAAnB,mBAAmB,QAY9B"}
@@ -540,6 +540,13 @@ export declare const ValidateSyncRulesResponse: t.ObjectCodec<{
540
540
  errors: t.ArrayCodec<t.ObjectCodec<{
541
541
  level: t.Union<t.Codec<"warning", "warning", string, t.CodecProps>, t.LiteralCodec<"fatal">>;
542
542
  message: t.IdentityCodec<t.CodecType.String>;
543
+ location: t.OptionalCodec<t.Codec<{
544
+ start_offset: number;
545
+ end_offset: number;
546
+ }, {
547
+ start_offset: number;
548
+ end_offset: number;
549
+ }, string, t.CodecProps>>;
543
550
  ts: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
544
551
  }>>;
545
552
  }>>;
@@ -547,6 +554,13 @@ export declare const ValidateSyncRulesResponse: t.ObjectCodec<{
547
554
  errors: t.ArrayCodec<t.ObjectCodec<{
548
555
  level: t.Union<t.Codec<"warning", "warning", string, t.CodecProps>, t.LiteralCodec<"fatal">>;
549
556
  message: t.IdentityCodec<t.CodecType.String>;
557
+ location: t.OptionalCodec<t.Codec<{
558
+ start_offset: number;
559
+ end_offset: number;
560
+ }, {
561
+ start_offset: number;
562
+ end_offset: number;
563
+ }, string, t.CodecProps>>;
550
564
  ts: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
551
565
  }>>;
552
566
  }>;
@@ -926,6 +926,13 @@ export declare const InstanceDiagnosticsResponse: t.ObjectCodec<{
926
926
  errors: t.ArrayCodec<t.ObjectCodec<{
927
927
  level: t.Union<t.Codec<"warning", "warning", string, t.CodecProps>, t.LiteralCodec<"fatal">>;
928
928
  message: t.IdentityCodec<t.CodecType.String>;
929
+ location: t.OptionalCodec<t.Codec<{
930
+ start_offset: number;
931
+ end_offset: number;
932
+ }, {
933
+ start_offset: number;
934
+ end_offset: number;
935
+ }, string, t.CodecProps>>;
929
936
  ts: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
930
937
  }>>;
931
938
  }>>;
@@ -933,6 +940,10 @@ export declare const InstanceDiagnosticsResponse: t.ObjectCodec<{
933
940
  errors: {
934
941
  level: "warning" | "fatal";
935
942
  message: string;
943
+ location?: {
944
+ start_offset: number;
945
+ end_offset: number;
946
+ } | undefined;
936
947
  ts?: string | undefined;
937
948
  }[];
938
949
  connections: {
@@ -949,6 +960,10 @@ export declare const InstanceDiagnosticsResponse: t.ObjectCodec<{
949
960
  errors: {
950
961
  level: "warning" | "fatal";
951
962
  message: string;
963
+ location?: {
964
+ start_offset: number;
965
+ end_offset: number;
966
+ } | undefined;
952
967
  ts?: string | undefined;
953
968
  }[];
954
969
  pattern?: string | undefined;
@@ -963,6 +978,10 @@ export declare const InstanceDiagnosticsResponse: t.ObjectCodec<{
963
978
  errors: {
964
979
  level: "warning" | "fatal";
965
980
  message: string;
981
+ location?: {
982
+ start_offset: number;
983
+ end_offset: number;
984
+ } | undefined;
966
985
  ts?: string | undefined;
967
986
  }[];
968
987
  connections: {
@@ -979,6 +998,10 @@ export declare const InstanceDiagnosticsResponse: t.ObjectCodec<{
979
998
  errors: {
980
999
  level: "warning" | "fatal";
981
1000
  message: string;
1001
+ location?: {
1002
+ start_offset: number;
1003
+ end_offset: number;
1004
+ } | undefined;
982
1005
  ts?: string | undefined;
983
1006
  }[];
984
1007
  pattern?: string | undefined;
@@ -994,6 +1017,10 @@ export declare const InstanceDiagnosticsResponse: t.ObjectCodec<{
994
1017
  errors: {
995
1018
  level: "warning" | "fatal";
996
1019
  message: string;
1020
+ location?: {
1021
+ start_offset: number;
1022
+ end_offset: number;
1023
+ } | undefined;
997
1024
  ts?: string | undefined;
998
1025
  }[];
999
1026
  connections: {
@@ -1010,6 +1037,10 @@ export declare const InstanceDiagnosticsResponse: t.ObjectCodec<{
1010
1037
  errors: {
1011
1038
  level: "warning" | "fatal";
1012
1039
  message: string;
1040
+ location?: {
1041
+ start_offset: number;
1042
+ end_offset: number;
1043
+ } | undefined;
1013
1044
  ts?: string | undefined;
1014
1045
  }[];
1015
1046
  pattern?: string | undefined;
@@ -1024,6 +1055,10 @@ export declare const InstanceDiagnosticsResponse: t.ObjectCodec<{
1024
1055
  errors: {
1025
1056
  level: "warning" | "fatal";
1026
1057
  message: string;
1058
+ location?: {
1059
+ start_offset: number;
1060
+ end_offset: number;
1061
+ } | undefined;
1027
1062
  ts?: string | undefined;
1028
1063
  }[];
1029
1064
  connections: {
@@ -1040,6 +1075,10 @@ export declare const InstanceDiagnosticsResponse: t.ObjectCodec<{
1040
1075
  errors: {
1041
1076
  level: "warning" | "fatal";
1042
1077
  message: string;
1078
+ location?: {
1079
+ start_offset: number;
1080
+ end_offset: number;
1081
+ } | undefined;
1043
1082
  ts?: string | undefined;
1044
1083
  }[];
1045
1084
  pattern?: string | undefined;
@@ -1,53 +1,45 @@
1
1
  import * as t from 'ts-codec';
2
2
  export declare enum REPORT_ROUTES {
3
- GET_CLIENT_CONNECTION_DATA = "/api/v1/report/connection/data",
4
- GET_CURRENT_CONNECTIONS = "/api/v1/report/connection/current",
5
- GET_GENERAL_CLIENT_ANALYTICS = "/api/v1/report/connection/general/analytics"
3
+ GET_CONNECTIONS_SUMMARY = "/api/v1/connections/summary",
4
+ GET_CURRENT_CONNECTIONS = "/api/v1/connections/current",
5
+ GET_CLIENT_SESSIONS = "/api/v1/client/sessions"
6
6
  }
7
- export declare const ClientConnectionsReportRequest: t.Intersection<t.Codec<{
8
- start: string;
9
- end: string;
10
- scrape_ttl?: {
7
+ export declare const ClientConnectionsReportRequest: t.ObjectCodec<{
8
+ start: t.IdentityCodec<t.CodecType.String>;
9
+ end: t.IdentityCodec<t.CodecType.String>;
10
+ scrape_ttl: t.OptionalCodec<t.Codec<{
11
11
  date: string;
12
- } | undefined;
13
- }, {
14
- start: string;
15
- end: string;
16
- scrape_ttl?: {
12
+ }, {
17
13
  date: string;
18
- } | undefined;
19
- }, string, t.CodecProps>, t.ObjectCodec<{
20
- org_id: t.Codec<import("bson").ObjectId, string, string, t.CodecProps>;
21
- app_id: t.Codec<import("bson").ObjectId, string, string, t.CodecProps>;
22
- id: t.IdentityCodec<t.CodecType.String>;
23
- }>>;
14
+ }, string, t.CodecProps>>;
15
+ }>;
24
16
  export type ClientConnectionsReportRequest = t.Encoded<typeof ClientConnectionsReportRequest>;
25
17
  export declare const CurrentConnectionsRequest: t.ObjectCodec<{
26
- org_id: t.Codec<import("bson").ObjectId, string, string, t.CodecProps>;
27
- app_id: t.Codec<import("bson").ObjectId, string, string, t.CodecProps>;
28
- id: t.IdentityCodec<t.CodecType.String>;
18
+ org_id: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
19
+ app_id: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
20
+ id: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
29
21
  }>;
30
22
  export type CurrentConnectionsRequest = t.Encoded<typeof CurrentConnectionsRequest>;
31
23
  export type CurrentConnectionsRequestDecoded = t.Decoded<typeof CurrentConnectionsRequest>;
32
- export declare const ConnectionReport: t.ObjectCodec<{
24
+ export declare const SDKConnectionBreakdown: t.ObjectCodec<{
33
25
  sdk: t.IdentityCodec<t.CodecType.String>;
34
26
  users: t.IdentityCodec<t.CodecType.Number>;
35
27
  clients: t.IdentityCodec<t.CodecType.Number>;
36
28
  }>;
37
- export declare const ClientConnectionsReport: t.ObjectCodec<{
38
- users: t.IdentityCodec<t.CodecType.Number>;
39
- sdks: t.ArrayCodec<t.ObjectCodec<{
29
+ export declare const ClientConnectionsSummary: t.ObjectCodec<{
30
+ total_users: t.IdentityCodec<t.CodecType.Number>;
31
+ sdk_breakdown: t.ArrayCodec<t.ObjectCodec<{
40
32
  sdk: t.IdentityCodec<t.CodecType.String>;
41
33
  users: t.IdentityCodec<t.CodecType.Number>;
42
34
  clients: t.IdentityCodec<t.CodecType.Number>;
43
35
  }>>;
44
36
  }>;
45
- export type ClientConnectionsReportResponse = t.Encoded<typeof ClientConnectionsReport>;
46
- export type ClientConnectionsReportResponseDecoded = t.Decoded<typeof ClientConnectionsReport>;
37
+ export type ClientConnectionsSummaryResponse = t.Encoded<typeof ClientConnectionsSummary>;
38
+ export type ClientConnectionsSummaryResponseDecoded = t.Decoded<typeof ClientConnectionsSummary>;
47
39
  export declare const AnalyticsRequestData: t.ObjectCodec<{
48
- org_id: t.IdentityCodec<t.CodecType.String>;
49
- app_id: t.IdentityCodec<t.CodecType.String>;
50
- id: t.IdentityCodec<t.CodecType.String>;
40
+ org_id: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
41
+ app_id: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
42
+ id: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
51
43
  client_id: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
52
44
  user_id: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
53
45
  date_range: t.OptionalCodec<t.Codec<{
@@ -59,9 +51,9 @@ export declare const AnalyticsRequestData: t.ObjectCodec<{
59
51
  }, string, t.CodecProps>>;
60
52
  }>;
61
53
  export declare const ClientConnectionAnalyticsRequest: t.Intersection<t.Codec<{
62
- id: string;
63
- org_id: string;
64
- app_id: string;
54
+ id?: string | undefined;
55
+ org_id?: string | undefined;
56
+ app_id?: string | undefined;
65
57
  user_id?: string | undefined;
66
58
  client_id?: string | undefined;
67
59
  date_range?: {
@@ -69,9 +61,9 @@ export declare const ClientConnectionAnalyticsRequest: t.Intersection<t.Codec<{
69
61
  end: string;
70
62
  } | undefined;
71
63
  }, {
72
- id: string;
73
- org_id: string;
74
- app_id: string;
64
+ id?: string | undefined;
65
+ org_id?: string | undefined;
66
+ app_id?: string | undefined;
75
67
  user_id?: string | undefined;
76
68
  client_id?: string | undefined;
77
69
  date_range?: {
@@ -1,15 +1,14 @@
1
1
  import { date } from '@journeyapps-labs/micro-codecs';
2
2
  import * as t from 'ts-codec';
3
- import { InstanceId } from '../shared.js';
4
3
  import { PaginationRequest, PaginationResponse } from '../utils/pagination.js';
5
4
  export var REPORT_ROUTES;
6
5
  (function (REPORT_ROUTES) {
7
- REPORT_ROUTES["GET_CLIENT_CONNECTION_DATA"] = "/api/v1/report/connection/data";
8
- REPORT_ROUTES["GET_CURRENT_CONNECTIONS"] = "/api/v1/report/connection/current";
9
- REPORT_ROUTES["GET_GENERAL_CLIENT_ANALYTICS"] = "/api/v1/report/connection/general/analytics";
6
+ REPORT_ROUTES["GET_CONNECTIONS_SUMMARY"] = "/api/v1/connections/summary";
7
+ REPORT_ROUTES["GET_CURRENT_CONNECTIONS"] = "/api/v1/connections/current";
8
+ REPORT_ROUTES["GET_CLIENT_SESSIONS"] = "/api/v1/client/sessions";
10
9
  })(REPORT_ROUTES || (REPORT_ROUTES = {}));
11
- // POST /api/v1/report/connection/data
12
- // Returns list of sdk reports by instance id
10
+ // POST /api/v1/connections/summary
11
+ // Returns a summary of client connections for the requested time range
13
12
  const ConnectionsInfo = t.object({
14
13
  start: t.string,
15
14
  end: t.string,
@@ -19,25 +18,30 @@ const ConnectionsInfo = t.object({
19
18
  })
20
19
  .optional()
21
20
  });
22
- export const ClientConnectionsReportRequest = ConnectionsInfo.and(InstanceId);
23
- // POST /api/v1/report/connection/current
24
- // Returns list of currently connected sdk reports
25
- export const CurrentConnectionsRequest = InstanceId;
26
- export const ConnectionReport = t.object({
21
+ export const ClientConnectionsReportRequest = ConnectionsInfo;
22
+ // POST /api/v1/connections/current
23
+ // Returns a summary of currently connected clients
24
+ const OptionalInstanceId = t.object({
25
+ org_id: t.string.optional(),
26
+ app_id: t.string.optional(),
27
+ id: t.string.optional()
28
+ });
29
+ export const CurrentConnectionsRequest = OptionalInstanceId;
30
+ export const SDKConnectionBreakdown = t.object({
27
31
  sdk: t.string,
28
32
  users: t.number,
29
33
  clients: t.number
30
34
  });
31
- export const ClientConnectionsReport = t.object({
32
- users: t.number,
33
- sdks: t.array(ConnectionReport)
35
+ export const ClientConnectionsSummary = t.object({
36
+ total_users: t.number,
37
+ sdk_breakdown: t.array(SDKConnectionBreakdown)
34
38
  });
35
- // POST /api/v1/report/connection/general/analytics
36
- // Returns paginated list of client connection events
39
+ // POST /api/v1/client/sessions
40
+ // Returns paginated list of client session events
37
41
  export const AnalyticsRequestData = t.object({
38
- org_id: t.string,
39
- app_id: t.string,
40
- id: t.string,
42
+ org_id: t.string.optional(),
43
+ app_id: t.string.optional(),
44
+ id: t.string.optional(),
41
45
  client_id: t.string.optional(),
42
46
  user_id: t.string.optional(),
43
47
  date_range: t
@@ -1 +1 @@
1
- {"version":3,"file":"reporting-routes.js","sourceRoot":"","sources":["../../src/routes/reporting-routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,C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AE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC5B,UAAU,EAAE,CAAC;SACV,MAAM,CAAC;QACN,KAAK,EAAE,CAAC,CAAC,MAAM;QACf,GAAG,EAAE,CAAC,CAAC,MAAM;KACd,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,oBAAoB,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAI5F,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,OAAO,EAAE,CAAC,CAAC,MAAM;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM;IACnB,YAAY,EAAE,IAAI;IAClB,eAAe,EAAE,IAAI,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM;IACpB,GAAG,EAAE,CAAC,CAAC,MAAM;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sCAAsC,GAAG,kBAAkB,CAAC,8BAA8B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powersync/management-types",
3
- "version": "0.0.0-dev.85b697f3",
3
+ "version": "0.0.0-dev.bdf8ed05",
4
4
  "description": "Common TypeScript types for PowerSync Management Service API requests",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,12 +29,11 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@journeyapps-labs/micro-codecs": "^1.0.1",
32
- "@powersync/service-types": "^0.13.3",
33
- "@powersync/service-module-mssql": "^0.1.2",
32
+ "@powersync/service-module-mssql": "0.0.0-dev-20260313100403",
33
+ "@powersync/service-types": "0.0.0-dev-20260313100403",
34
34
  "bson": "^6.10.4",
35
35
  "ts-codec": "^1.3.0"
36
36
  },
37
- "devDependencies": {},
38
37
  "scripts": {
39
38
  "build:ts": "tsc -b",
40
39
  "build:extra": "node ./dist/scripts/compile-json-schema.js",