@ooneex/types 0.0.11 → 0.0.13
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/index.js +6 -2
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// src/index.ts
|
|
2
|
+
var HTTP_METHODS = ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS", "HEAD"];
|
|
3
|
+
export {
|
|
4
|
+
HTTP_METHODS
|
|
5
|
+
};
|
|
2
6
|
|
|
3
|
-
//# debugId=
|
|
7
|
+
//# debugId=72D0E29CD0ABC2EB64756E2164756E21
|
package/dist/index.js.map
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"import type { LocaleType } from \"@ooneex/translation\";\n\nexport const HTTP_METHODS = [\"GET\", \"POST\", \"PUT\", \"DELETE\", \"PATCH\", \"OPTIONS\", \"HEAD\"] as const;\n\nexport type HttpMethodType = (typeof HTTP_METHODS)[number];\nexport type EncodingType = \"deflate\" | \"gzip\" | \"compress\" | \"br\" | \"identity\" | \"*\";\nexport type CharsetType = \"ISO-8859-1\" | \"7-BIT\" | \"UTF-8\" | \"UTF-16\" | \"US-ASCII\";\nexport type ScalarType = boolean | number | bigint | string;\n\nexport interface IBase {\n id: string;\n isLocked?: boolean;\n lockedAt?: Date;\n isBlocked?: boolean;\n blockedAt?: Date;\n blockReason?: string;\n isPublic?: boolean;\n createdAt?: Date;\n updatedAt?: Date;\n deletedAt?: Date;\n language?: LocaleType;\n}\n\nexport interface IStat extends IBase {\n commentsCount: number;\n likesCount: number;\n dislikesCount: number;\n sharesCount: number;\n viewsCount: number;\n downloadsCount: number;\n savesCount: number;\n bookmarksCount: number;\n repostsCount: number;\n impressionsCount: number;\n clicksCount: number;\n engagementRate: number;\n reach: number;\n followersCount: number;\n followingCount: number;\n blockedCount: number;\n reportsCount: number;\n}\n\nexport type FilterResultType<T> = {\n resources: T[];\n total: number;\n totalPages: number;\n page: number;\n limit: number;\n};\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": "AAEO,IAAM,
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";AAEO,IAAM,eAAe,CAAC,OAAO,QAAQ,OAAO,UAAU,SAAS,WAAW,MAAM;",
|
|
8
|
+
"debugId": "72D0E29CD0ABC2EB64756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ooneex/types",
|
|
3
3
|
"description": "Shared TypeScript types, interfaces, and base definitions used across the Ooneex framework",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.13",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"npm:publish": "bun publish --tolerate-republish --access public"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@ooneex/translation": "0.0.
|
|
31
|
+
"@ooneex/translation": "0.0.11"
|
|
32
32
|
},
|
|
33
33
|
"keywords": [
|
|
34
34
|
"bun",
|