@infinitetoken/lumber-kit 0.4.20 → 0.4.21
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.d.mts +359 -0
- package/dist/index.d.ts +359 -0
- package/dist/index.js +124 -0
- package/dist/index.mjs +83 -0
- package/package.json +22 -25
- package/dist/cjs/constants/index.d.ts +0 -3
- package/dist/cjs/constants/index.d.ts.map +0 -1
- package/dist/cjs/constants/index.js +0 -18
- package/dist/cjs/constants/logLevel.d.ts +0 -17
- package/dist/cjs/constants/logLevel.d.ts.map +0 -1
- package/dist/cjs/constants/logLevel.js +0 -31
- package/dist/cjs/constants/subscription.d.ts +0 -27
- package/dist/cjs/constants/subscription.d.ts.map +0 -1
- package/dist/cjs/constants/subscription.js +0 -28
- package/dist/cjs/index.d.ts +0 -4
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -19
- package/dist/cjs/types/app.d.ts +0 -62
- package/dist/cjs/types/app.d.ts.map +0 -1
- package/dist/cjs/types/app.js +0 -2
- package/dist/cjs/types/deviceLink.d.ts +0 -19
- package/dist/cjs/types/deviceLink.d.ts.map +0 -1
- package/dist/cjs/types/deviceLink.js +0 -2
- package/dist/cjs/types/flag.d.ts +0 -14
- package/dist/cjs/types/flag.d.ts.map +0 -1
- package/dist/cjs/types/flag.js +0 -2
- package/dist/cjs/types/index.d.ts +0 -10
- package/dist/cjs/types/index.d.ts.map +0 -1
- package/dist/cjs/types/index.js +0 -25
- package/dist/cjs/types/log.d.ts +0 -59
- package/dist/cjs/types/log.d.ts.map +0 -1
- package/dist/cjs/types/log.js +0 -2
- package/dist/cjs/types/note.d.ts +0 -40
- package/dist/cjs/types/note.d.ts.map +0 -1
- package/dist/cjs/types/note.js +0 -2
- package/dist/cjs/types/response.d.ts +0 -14
- package/dist/cjs/types/response.d.ts.map +0 -1
- package/dist/cjs/types/response.js +0 -2
- package/dist/cjs/types/team.d.ts +0 -34
- package/dist/cjs/types/team.d.ts.map +0 -1
- package/dist/cjs/types/team.js +0 -2
- package/dist/cjs/types/timeseries.d.ts +0 -30
- package/dist/cjs/types/timeseries.d.ts.map +0 -1
- package/dist/cjs/types/timeseries.js +0 -2
- package/dist/cjs/types/user.d.ts +0 -34
- package/dist/cjs/types/user.d.ts.map +0 -1
- package/dist/cjs/types/user.js +0 -2
- package/dist/cjs/utils/index.d.ts +0 -12
- package/dist/cjs/utils/index.d.ts.map +0 -1
- package/dist/cjs/utils/index.js +0 -33
- package/dist/esm/constants/index.d.ts +0 -3
- package/dist/esm/constants/index.d.ts.map +0 -1
- package/dist/esm/constants/index.js +0 -2
- package/dist/esm/constants/logLevel.d.ts +0 -17
- package/dist/esm/constants/logLevel.d.ts.map +0 -1
- package/dist/esm/constants/logLevel.js +0 -28
- package/dist/esm/constants/subscription.d.ts +0 -27
- package/dist/esm/constants/subscription.d.ts.map +0 -1
- package/dist/esm/constants/subscription.js +0 -25
- package/dist/esm/index.d.ts +0 -4
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -3
- package/dist/esm/package.json +0 -1
- package/dist/esm/types/app.d.ts +0 -62
- package/dist/esm/types/app.d.ts.map +0 -1
- package/dist/esm/types/app.js +0 -1
- package/dist/esm/types/deviceLink.d.ts +0 -19
- package/dist/esm/types/deviceLink.d.ts.map +0 -1
- package/dist/esm/types/deviceLink.js +0 -1
- package/dist/esm/types/flag.d.ts +0 -14
- package/dist/esm/types/flag.d.ts.map +0 -1
- package/dist/esm/types/flag.js +0 -1
- package/dist/esm/types/index.d.ts +0 -10
- package/dist/esm/types/index.d.ts.map +0 -1
- package/dist/esm/types/index.js +0 -9
- package/dist/esm/types/log.d.ts +0 -59
- package/dist/esm/types/log.d.ts.map +0 -1
- package/dist/esm/types/log.js +0 -1
- package/dist/esm/types/note.d.ts +0 -40
- package/dist/esm/types/note.d.ts.map +0 -1
- package/dist/esm/types/note.js +0 -1
- package/dist/esm/types/response.d.ts +0 -14
- package/dist/esm/types/response.d.ts.map +0 -1
- package/dist/esm/types/response.js +0 -1
- package/dist/esm/types/team.d.ts +0 -34
- package/dist/esm/types/team.d.ts.map +0 -1
- package/dist/esm/types/team.js +0 -1
- package/dist/esm/types/timeseries.d.ts +0 -30
- package/dist/esm/types/timeseries.d.ts.map +0 -1
- package/dist/esm/types/timeseries.js +0 -1
- package/dist/esm/types/user.d.ts +0 -34
- package/dist/esm/types/user.d.ts.map +0 -1
- package/dist/esm/types/user.js +0 -1
- package/dist/esm/utils/index.d.ts +0 -12
- package/dist/esm/utils/index.d.ts.map +0 -1
- package/dist/esm/utils/index.js +0 -23
package/dist/index.js
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
LogLevel: () => LogLevel,
|
|
24
|
+
SubscriptionLevel: () => SubscriptionLevel,
|
|
25
|
+
isValidAppearance: () => isValidAppearance,
|
|
26
|
+
isValidColor: () => isValidColor,
|
|
27
|
+
isValidDeviceLinkStatus: () => isValidDeviceLinkStatus,
|
|
28
|
+
isValidImageUrl: () => isValidImageUrl,
|
|
29
|
+
isValidLogLevel: () => isValidLogLevel,
|
|
30
|
+
isValidSubscriptionLevel: () => isValidSubscriptionLevel,
|
|
31
|
+
isValidTeamMemberRole: () => isValidTeamMemberRole,
|
|
32
|
+
logLevelNameToLevel: () => logLevelNameToLevel,
|
|
33
|
+
logLevelToName: () => logLevelToName,
|
|
34
|
+
logLevels: () => logLevels,
|
|
35
|
+
subscriptionLevelToName: () => subscriptionLevelToName,
|
|
36
|
+
subscriptionLevels: () => subscriptionLevels,
|
|
37
|
+
subscriptionLimits: () => subscriptionLimits
|
|
38
|
+
});
|
|
39
|
+
module.exports = __toCommonJS(index_exports);
|
|
40
|
+
|
|
41
|
+
// src/constants/logLevel.ts
|
|
42
|
+
var LogLevel = /* @__PURE__ */ ((LogLevel3) => {
|
|
43
|
+
LogLevel3[LogLevel3["Debug"] = 0] = "Debug";
|
|
44
|
+
LogLevel3[LogLevel3["Info"] = 1] = "Info";
|
|
45
|
+
LogLevel3[LogLevel3["Warn"] = 2] = "Warn";
|
|
46
|
+
LogLevel3[LogLevel3["Error"] = 3] = "Error";
|
|
47
|
+
LogLevel3[LogLevel3["Fatal"] = 4] = "Fatal";
|
|
48
|
+
return LogLevel3;
|
|
49
|
+
})(LogLevel || {});
|
|
50
|
+
var logLevelToName = {
|
|
51
|
+
[0 /* Debug */]: "debug",
|
|
52
|
+
[1 /* Info */]: "info",
|
|
53
|
+
[2 /* Warn */]: "warn",
|
|
54
|
+
[3 /* Error */]: "error",
|
|
55
|
+
[4 /* Fatal */]: "fatal"
|
|
56
|
+
};
|
|
57
|
+
var logLevelNameToLevel = {
|
|
58
|
+
debug: 0 /* Debug */,
|
|
59
|
+
info: 1 /* Info */,
|
|
60
|
+
warn: 2 /* Warn */,
|
|
61
|
+
error: 3 /* Error */,
|
|
62
|
+
fatal: 4 /* Fatal */
|
|
63
|
+
};
|
|
64
|
+
var logLevels = [0 /* Debug */, 1 /* Info */, 2 /* Warn */, 3 /* Error */, 4 /* Fatal */];
|
|
65
|
+
|
|
66
|
+
// src/constants/subscription.ts
|
|
67
|
+
var SubscriptionLevel = /* @__PURE__ */ ((SubscriptionLevel3) => {
|
|
68
|
+
SubscriptionLevel3[SubscriptionLevel3["Hobby"] = 0] = "Hobby";
|
|
69
|
+
SubscriptionLevel3[SubscriptionLevel3["Dev"] = 1] = "Dev";
|
|
70
|
+
SubscriptionLevel3[SubscriptionLevel3["Pro"] = 2] = "Pro";
|
|
71
|
+
SubscriptionLevel3[SubscriptionLevel3["Enterprise"] = 3] = "Enterprise";
|
|
72
|
+
return SubscriptionLevel3;
|
|
73
|
+
})(SubscriptionLevel || {});
|
|
74
|
+
var subscriptionLevelToName = {
|
|
75
|
+
[0 /* Hobby */]: "hobby",
|
|
76
|
+
[1 /* Dev */]: "dev",
|
|
77
|
+
[2 /* Pro */]: "pro",
|
|
78
|
+
[3 /* Enterprise */]: "enterprise"
|
|
79
|
+
};
|
|
80
|
+
var subscriptionLevels = [0 /* Hobby */, 1 /* Dev */, 2 /* Pro */, 3 /* Enterprise */];
|
|
81
|
+
var subscriptionLimits = {
|
|
82
|
+
[0 /* Hobby */]: { apps: 5, seats: 1, apiKeys: 1, logRetentionDays: 7, monthlyLogs: 1e4, realtimeLogs: false, minPushLevel: Infinity },
|
|
83
|
+
[1 /* Dev */]: { apps: 10, seats: 5, apiKeys: 5, logRetentionDays: 30, monthlyLogs: 25e4, realtimeLogs: true, minPushLevel: 3 /* Error */ },
|
|
84
|
+
[2 /* Pro */]: { apps: 20, seats: 20, apiKeys: 15, logRetentionDays: 90, monthlyLogs: 2e6, realtimeLogs: true, minPushLevel: 2 /* Warn */ },
|
|
85
|
+
[3 /* Enterprise */]: { apps: Infinity, seats: Infinity, apiKeys: Infinity, logRetentionDays: Infinity, monthlyLogs: Infinity, realtimeLogs: true, minPushLevel: 0 /* Debug */ }
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
// src/utils/index.ts
|
|
89
|
+
var appearanceValues = ["system", "dark", "light"];
|
|
90
|
+
var isValidAppearance = (value) => appearanceValues.includes(value);
|
|
91
|
+
var isValidColor = (value) => /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(value);
|
|
92
|
+
var isValidLogLevel = (value) => logLevels.includes(value);
|
|
93
|
+
var isValidSubscriptionLevel = (value) => subscriptionLevels.includes(value);
|
|
94
|
+
var deviceLinkStatuses = ["pending", "approved", "denied"];
|
|
95
|
+
var isValidDeviceLinkStatus = (value) => deviceLinkStatuses.includes(value);
|
|
96
|
+
var teamMemberRoles = ["owner", "admin", "member"];
|
|
97
|
+
var isValidTeamMemberRole = (value) => teamMemberRoles.includes(value);
|
|
98
|
+
var isValidImageUrl = (value) => {
|
|
99
|
+
if (typeof value !== "string" || value.length === 0) return false;
|
|
100
|
+
try {
|
|
101
|
+
new URL(value);
|
|
102
|
+
return true;
|
|
103
|
+
} catch {
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
108
|
+
0 && (module.exports = {
|
|
109
|
+
LogLevel,
|
|
110
|
+
SubscriptionLevel,
|
|
111
|
+
isValidAppearance,
|
|
112
|
+
isValidColor,
|
|
113
|
+
isValidDeviceLinkStatus,
|
|
114
|
+
isValidImageUrl,
|
|
115
|
+
isValidLogLevel,
|
|
116
|
+
isValidSubscriptionLevel,
|
|
117
|
+
isValidTeamMemberRole,
|
|
118
|
+
logLevelNameToLevel,
|
|
119
|
+
logLevelToName,
|
|
120
|
+
logLevels,
|
|
121
|
+
subscriptionLevelToName,
|
|
122
|
+
subscriptionLevels,
|
|
123
|
+
subscriptionLimits
|
|
124
|
+
});
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// src/constants/logLevel.ts
|
|
2
|
+
var LogLevel = /* @__PURE__ */ ((LogLevel3) => {
|
|
3
|
+
LogLevel3[LogLevel3["Debug"] = 0] = "Debug";
|
|
4
|
+
LogLevel3[LogLevel3["Info"] = 1] = "Info";
|
|
5
|
+
LogLevel3[LogLevel3["Warn"] = 2] = "Warn";
|
|
6
|
+
LogLevel3[LogLevel3["Error"] = 3] = "Error";
|
|
7
|
+
LogLevel3[LogLevel3["Fatal"] = 4] = "Fatal";
|
|
8
|
+
return LogLevel3;
|
|
9
|
+
})(LogLevel || {});
|
|
10
|
+
var logLevelToName = {
|
|
11
|
+
[0 /* Debug */]: "debug",
|
|
12
|
+
[1 /* Info */]: "info",
|
|
13
|
+
[2 /* Warn */]: "warn",
|
|
14
|
+
[3 /* Error */]: "error",
|
|
15
|
+
[4 /* Fatal */]: "fatal"
|
|
16
|
+
};
|
|
17
|
+
var logLevelNameToLevel = {
|
|
18
|
+
debug: 0 /* Debug */,
|
|
19
|
+
info: 1 /* Info */,
|
|
20
|
+
warn: 2 /* Warn */,
|
|
21
|
+
error: 3 /* Error */,
|
|
22
|
+
fatal: 4 /* Fatal */
|
|
23
|
+
};
|
|
24
|
+
var logLevels = [0 /* Debug */, 1 /* Info */, 2 /* Warn */, 3 /* Error */, 4 /* Fatal */];
|
|
25
|
+
|
|
26
|
+
// src/constants/subscription.ts
|
|
27
|
+
var SubscriptionLevel = /* @__PURE__ */ ((SubscriptionLevel3) => {
|
|
28
|
+
SubscriptionLevel3[SubscriptionLevel3["Hobby"] = 0] = "Hobby";
|
|
29
|
+
SubscriptionLevel3[SubscriptionLevel3["Dev"] = 1] = "Dev";
|
|
30
|
+
SubscriptionLevel3[SubscriptionLevel3["Pro"] = 2] = "Pro";
|
|
31
|
+
SubscriptionLevel3[SubscriptionLevel3["Enterprise"] = 3] = "Enterprise";
|
|
32
|
+
return SubscriptionLevel3;
|
|
33
|
+
})(SubscriptionLevel || {});
|
|
34
|
+
var subscriptionLevelToName = {
|
|
35
|
+
[0 /* Hobby */]: "hobby",
|
|
36
|
+
[1 /* Dev */]: "dev",
|
|
37
|
+
[2 /* Pro */]: "pro",
|
|
38
|
+
[3 /* Enterprise */]: "enterprise"
|
|
39
|
+
};
|
|
40
|
+
var subscriptionLevels = [0 /* Hobby */, 1 /* Dev */, 2 /* Pro */, 3 /* Enterprise */];
|
|
41
|
+
var subscriptionLimits = {
|
|
42
|
+
[0 /* Hobby */]: { apps: 5, seats: 1, apiKeys: 1, logRetentionDays: 7, monthlyLogs: 1e4, realtimeLogs: false, minPushLevel: Infinity },
|
|
43
|
+
[1 /* Dev */]: { apps: 10, seats: 5, apiKeys: 5, logRetentionDays: 30, monthlyLogs: 25e4, realtimeLogs: true, minPushLevel: 3 /* Error */ },
|
|
44
|
+
[2 /* Pro */]: { apps: 20, seats: 20, apiKeys: 15, logRetentionDays: 90, monthlyLogs: 2e6, realtimeLogs: true, minPushLevel: 2 /* Warn */ },
|
|
45
|
+
[3 /* Enterprise */]: { apps: Infinity, seats: Infinity, apiKeys: Infinity, logRetentionDays: Infinity, monthlyLogs: Infinity, realtimeLogs: true, minPushLevel: 0 /* Debug */ }
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
// src/utils/index.ts
|
|
49
|
+
var appearanceValues = ["system", "dark", "light"];
|
|
50
|
+
var isValidAppearance = (value) => appearanceValues.includes(value);
|
|
51
|
+
var isValidColor = (value) => /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(value);
|
|
52
|
+
var isValidLogLevel = (value) => logLevels.includes(value);
|
|
53
|
+
var isValidSubscriptionLevel = (value) => subscriptionLevels.includes(value);
|
|
54
|
+
var deviceLinkStatuses = ["pending", "approved", "denied"];
|
|
55
|
+
var isValidDeviceLinkStatus = (value) => deviceLinkStatuses.includes(value);
|
|
56
|
+
var teamMemberRoles = ["owner", "admin", "member"];
|
|
57
|
+
var isValidTeamMemberRole = (value) => teamMemberRoles.includes(value);
|
|
58
|
+
var isValidImageUrl = (value) => {
|
|
59
|
+
if (typeof value !== "string" || value.length === 0) return false;
|
|
60
|
+
try {
|
|
61
|
+
new URL(value);
|
|
62
|
+
return true;
|
|
63
|
+
} catch {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
export {
|
|
68
|
+
LogLevel,
|
|
69
|
+
SubscriptionLevel,
|
|
70
|
+
isValidAppearance,
|
|
71
|
+
isValidColor,
|
|
72
|
+
isValidDeviceLinkStatus,
|
|
73
|
+
isValidImageUrl,
|
|
74
|
+
isValidLogLevel,
|
|
75
|
+
isValidSubscriptionLevel,
|
|
76
|
+
isValidTeamMemberRole,
|
|
77
|
+
logLevelNameToLevel,
|
|
78
|
+
logLevelToName,
|
|
79
|
+
logLevels,
|
|
80
|
+
subscriptionLevelToName,
|
|
81
|
+
subscriptionLevels,
|
|
82
|
+
subscriptionLimits
|
|
83
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infinitetoken/lumber-kit",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.21",
|
|
4
4
|
"description": "Shared TypeScript types and wire format contracts for the Lumber cloud logging suite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lumber",
|
|
@@ -17,58 +17,55 @@
|
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "git+https://github.com/infinitetoken/lumber-kit.git"
|
|
19
19
|
},
|
|
20
|
-
"license": "
|
|
20
|
+
"license": "MIT",
|
|
21
21
|
"author": "Jay Deaton",
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"type": "commonjs",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
26
|
"import": {
|
|
27
|
-
"types": "./dist/
|
|
28
|
-
"default": "./dist/
|
|
27
|
+
"types": "./dist/index.d.mts",
|
|
28
|
+
"default": "./dist/index.mjs"
|
|
29
29
|
},
|
|
30
30
|
"require": {
|
|
31
|
-
"types": "./dist/
|
|
32
|
-
"default": "./dist/
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"default": "./dist/index.js"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"main": "./dist/
|
|
37
|
-
"module": "./dist/
|
|
38
|
-
"types": "./dist/
|
|
36
|
+
"main": "./dist/index.js",
|
|
37
|
+
"module": "./dist/index.mjs",
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
39
|
"files": [
|
|
40
40
|
"dist"
|
|
41
41
|
],
|
|
42
42
|
"scripts": {
|
|
43
|
-
"build": "
|
|
44
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
45
|
-
"build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\": \"module\"}' > dist/esm/package.json && node scripts/fix-esm-imports.mjs",
|
|
43
|
+
"build": "tsup",
|
|
46
44
|
"clean": "rm -rf dist coverage",
|
|
47
45
|
"fix": "eslint . --fix",
|
|
48
46
|
"lint": "eslint .",
|
|
49
47
|
"prepublishOnly": "npm run build",
|
|
50
48
|
"release": "git push --follow-tags",
|
|
51
|
-
"release:major": "npm version major &&
|
|
52
|
-
"release:minor": "npm version minor &&
|
|
53
|
-
"release:patch": "npm version patch &&
|
|
49
|
+
"release:major": "npm version major && npm run release",
|
|
50
|
+
"release:minor": "npm version minor && npm run release",
|
|
51
|
+
"release:patch": "npm version patch && npm run release",
|
|
54
52
|
"test": "jest",
|
|
55
53
|
"typecheck": "tsc --noEmit",
|
|
56
|
-
"
|
|
54
|
+
"verify": "npm run lint && npm test && npm run typecheck && npm run build",
|
|
55
|
+
"preversion": "npm run verify"
|
|
57
56
|
},
|
|
57
|
+
"prettier": "@infinitetoken/eslint-config/prettier",
|
|
58
58
|
"devDependencies": {
|
|
59
|
+
"@infinitetoken/eslint-config": "^0.1.6",
|
|
60
|
+
"@infinitetoken/jest-config": "^0.1.3",
|
|
61
|
+
"@infinitetoken/tsconfig": "^0.2.0",
|
|
59
62
|
"@types/jest": "^30.0.0",
|
|
60
63
|
"@types/node": "^25.0.0",
|
|
61
|
-
"@typescript-eslint/parser": "^8.59.1",
|
|
62
64
|
"eslint": "^10.2.1",
|
|
63
|
-
"
|
|
64
|
-
"eslint-plugin-package-json": "^1.0.0",
|
|
65
|
-
"eslint-plugin-prettier": "^5.5.4",
|
|
66
|
-
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
67
|
-
"jest": "^30.3.0",
|
|
65
|
+
"jest": "^30.4.2",
|
|
68
66
|
"prettier": "^3.8.3",
|
|
69
|
-
"
|
|
70
|
-
"typescript": "^6.0.3"
|
|
71
|
-
"typescript-eslint": "^8.59.3"
|
|
67
|
+
"tsup": "^8.5.1",
|
|
68
|
+
"typescript": "^6.0.3"
|
|
72
69
|
},
|
|
73
70
|
"publishConfig": {
|
|
74
71
|
"access": "public"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./logLevel"), exports);
|
|
18
|
-
__exportStar(require("./subscription"), exports);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/** Log severity level. Numeric values match the existing Lumber-API level field. */
|
|
2
|
-
export declare const enum LogLevel {
|
|
3
|
-
Debug = 0,
|
|
4
|
-
Info = 1,
|
|
5
|
-
Warn = 2,
|
|
6
|
-
Error = 3,
|
|
7
|
-
Fatal = 4
|
|
8
|
-
}
|
|
9
|
-
/** String name for each log level. */
|
|
10
|
-
export type LogLevelName = 'debug' | 'info' | 'warn' | 'error' | 'fatal';
|
|
11
|
-
/** Maps numeric log level to its lowercase string name. */
|
|
12
|
-
export declare const logLevelToName: Record<number, LogLevelName>;
|
|
13
|
-
/** Maps lowercase log level name to its numeric value. */
|
|
14
|
-
export declare const logLevelNameToLevel: Record<LogLevelName, LogLevel>;
|
|
15
|
-
/** All valid log levels, ordered from least to most severe. */
|
|
16
|
-
export declare const logLevels: readonly LogLevel[];
|
|
17
|
-
//# sourceMappingURL=logLevel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logLevel.d.ts","sourceRoot":"","sources":["../../../src/constants/logLevel.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,0BAAkB,QAAQ;IACxB,KAAK,IAAI;IACT,IAAI,IAAI;IACR,IAAI,IAAI;IACR,KAAK,IAAI;IACT,KAAK,IAAI;CACV;AAED,sCAAsC;AACtC,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;AAExE,2DAA2D;AAC3D,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAMvD,CAAA;AAED,0DAA0D;AAC1D,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,YAAY,EAAE,QAAQ,CAM9D,CAAA;AAED,+DAA+D;AAC/D,eAAO,MAAM,SAAS,EAAE,SAAS,QAAQ,EAAmF,CAAA"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Source: D-01 (locked decision — do not change numeric values without a semver major bump)
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.logLevels = exports.logLevelNameToLevel = exports.logLevelToName = exports.LogLevel = void 0;
|
|
5
|
-
/** Log severity level. Numeric values match the existing Lumber-API level field. */
|
|
6
|
-
var LogLevel;
|
|
7
|
-
(function (LogLevel) {
|
|
8
|
-
LogLevel[LogLevel["Debug"] = 0] = "Debug";
|
|
9
|
-
LogLevel[LogLevel["Info"] = 1] = "Info";
|
|
10
|
-
LogLevel[LogLevel["Warn"] = 2] = "Warn";
|
|
11
|
-
LogLevel[LogLevel["Error"] = 3] = "Error";
|
|
12
|
-
LogLevel[LogLevel["Fatal"] = 4] = "Fatal";
|
|
13
|
-
})(LogLevel || (exports.LogLevel = LogLevel = {}));
|
|
14
|
-
/** Maps numeric log level to its lowercase string name. */
|
|
15
|
-
exports.logLevelToName = {
|
|
16
|
-
[0 /* LogLevel.Debug */]: 'debug',
|
|
17
|
-
[1 /* LogLevel.Info */]: 'info',
|
|
18
|
-
[2 /* LogLevel.Warn */]: 'warn',
|
|
19
|
-
[3 /* LogLevel.Error */]: 'error',
|
|
20
|
-
[4 /* LogLevel.Fatal */]: 'fatal'
|
|
21
|
-
};
|
|
22
|
-
/** Maps lowercase log level name to its numeric value. */
|
|
23
|
-
exports.logLevelNameToLevel = {
|
|
24
|
-
debug: 0 /* LogLevel.Debug */,
|
|
25
|
-
info: 1 /* LogLevel.Info */,
|
|
26
|
-
warn: 2 /* LogLevel.Warn */,
|
|
27
|
-
error: 3 /* LogLevel.Error */,
|
|
28
|
-
fatal: 4 /* LogLevel.Fatal */
|
|
29
|
-
};
|
|
30
|
-
/** All valid log levels, ordered from least to most severe. */
|
|
31
|
-
exports.logLevels = [0 /* LogLevel.Debug */, 1 /* LogLevel.Info */, 2 /* LogLevel.Warn */, 3 /* LogLevel.Error */, 4 /* LogLevel.Fatal */];
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/** User subscription level. Mirrors User.subscriptionLevel in Lumber-API. */
|
|
2
|
-
export declare const enum SubscriptionLevel {
|
|
3
|
-
Hobby = 0,
|
|
4
|
-
Dev = 1,
|
|
5
|
-
Pro = 2,
|
|
6
|
-
Enterprise = 3
|
|
7
|
-
}
|
|
8
|
-
/** String name for each subscription level, suitable for display and Redux state. */
|
|
9
|
-
export type SubscriptionLevelName = 'hobby' | 'dev' | 'pro' | 'enterprise';
|
|
10
|
-
/** Maps numeric subscription level to its string level name. */
|
|
11
|
-
export declare const subscriptionLevelToName: Record<SubscriptionLevel, SubscriptionLevelName>;
|
|
12
|
-
/** All valid subscription levels, ordered from least to most severe. */
|
|
13
|
-
export declare const subscriptionLevels: readonly SubscriptionLevel[];
|
|
14
|
-
export type SubscriptionLimits = {
|
|
15
|
-
apps: number;
|
|
16
|
-
seats: number;
|
|
17
|
-
apiKeys: number;
|
|
18
|
-
logRetentionDays: number;
|
|
19
|
-
monthlyLogs: number;
|
|
20
|
-
/** Whether real-time WebSocket log streaming is available. */
|
|
21
|
-
realtimeLogs: boolean;
|
|
22
|
-
/** Minimum log level that triggers a push notification. Infinity means push is disabled. */
|
|
23
|
-
minPushLevel: number;
|
|
24
|
-
};
|
|
25
|
-
/** Per-level resource limits. Use Infinity to mean unlimited or disabled. */
|
|
26
|
-
export declare const subscriptionLimits: Record<SubscriptionLevel, SubscriptionLimits>;
|
|
27
|
-
//# sourceMappingURL=subscription.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../src/constants/subscription.ts"],"names":[],"mappings":"AAIA,6EAA6E;AAC7E,0BAAkB,iBAAiB;IACjC,KAAK,IAAI;IACT,GAAG,IAAI;IACP,GAAG,IAAI;IACP,UAAU,IAAI;CACf;AAED,qFAAqF;AACrF,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,YAAY,CAAA;AAE1E,gEAAgE;AAChE,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,qBAAqB,CAKpF,CAAA;AAED,wEAAwE;AACxE,eAAO,MAAM,kBAAkB,EAAE,SAAS,iBAAiB,EAA0G,CAAA;AAErK,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,gBAAgB,EAAE,MAAM,CAAA;IACxB,WAAW,EAAE,MAAM,CAAA;IACnB,8DAA8D;IAC9D,YAAY,EAAE,OAAO,CAAA;IACrB,4FAA4F;IAC5F,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,6EAA6E;AAC7E,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,CAK5E,CAAA"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Source: D-02 (locked decision — do not change numeric values without a semver major bump)
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.subscriptionLimits = exports.subscriptionLevels = exports.subscriptionLevelToName = exports.SubscriptionLevel = void 0;
|
|
5
|
-
/** User subscription level. Mirrors User.subscriptionLevel in Lumber-API. */
|
|
6
|
-
var SubscriptionLevel;
|
|
7
|
-
(function (SubscriptionLevel) {
|
|
8
|
-
SubscriptionLevel[SubscriptionLevel["Hobby"] = 0] = "Hobby";
|
|
9
|
-
SubscriptionLevel[SubscriptionLevel["Dev"] = 1] = "Dev";
|
|
10
|
-
SubscriptionLevel[SubscriptionLevel["Pro"] = 2] = "Pro";
|
|
11
|
-
SubscriptionLevel[SubscriptionLevel["Enterprise"] = 3] = "Enterprise";
|
|
12
|
-
})(SubscriptionLevel || (exports.SubscriptionLevel = SubscriptionLevel = {}));
|
|
13
|
-
/** Maps numeric subscription level to its string level name. */
|
|
14
|
-
exports.subscriptionLevelToName = {
|
|
15
|
-
[0 /* SubscriptionLevel.Hobby */]: 'hobby',
|
|
16
|
-
[1 /* SubscriptionLevel.Dev */]: 'dev',
|
|
17
|
-
[2 /* SubscriptionLevel.Pro */]: 'pro',
|
|
18
|
-
[3 /* SubscriptionLevel.Enterprise */]: 'enterprise'
|
|
19
|
-
};
|
|
20
|
-
/** All valid subscription levels, ordered from least to most severe. */
|
|
21
|
-
exports.subscriptionLevels = [0 /* SubscriptionLevel.Hobby */, 1 /* SubscriptionLevel.Dev */, 2 /* SubscriptionLevel.Pro */, 3 /* SubscriptionLevel.Enterprise */];
|
|
22
|
-
/** Per-level resource limits. Use Infinity to mean unlimited or disabled. */
|
|
23
|
-
exports.subscriptionLimits = {
|
|
24
|
-
[0 /* SubscriptionLevel.Hobby */]: { apps: 5, seats: 1, apiKeys: 1, logRetentionDays: 7, monthlyLogs: 10000, realtimeLogs: false, minPushLevel: Infinity },
|
|
25
|
-
[1 /* SubscriptionLevel.Dev */]: { apps: 10, seats: 5, apiKeys: 5, logRetentionDays: 30, monthlyLogs: 250000, realtimeLogs: true, minPushLevel: 3 /* LogLevel.Error */ },
|
|
26
|
-
[2 /* SubscriptionLevel.Pro */]: { apps: 20, seats: 20, apiKeys: 15, logRetentionDays: 90, monthlyLogs: 2000000, realtimeLogs: true, minPushLevel: 2 /* LogLevel.Warn */ },
|
|
27
|
-
[3 /* SubscriptionLevel.Enterprise */]: { apps: Infinity, seats: Infinity, apiKeys: Infinity, logRetentionDays: Infinity, monthlyLogs: Infinity, realtimeLogs: true, minPushLevel: 0 /* LogLevel.Debug */ }
|
|
28
|
-
};
|
package/dist/cjs/index.d.ts
DELETED
package/dist/cjs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
package/dist/cjs/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./constants"), exports);
|
|
18
|
-
__exportStar(require("./types"), exports);
|
|
19
|
-
__exportStar(require("./utils"), exports);
|
package/dist/cjs/types/app.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Wrapped application encryption key for a specific user.
|
|
3
|
-
*/
|
|
4
|
-
export interface AppEncryptedKey {
|
|
5
|
-
userId: string;
|
|
6
|
-
encryptedKey: string;
|
|
7
|
-
keyVersion: number;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* API response shape for a listed or fetched app.
|
|
11
|
-
* encryptedKey is the requesting user's wrapped copy of the app key, or null if none exists.
|
|
12
|
-
*/
|
|
13
|
-
export interface AppRecord {
|
|
14
|
-
id: string;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
name: string;
|
|
18
|
-
color?: string;
|
|
19
|
-
imageUrl?: string;
|
|
20
|
-
teamId?: string;
|
|
21
|
-
encryptedKey: string | null;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* App creation response.
|
|
25
|
-
* Initial wrapped encryption key may optionally be returned.
|
|
26
|
-
*/
|
|
27
|
-
export interface AppCreatedRecord extends AppRecord {
|
|
28
|
-
apiKey?: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Machine authentication credential.
|
|
32
|
-
*/
|
|
33
|
-
export interface ApiKeyRecord {
|
|
34
|
-
id: string;
|
|
35
|
-
createdAt: string;
|
|
36
|
-
updatedAt: string;
|
|
37
|
-
appId: string;
|
|
38
|
-
name?: string;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* External guest granted access to a specific app without being a team member.
|
|
42
|
-
*/
|
|
43
|
-
export interface GuestRecord {
|
|
44
|
-
id: string;
|
|
45
|
-
createdAt: string;
|
|
46
|
-
updatedAt: string;
|
|
47
|
-
appId: string;
|
|
48
|
-
userId: string;
|
|
49
|
-
role: 'owner' | 'admin' | 'read' | 'write';
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Filter params for GET /apps.
|
|
53
|
-
*/
|
|
54
|
-
export interface AppsQuery {
|
|
55
|
-
teamId?: string;
|
|
56
|
-
from?: string;
|
|
57
|
-
to?: string;
|
|
58
|
-
sort?: string;
|
|
59
|
-
limit?: number;
|
|
60
|
-
cursor?: string;
|
|
61
|
-
}
|
|
62
|
-
//# sourceMappingURL=app.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/types/app.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IAEjB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IAEjB,KAAK,EAAE,MAAM,CAAA;IAEb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IAEjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IAEd,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
|
package/dist/cjs/types/app.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export type DeviceLinkStatus = 'pending' | 'approved' | 'denied';
|
|
2
|
-
/**
|
|
3
|
-
* Response from POST /device-links.
|
|
4
|
-
*/
|
|
5
|
-
export interface DeviceLinkCreatedRecord {
|
|
6
|
-
id: string;
|
|
7
|
-
expiresAt: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Response from GET /device-links/:id.
|
|
11
|
-
* encryptedKey is present only when status is 'approved'.
|
|
12
|
-
*/
|
|
13
|
-
export interface DeviceLinkRecord {
|
|
14
|
-
id: string;
|
|
15
|
-
status: DeviceLinkStatus;
|
|
16
|
-
encryptedKey?: string;
|
|
17
|
-
expiresAt: string;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=deviceLink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deviceLink.d.ts","sourceRoot":"","sources":["../../../src/types/deviceLink.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAA;AAEhE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;CAClB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,gBAAgB,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;CAClB"}
|
package/dist/cjs/types/flag.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface FlagRecord {
|
|
2
|
-
id: string;
|
|
3
|
-
createdAt: string;
|
|
4
|
-
updatedAt: string;
|
|
5
|
-
logId: string;
|
|
6
|
-
userId: string;
|
|
7
|
-
}
|
|
8
|
-
export interface FlagsQuery {
|
|
9
|
-
from?: string;
|
|
10
|
-
to?: string;
|
|
11
|
-
limit?: number;
|
|
12
|
-
cursor?: string;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=flag.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flag.d.ts","sourceRoot":"","sources":["../../../src/types/flag.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
|
package/dist/cjs/types/flag.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './app';
|
|
2
|
-
export * from './deviceLink';
|
|
3
|
-
export * from './flag';
|
|
4
|
-
export * from './log';
|
|
5
|
-
export * from './note';
|
|
6
|
-
export * from './response';
|
|
7
|
-
export * from './team';
|
|
8
|
-
export * from './timeseries';
|
|
9
|
-
export * from './user';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,OAAO,CAAA;AACrB,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA"}
|
package/dist/cjs/types/index.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./app"), exports);
|
|
18
|
-
__exportStar(require("./deviceLink"), exports);
|
|
19
|
-
__exportStar(require("./flag"), exports);
|
|
20
|
-
__exportStar(require("./log"), exports);
|
|
21
|
-
__exportStar(require("./note"), exports);
|
|
22
|
-
__exportStar(require("./response"), exports);
|
|
23
|
-
__exportStar(require("./team"), exports);
|
|
24
|
-
__exportStar(require("./timeseries"), exports);
|
|
25
|
-
__exportStar(require("./user"), exports);
|