@toando/hosting-sdk 1.0.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.
@@ -0,0 +1,30 @@
1
+ import * as buf from "@bufbuild/protobuf";
2
+ import { Message } from "@bufbuild/protobuf";
3
+ import { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
4
+ import { Timestamp } from "@bufbuild/protobuf/wkt";
5
+ //#region src/generated/models/session_pb.d.ts
6
+ /**
7
+ * Describes the file models/session.proto.
8
+ */
9
+ export declare const file_models_session: GenFile;
10
+ /**
11
+ * @generated from message toando.hosting.models.v1.Session
12
+ */
13
+ export type Session = Message<"toando.hosting.models.v1.Session"> & {
14
+ /**
15
+ * @generated from field: string id = 1;
16
+ */
17
+ id: string;
18
+ /**
19
+ * @generated from field: google.protobuf.Timestamp created_at = 2;
20
+ */
21
+ createdAt?: Timestamp | undefined;
22
+ };
23
+ /**
24
+ * Describes the message toando.hosting.models.v1.Session.
25
+ * Use `create(SessionSchema)` to create a new message.
26
+ */
27
+ export declare const SessionSchema: GenMessage<Session>;
28
+ //#endregion
29
+ export { buf };
30
+ //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs ADDED
@@ -0,0 +1,17 @@
1
+ import * as buf from "@bufbuild/protobuf";
2
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
3
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
4
+ //#region src/generated/models/session_pb.ts
5
+ /**
6
+ * Describes the file models/session.proto.
7
+ */
8
+ const file_models_session = /*@__PURE__*/ fileDesc("ChRtb2RlbHMvc2Vzc2lvbi5wcm90bxIYdG9hbmRvLmhvc3RpbmcubW9kZWxzLnYxIkUKB1Nlc3Npb24SCgoCaWQYASABKAkSLgoKY3JlYXRlZF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBiBnByb3RvMw", [file_google_protobuf_timestamp]);
9
+ /**
10
+ * Describes the message toando.hosting.models.v1.Session.
11
+ * Use `create(SessionSchema)` to create a new message.
12
+ */
13
+ const SessionSchema = /*@__PURE__*/ messageDesc(file_models_session, 0);
14
+ //#endregion
15
+ export { SessionSchema, buf, file_models_session };
16
+
17
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/generated/models/session_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.15.0 with parameter \"target=ts\"\n// @generated from file models/session.proto (package toando.hosting.models.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv2\";\nimport { fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file models/session.proto.\n */\nexport const file_models_session: GenFile = /*@__PURE__*/\n fileDesc(\"ChRtb2RlbHMvc2Vzc2lvbi5wcm90bxIYdG9hbmRvLmhvc3RpbmcubW9kZWxzLnYxIkUKB1Nlc3Npb24SCgoCaWQYASABKAkSLgoKY3JlYXRlZF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBiBnByb3RvMw\", [file_google_protobuf_timestamp]);\n\n/**\n * @generated from message toando.hosting.models.v1.Session\n */\nexport type Session = Message<\"toando.hosting.models.v1.Session\"> & {\n /**\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * @generated from field: google.protobuf.Timestamp created_at = 2;\n */\n createdAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message toando.hosting.models.v1.Session.\n * Use `create(SessionSchema)` to create a new message.\n */\nexport const SessionSchema: GenMessage<Session> = /*@__PURE__*/\n messageDesc(file_models_session, 0);\n\n"],"mappings":";;;;;;;AAaA,MAAa,sBACX,uBAAS,8KAA8K,CAAC,8BAA8B,CAAC;;;;;AAqBzN,MAAa,gBACX,0BAAY,qBAAqB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@toando/hosting-sdk",
3
+ "version": "1.0.0",
4
+ "description": "SDK for interacting with the hosting product",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./dist/index.d.mts",
9
+ "import": "./dist/index.mjs"
10
+ }
11
+ },
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "scripts": {
16
+ "genproto": "buf generate",
17
+ "build": "tsdown",
18
+ "typecheck": "tsc --noEmit"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/Toandos/hosting-sdk.git"
23
+ },
24
+ "keywords": [],
25
+ "author": "xXjojaXx",
26
+ "license": "Apache-2.0",
27
+ "bugs": {
28
+ "url": "https://github.com/Toandos/hosting-sdk/issues"
29
+ },
30
+ "homepage": "https://github.com/Toandos/hosting-sdk#readme",
31
+ "devDependencies": {
32
+ "tsdown": "^0.23.0",
33
+ "typescript": "^7.0.2"
34
+ },
35
+ "dependencies": {
36
+ "@bufbuild/protobuf": "^2.15.0"
37
+ }
38
+ }