@powersync/service-module-postgres-storage 0.0.0-dev-20250730114043 → 0.0.0-dev-20250730121727
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.
|
@@ -7,13 +7,15 @@ export declare const Sdks: t.ObjectCodec<{
|
|
|
7
7
|
export type Sdks = t.Encoded<typeof Sdks>;
|
|
8
8
|
export declare const SdkReporting: t.ObjectCodec<{
|
|
9
9
|
users: t.Codec<bigint, string | number, string, t.CodecProps>;
|
|
10
|
-
sdks: t.
|
|
11
|
-
data:
|
|
10
|
+
sdks: t.Union<t.Codec<{
|
|
11
|
+
data: {
|
|
12
12
|
sdk: string;
|
|
13
13
|
clients: number;
|
|
14
14
|
users: number;
|
|
15
|
-
}[]
|
|
16
|
-
}
|
|
15
|
+
}[];
|
|
16
|
+
} | undefined, {
|
|
17
|
+
data: string;
|
|
18
|
+
} | undefined, string, t.CodecProps>, t.Codec<null, null, t.CodecType.Null, t.CodecProps>>;
|
|
17
19
|
}>;
|
|
18
20
|
export type SdkReporting = t.Encoded<typeof SdkReporting>;
|
|
19
21
|
export type SdkReportingDecoded = t.Decoded<typeof SdkReporting>;
|
|
@@ -7,8 +7,11 @@ export const Sdks = t.object({
|
|
|
7
7
|
});
|
|
8
8
|
export const SdkReporting = t.object({
|
|
9
9
|
users: bigint,
|
|
10
|
-
sdks: t
|
|
10
|
+
sdks: t
|
|
11
|
+
.object({
|
|
11
12
|
data: jsonb(t.array(Sdks))
|
|
12
13
|
})
|
|
14
|
+
.optional()
|
|
15
|
+
.or(t.Null)
|
|
13
16
|
});
|
|
14
17
|
//# sourceMappingURL=SdkReporting.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdkReporting.js","sourceRoot":"","sources":["../../../src/types/models/SdkReporting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,GAAG,EAAE,CAAC,CAAC,MAAM;IACb,OAAO,EAAE,CAAC,CAAC,MAAM;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM;CAChB,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"SdkReporting.js","sourceRoot":"","sources":["../../../src/types/models/SdkReporting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,GAAG,EAAE,CAAC,CAAC,MAAM;IACb,OAAO,EAAE,CAAC,CAAC,MAAM;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM;CAChB,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,CAAC;SACJ,MAAM,CAAC;QACN,IAAI,EAAE,KAAK,CAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;KACnC,CAAC;SACD,QAAQ,EAAE;SACV,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;CACd,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@powersync/service-module-postgres-storage",
|
|
3
3
|
"repository": "https://github.com/powersync-ja/powersync-service",
|
|
4
4
|
"types": "dist/@types/index.d.ts",
|
|
5
|
-
"version": "0.0.0-dev-
|
|
5
|
+
"version": "0.0.0-dev-20250730121727",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"publishConfig": {
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"p-defer": "^4.0.1",
|
|
30
30
|
"ts-codec": "^1.3.0",
|
|
31
31
|
"uuid": "^11.1.0",
|
|
32
|
-
"@powersync/lib-service-postgres": "0.0.0-dev-
|
|
33
|
-
"@powersync/lib-services-framework": "0.0.0-dev-
|
|
34
|
-
"@powersync/service-core": "0.0.0-dev-
|
|
35
|
-
"@powersync/service-types": "0.0.0-dev-
|
|
36
|
-
"@powersync/service-core-tests": "0.0.0-dev-
|
|
37
|
-
"@powersync/service-jpgwire": "0.0.0-dev-
|
|
38
|
-
"@powersync/service-sync-rules": "0.0.0-dev-
|
|
32
|
+
"@powersync/lib-service-postgres": "0.0.0-dev-20250730121727",
|
|
33
|
+
"@powersync/lib-services-framework": "0.0.0-dev-20250730121727",
|
|
34
|
+
"@powersync/service-core": "0.0.0-dev-20250730121727",
|
|
35
|
+
"@powersync/service-types": "0.0.0-dev-20250730121727",
|
|
36
|
+
"@powersync/service-core-tests": "0.0.0-dev-20250730121727",
|
|
37
|
+
"@powersync/service-jpgwire": "0.0.0-dev-20250730121727",
|
|
38
|
+
"@powersync/service-sync-rules": "0.0.0-dev-20250730121727"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "^5.7.3"
|
|
@@ -11,9 +11,12 @@ export type Sdks = t.Encoded<typeof Sdks>;
|
|
|
11
11
|
|
|
12
12
|
export const SdkReporting = t.object({
|
|
13
13
|
users: bigint,
|
|
14
|
-
sdks: t
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
sdks: t
|
|
15
|
+
.object({
|
|
16
|
+
data: jsonb<Sdks[]>(t.array(Sdks))
|
|
17
|
+
})
|
|
18
|
+
.optional()
|
|
19
|
+
.or(t.Null)
|
|
17
20
|
});
|
|
18
21
|
|
|
19
22
|
export type SdkReporting = t.Encoded<typeof SdkReporting>;
|