@matt-attalla/jetsetters-network-types
TypeScript icon, indicating that this package has built-in type declarations

0.0.22 • Public • Published

Jetsetters Network Types

This package contains TypeScript models and enums used across the Jetsetters Network platform. It provides a structured way to manage and share models and enums between different Angular projects.

Features

  • Models: Contains various models for accounts, community, flights, payments, locations, and more.
  • Enums: Includes enums for flight types, onboarding steps, payment options, and other domain-specific entities.

Installation

To install the package in your project, run:

npm install @jetsetters-network/types

Usuage

Once installed, you can import models and enums into your project.

Importing Models

For example, to import the Account model from the package:

import { Account } from '@jetsetters-network/types/models/accounts/account.model';

const userAccount: Account = {
  id: 1,
  name: "John Doe",
  email: "john.doe@example.com",
  // ... other account properties
};

Importing Enums

Similarly, you can import enums like the Gender enum:

import { Gender } from '@jetsetters-network/types/enums/accounts/gender.enum';

const userGender: Gender = Gender.Male;

Development

  1. Clone the repository: git clone https://gitlab.com/jetsetters-network/types.git

  2. Install dependencies: npm install

  3. Build the package: npm run build

Publish

  1. Build the package: npm run build

  2. Change directory to dist cd dist

  3. Publish the package npm publish

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.221latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.221
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @matt-attalla/jetsetters-network-types

Weekly Downloads

1

Version

0.0.22

License

ISC

Unpacked Size

80.3 kB

Total Files

197

Last publish

Collaborators

  • matt-attalla