open-index/open-npm huggingface dataset:
npm package: @s7monk/admin-dashboard
Description: This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Latest version: 2.8.23

# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

- Configure the top-level `parserOptions` property like this:

```js
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
```

- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
npm package: @s7t/ckeditor5-section
Description: Section feature for CKEditor 5.
Latest version: 1.0.4

CKEditor 5 Section feature
========================================

[![npm version](https://www.npmjs.com/package/@s7t/ckeditor5-section)]


This package implements section-tag support for CKEditor 5.

This package is modified official BlockQuote CKeditor 5 plugin.

## Install
    npm i @s7t/ckeditor5-section

## Usage

    import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor.js';
    ...
    import Section from '@s7t/ckeditor5-section/src/section.js';

    class Editor extends ClassicEditor {}

    // Plugins to include in the build.
    Editor.builtinPlugins = [
        ...
        Section
    ];

    // Editor configuration.
    Editor.defaultConfig = {
        toolbar: {
            items: [
                ...
                'htmlSection'
            ]
        }
    }
    export default Editor;

## Documentation

See the [`@ckeditor/ckeditor5-block-quote` package](https://ckeditor.com/docs/ckeditor5/latest/api/block-quote.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).

## License

Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license).
npm package: @s88d-puppy/dbal
Description: Database Abstraction Layer for S88D Puppy Project
Latest version: 2.0.12

# [PKG-DBAL] Database Abstraction Layer

## Required Environment Variables

### `CACHE_ADAPTER`

 - `dyanamodb`

### `DB_ADAPTER`

- `dyanamodb`

### `MQ_ADAPTER`

- `sqs` `local` `none`

### `ROOT_DIRECTORY`

- For local development using `local` `MQ_ADAPTER`. Can be omitted for cloud deployment.

### `DYNAMODB_ENDPOINT`

- For local development. Can be omitted for cloud deployment.

### `TABLE_PREFIX`

- Will yield `${TABLE_PREFIX}_graph`

## Model Subclass Structure

```javascript
'use strict'

const Model = require('@s88d-puppy/dbal')

class Entity extends Model {

    constructor() {
        
        super()
    
        this.attributes = {
            [attribute_name] : [
                'identifier',               // Creates index, implies uniqueness
                'foreign',                  // Creates a foreign key (id in another microservice)
                'namespace:field'           // Creates an identifier within a namespace (determined by field)
                'mutable',                  // Makes attribute updateable
                'format:email',
                'format:url',
                'format:slug',
                'format:json',
                'format:mobile',
                'in:value1,value2,value3'
            ]
            ...
        }
        
        this.edges = {
            [label_name]: [
                ordinality,         // 0 or 1
                cardinality         // 1 or N
            ]
            ...
        }
    
    }
    
    async beforeCreate(data) {

        data.key = 'value'

    }
    
    async afterCreate(record) {
        
        // Some logic
    
    }
    
    async beforeUpdate(data) {

        data.key = 'value'

    }
    
    async afterUpdate(data) {
        
        // Some logic
    
    }

}

module.exports = Entity

```


## Model Class Functions

```javascript
async getAll()
async getByIds(ids)
async getById(id)
async getByIdOrThrow(id)
async getByIdentifier(identifier, value)
async getByIdentifierWithinNamespace(identifier, value, namespace)
async getByForeignKey(foreign_key, value)
async getEdge(id, edge)
async create(data = {}, context = 'create', contextVars = {})
async linkEdge(id, edge_label, edge_id, data = {})
async unlinkEdge(id, edge_label, edge_id)
async updateById(id, data = {}, context = 'update', contextVars = {})
async deleteById(id, context = 'delete', contextVars = {})
async search(query, perPage=10, page=1, sortField, sortOrder)
```

## Model Class Hooks

```javascript
async beforeCreate(data)
async afterCreate(record)
async beforeUpdate(data)
async afterUpdate(record)
```

## Attribute Formats

- `email`
- `url`
- `slug`
- `json`
- `mobile`

## Error Codes

- `MS1-MOD001: Invalid edge (:edge)`
- `MS1-MOD002: Missing edge (:edge)`
- `MS1-MOD003: Record not found (:label-:id)`
- `MS1-MOD004: Validation error`
- `MS1-MOD005: Cannot link more than :cardinality edges on :node-:edge`
- `MS1-MOD006: Cannot link less than :ordinality edges on :node-:edge`
npm package: @s88d-puppy/mscal
Description: Microservice Client Abstraction Layer
Latest version: 1.0.4

# [PKG-MSCAL] Microservice Client Abstraction Layer

## Required Environment Variables

### `MS_CLIENT_ADAPTER`

- `lambda` `local`

### `REGION`

### `STAGE`

### `ROOT_DIRECTORY` (for local client adapter)