@guinetik/primitives-ts 0.2.4 → 0.2.6
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 +145 -87
- package/dist/deployment-history.types.d.ts +35 -0
- package/dist/deployment-history.types.d.ts.map +1 -0
- package/dist/deployment-history.types.js +6 -0
- package/dist/github.types.d.ts +144 -0
- package/dist/github.types.d.ts.map +1 -0
- package/dist/github.types.js +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,87 +1,145 @@
|
|
|
1
|
-
# @guinetik/primitives-ts
|
|
2
|
-
|
|
3
|
-
Shared TypeScript primitives for Guinetik projects.
|
|
4
|
-
|
|
5
|
-
## Overview
|
|
6
|
-
|
|
7
|
-
This package contains pure TypeScript type definitions and interfaces used across the Guinetik ecosystem. It provides a single source of truth for data contracts between frontend and backend applications.
|
|
8
|
-
|
|
9
|
-
## Features
|
|
10
|
-
|
|
11
|
-
- ✅ **Pure TypeScript** - No runtime dependencies
|
|
12
|
-
- ✅ **Type-safe** - Full TypeScript support with declaration files
|
|
13
|
-
- ✅ **Lightweight** - Minimal bundle size
|
|
14
|
-
- ✅ **Universal** - Works in Node.js, browsers, and other JavaScript runtimes
|
|
15
|
-
|
|
16
|
-
## Installation
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
npm install @guinetik/primitives-ts
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Usage
|
|
23
|
-
|
|
24
|
-
```typescript
|
|
25
|
-
import { User, SystemMetrics, Container } from '@guinetik/primitives-ts';
|
|
26
|
-
|
|
27
|
-
// Use the types in your application
|
|
28
|
-
const user: User = {
|
|
29
|
-
uid: '123',
|
|
30
|
-
email: 'user@example.com',
|
|
31
|
-
displayName: 'John Doe'
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
const metrics: SystemMetrics = {
|
|
35
|
-
cpu: { usage: 45.2, cores: 4, model: 'Intel Xeon' },
|
|
36
|
-
memory: { used: 8, total: 16, percentage: 50 },
|
|
37
|
-
disk: { used: 100, total: 500, percentage: 20 },
|
|
38
|
-
uptime: 86400,
|
|
39
|
-
timestamp: new Date()
|
|
40
|
-
};
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Type Categories
|
|
44
|
-
|
|
45
|
-
### Authentication (`auth.types.ts`)
|
|
46
|
-
- `User` - User information
|
|
47
|
-
- `AuthResponse` - Authentication response
|
|
48
|
-
- `AuthProvider` - Authentication provider types
|
|
49
|
-
- `UserUpdateData` - User profile update data
|
|
50
|
-
- `LoginPayload` - Login request payload
|
|
51
|
-
|
|
52
|
-
### System Monitoring (`system.types.ts`)
|
|
53
|
-
- `SystemMetrics` - System metrics (CPU, memory, disk)
|
|
54
|
-
- `Container` - Docker container information
|
|
55
|
-
- `LogEntry` - Container log entry
|
|
56
|
-
- `NetworkStats` - Network statistics
|
|
57
|
-
- `DeploymentInfo` - Deployment information
|
|
58
|
-
- `CommandResult` - Shell command execution result
|
|
59
|
-
|
|
60
|
-
### Website Content (`website.types.ts`)
|
|
61
|
-
- `SiteContent` - Full site content structure
|
|
62
|
-
- `SiteMetadata` - Site metadata
|
|
63
|
-
- `Menu`, `MenuItem` - Navigation menu
|
|
64
|
-
- `Theme`, `ThemeConfig` - Theme configuration
|
|
65
|
-
- `Card`, `Tag` - Project/demo cards with tags
|
|
66
|
-
- `Experiment` - CodePen experiments
|
|
67
|
-
- `AboutSection`, `ProjectsSection`, `DemosSection`, `ReposSection` - Content sections
|
|
68
|
-
|
|
69
|
-
## Development
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
# Build the package
|
|
73
|
-
npm run build
|
|
74
|
-
|
|
75
|
-
# The build output will be in the dist/ folder
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
## Publishing
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
npm publish
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
1
|
+
# @guinetik/primitives-ts
|
|
2
|
+
|
|
3
|
+
Shared TypeScript primitives for Guinetik projects.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
This package contains pure TypeScript type definitions and interfaces used across the Guinetik ecosystem. It provides a single source of truth for data contracts between frontend and backend applications.
|
|
8
|
+
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
- ✅ **Pure TypeScript** - No runtime dependencies
|
|
12
|
+
- ✅ **Type-safe** - Full TypeScript support with declaration files
|
|
13
|
+
- ✅ **Lightweight** - Minimal bundle size
|
|
14
|
+
- ✅ **Universal** - Works in Node.js, browsers, and other JavaScript runtimes
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install @guinetik/primitives-ts
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { User, SystemMetrics, Container } from '@guinetik/primitives-ts';
|
|
26
|
+
|
|
27
|
+
// Use the types in your application
|
|
28
|
+
const user: User = {
|
|
29
|
+
uid: '123',
|
|
30
|
+
email: 'user@example.com',
|
|
31
|
+
displayName: 'John Doe'
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const metrics: SystemMetrics = {
|
|
35
|
+
cpu: { usage: 45.2, cores: 4, model: 'Intel Xeon' },
|
|
36
|
+
memory: { used: 8, total: 16, percentage: 50 },
|
|
37
|
+
disk: { used: 100, total: 500, percentage: 20 },
|
|
38
|
+
uptime: 86400,
|
|
39
|
+
timestamp: new Date()
|
|
40
|
+
};
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Type Categories
|
|
44
|
+
|
|
45
|
+
### Authentication (`auth.types.ts`)
|
|
46
|
+
- `User` - User information
|
|
47
|
+
- `AuthResponse` - Authentication response
|
|
48
|
+
- `AuthProvider` - Authentication provider types
|
|
49
|
+
- `UserUpdateData` - User profile update data
|
|
50
|
+
- `LoginPayload` - Login request payload
|
|
51
|
+
|
|
52
|
+
### System Monitoring (`system.types.ts`)
|
|
53
|
+
- `SystemMetrics` - System metrics (CPU, memory, disk)
|
|
54
|
+
- `Container` - Docker container information
|
|
55
|
+
- `LogEntry` - Container log entry
|
|
56
|
+
- `NetworkStats` - Network statistics
|
|
57
|
+
- `DeploymentInfo` - Deployment information
|
|
58
|
+
- `CommandResult` - Shell command execution result
|
|
59
|
+
|
|
60
|
+
### Website Content (`website.types.ts`)
|
|
61
|
+
- `SiteContent` - Full site content structure
|
|
62
|
+
- `SiteMetadata` - Site metadata
|
|
63
|
+
- `Menu`, `MenuItem` - Navigation menu
|
|
64
|
+
- `Theme`, `ThemeConfig` - Theme configuration
|
|
65
|
+
- `Card`, `Tag` - Project/demo cards with tags
|
|
66
|
+
- `Experiment` - CodePen experiments
|
|
67
|
+
- `AboutSection`, `ProjectsSection`, `DemosSection`, `ReposSection` - Content sections
|
|
68
|
+
|
|
69
|
+
## Development
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Build the package
|
|
73
|
+
npm run build
|
|
74
|
+
|
|
75
|
+
# The build output will be in the dist/ folder
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Publishing Workflow
|
|
79
|
+
|
|
80
|
+
### ⚠️ IMPORTANT: Never Link Locally
|
|
81
|
+
|
|
82
|
+
**DO NOT use `npm link` for local development!** Always publish to npm and install specific versions.
|
|
83
|
+
|
|
84
|
+
### Publishing Process
|
|
85
|
+
|
|
86
|
+
When you make changes to primitives:
|
|
87
|
+
|
|
88
|
+
1. **Bump the version** (automatically updates package.json and creates git tag):
|
|
89
|
+
```bash
|
|
90
|
+
cd primitives
|
|
91
|
+
npm version patch # for bug fixes (0.2.5 -> 0.2.6)
|
|
92
|
+
npm version minor # for new features (0.2.5 -> 0.3.0)
|
|
93
|
+
npm version major # for breaking changes (0.2.5 -> 1.0.0)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
2. **Build the package**:
|
|
97
|
+
```bash
|
|
98
|
+
npm run build
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
3. **Publish to npm** (requires `NPM_KEY` environment variable):
|
|
102
|
+
```bash
|
|
103
|
+
# The NPM_KEY is stored in Bitwarden and should be set as environment variable
|
|
104
|
+
# Set it with: $env:NPM_KEY = "your-npm-access-token"
|
|
105
|
+
npm publish --access public
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
4. **Update dependent projects** (api, admin):
|
|
109
|
+
```bash
|
|
110
|
+
# In api/package.json or admin/package.json, update the version:
|
|
111
|
+
# "@guinetik/primitives-ts": "0.2.6" (use exact version, no ^ or ~)
|
|
112
|
+
|
|
113
|
+
# Then install in each project
|
|
114
|
+
cd ../api
|
|
115
|
+
npm install
|
|
116
|
+
|
|
117
|
+
cd ../admin
|
|
118
|
+
npm install
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Why No Local Linking?
|
|
122
|
+
|
|
123
|
+
- **Prevents version drift** - Ensures all projects use exact versions
|
|
124
|
+
- **Avoids build issues** - npm link can cause TypeScript declaration file problems
|
|
125
|
+
- **Deployment consistency** - Production uses npm packages, dev should match
|
|
126
|
+
- **Simple workflow** - Publish is fast and ensures types are properly compiled
|
|
127
|
+
|
|
128
|
+
### NPM Authentication
|
|
129
|
+
|
|
130
|
+
The `NPM_KEY` environment variable contains the npm access token for publishing:
|
|
131
|
+
- Stored in: Bitwarden Secrets Manager
|
|
132
|
+
- Secret name: `NPM_KEY`
|
|
133
|
+
- Used by: Local development, CI/CD, and autonomous agents
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
# Fetch from Bitwarden (if you have access)
|
|
137
|
+
$env:NPM_KEY = (bws secret get NPM_KEY --output json | ConvertFrom-Json).value
|
|
138
|
+
|
|
139
|
+
# Or set manually if you have the token
|
|
140
|
+
$env:NPM_KEY = "npm_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## License
|
|
144
|
+
|
|
145
|
+
MIT © Guinetik
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deployment History Types
|
|
3
|
+
* Shared between API and Admin for deployment history tracking
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Deployment status types
|
|
7
|
+
*/
|
|
8
|
+
export type DeploymentRecordStatus = 'success' | 'failed' | 'in-progress';
|
|
9
|
+
/**
|
|
10
|
+
* Individual deployment record
|
|
11
|
+
*/
|
|
12
|
+
export interface DeploymentRecord {
|
|
13
|
+
/** Deployment timestamp (ISO 8601 string) */
|
|
14
|
+
timestamp: string;
|
|
15
|
+
/** Application name (api, admin, nginx, etc.) */
|
|
16
|
+
app: string;
|
|
17
|
+
/** Deployment status */
|
|
18
|
+
status: DeploymentRecordStatus;
|
|
19
|
+
/** User who deployed (e.g., 'system', 'guinetik', etc.) */
|
|
20
|
+
deployer: string;
|
|
21
|
+
/** Application version (if available from package.json) */
|
|
22
|
+
version?: string;
|
|
23
|
+
/** Deployment duration in seconds (if available) */
|
|
24
|
+
duration?: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Deployment history response
|
|
28
|
+
*/
|
|
29
|
+
export interface DeploymentHistoryResponse {
|
|
30
|
+
/** List of deployment records */
|
|
31
|
+
deployments: DeploymentRecord[];
|
|
32
|
+
/** Total number of deployments found */
|
|
33
|
+
total: number;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=deployment-history.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-history.types.d.ts","sourceRoot":"","sources":["../src/deployment-history.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAElB,iDAAiD;IACjD,GAAG,EAAE,MAAM,CAAC;IAEZ,wBAAwB;IACxB,MAAM,EAAE,sBAAsB,CAAC;IAE/B,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IAEjB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,iCAAiC;IACjC,WAAW,EAAE,gBAAgB,EAAE,CAAC;IAEhC,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GitHub API Types
|
|
3
|
+
*
|
|
4
|
+
* Types for GitHub REST API integration.
|
|
5
|
+
* Based on GitHub REST API v3 documentation.
|
|
6
|
+
*
|
|
7
|
+
* @see https://docs.github.com/en/rest
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* GitHub Repository Owner (User or Organization)
|
|
11
|
+
*/
|
|
12
|
+
export interface GitHubOwner {
|
|
13
|
+
login: string;
|
|
14
|
+
id: number;
|
|
15
|
+
node_id: string;
|
|
16
|
+
avatar_url: string;
|
|
17
|
+
gravatar_id: string;
|
|
18
|
+
url: string;
|
|
19
|
+
html_url: string;
|
|
20
|
+
followers_url: string;
|
|
21
|
+
following_url: string;
|
|
22
|
+
gists_url: string;
|
|
23
|
+
starred_url: string;
|
|
24
|
+
subscriptions_url: string;
|
|
25
|
+
organizations_url: string;
|
|
26
|
+
repos_url: string;
|
|
27
|
+
events_url: string;
|
|
28
|
+
received_events_url: string;
|
|
29
|
+
type: 'User' | 'Organization';
|
|
30
|
+
site_admin: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* GitHub Repository License
|
|
34
|
+
*/
|
|
35
|
+
export interface GitHubLicense {
|
|
36
|
+
key: string;
|
|
37
|
+
name: string;
|
|
38
|
+
spdx_id: string;
|
|
39
|
+
url: string | null;
|
|
40
|
+
node_id: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* GitHub Repository
|
|
44
|
+
*
|
|
45
|
+
* Represents a GitHub repository from the REST API.
|
|
46
|
+
* This is a proxy type - we pass through GitHub's response directly.
|
|
47
|
+
*/
|
|
48
|
+
export interface GitHubRepository {
|
|
49
|
+
id: number;
|
|
50
|
+
node_id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
full_name: string;
|
|
53
|
+
private: boolean;
|
|
54
|
+
owner: GitHubOwner;
|
|
55
|
+
html_url: string;
|
|
56
|
+
description: string | null;
|
|
57
|
+
fork: boolean;
|
|
58
|
+
url: string;
|
|
59
|
+
forks_url: string;
|
|
60
|
+
keys_url: string;
|
|
61
|
+
collaborators_url: string;
|
|
62
|
+
teams_url: string;
|
|
63
|
+
hooks_url: string;
|
|
64
|
+
issue_events_url: string;
|
|
65
|
+
events_url: string;
|
|
66
|
+
assignees_url: string;
|
|
67
|
+
branches_url: string;
|
|
68
|
+
tags_url: string;
|
|
69
|
+
blobs_url: string;
|
|
70
|
+
git_tags_url: string;
|
|
71
|
+
git_refs_url: string;
|
|
72
|
+
trees_url: string;
|
|
73
|
+
statuses_url: string;
|
|
74
|
+
languages_url: string;
|
|
75
|
+
stargazers_url: string;
|
|
76
|
+
contributors_url: string;
|
|
77
|
+
subscribers_url: string;
|
|
78
|
+
subscription_url: string;
|
|
79
|
+
commits_url: string;
|
|
80
|
+
git_commits_url: string;
|
|
81
|
+
comments_url: string;
|
|
82
|
+
issue_comment_url: string;
|
|
83
|
+
contents_url: string;
|
|
84
|
+
compare_url: string;
|
|
85
|
+
merges_url: string;
|
|
86
|
+
archive_url: string;
|
|
87
|
+
downloads_url: string;
|
|
88
|
+
issues_url: string;
|
|
89
|
+
pulls_url: string;
|
|
90
|
+
milestones_url: string;
|
|
91
|
+
notifications_url: string;
|
|
92
|
+
labels_url: string;
|
|
93
|
+
releases_url: string;
|
|
94
|
+
deployments_url: string;
|
|
95
|
+
created_at: string;
|
|
96
|
+
updated_at: string;
|
|
97
|
+
pushed_at: string;
|
|
98
|
+
git_url: string;
|
|
99
|
+
ssh_url: string;
|
|
100
|
+
clone_url: string;
|
|
101
|
+
svn_url: string;
|
|
102
|
+
homepage: string | null;
|
|
103
|
+
size: number;
|
|
104
|
+
stargazers_count: number;
|
|
105
|
+
watchers_count: number;
|
|
106
|
+
language: string | null;
|
|
107
|
+
has_issues: boolean;
|
|
108
|
+
has_projects: boolean;
|
|
109
|
+
has_downloads: boolean;
|
|
110
|
+
has_wiki: boolean;
|
|
111
|
+
has_pages: boolean;
|
|
112
|
+
has_discussions: boolean;
|
|
113
|
+
forks_count: number;
|
|
114
|
+
mirror_url: string | null;
|
|
115
|
+
archived: boolean;
|
|
116
|
+
disabled: boolean;
|
|
117
|
+
open_issues_count: number;
|
|
118
|
+
license: GitHubLicense | null;
|
|
119
|
+
allow_forking: boolean;
|
|
120
|
+
is_template: boolean;
|
|
121
|
+
web_commit_signoff_required: boolean;
|
|
122
|
+
topics: string[];
|
|
123
|
+
visibility: 'public' | 'private' | 'internal';
|
|
124
|
+
forks: number;
|
|
125
|
+
open_issues: number;
|
|
126
|
+
watchers: number;
|
|
127
|
+
default_branch: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* GitHub API Error Response
|
|
131
|
+
*/
|
|
132
|
+
export interface GitHubErrorResponse {
|
|
133
|
+
message: string;
|
|
134
|
+
documentation_url?: string;
|
|
135
|
+
status?: string;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* GitHub Repositories Response
|
|
139
|
+
*
|
|
140
|
+
* Response type for GET /user/repos
|
|
141
|
+
* This is an array of repositories.
|
|
142
|
+
*/
|
|
143
|
+
export type GitHubRepositoriesResponse = GitHubRepository[];
|
|
144
|
+
//# sourceMappingURL=github.types.d.ts.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AE,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './website.types';
|
|
|
13
13
|
export * from './firestore.types';
|
|
14
14
|
export * from './website-firestore.types';
|
|
15
15
|
export * from './totp.types';
|
|
16
|
+
export * from './deployment-history.types';
|
|
16
17
|
export type { Security, SecurityChallengeOptions, SecurityChallengeResult } from './security.interface';
|
|
17
18
|
export { SecurityLevel } from './security.interface';
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,cAAc,CAAC;AAG7B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,cAAc,CAAC;AAG7B,YAAY,EAAE,QAAQ,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACxG,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,cAAc,CAAC;AAG7B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,cAAc,CAAC;AAG7B,cAAc,4BAA4B,CAAC;AAG3C,YAAY,EAAE,QAAQ,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACxG,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -36,5 +36,7 @@ __exportStar(require("./firestore.types"), exports);
|
|
|
36
36
|
__exportStar(require("./website-firestore.types"), exports);
|
|
37
37
|
// TOTP/2FA types
|
|
38
38
|
__exportStar(require("./totp.types"), exports);
|
|
39
|
+
// Deployment history types
|
|
40
|
+
__exportStar(require("./deployment-history.types"), exports);
|
|
39
41
|
var security_interface_1 = require("./security.interface");
|
|
40
42
|
Object.defineProperty(exports, "SecurityLevel", { enumerable: true, get: function () { return security_interface_1.SecurityLevel; } });
|