Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

279map-backend-common

Package Overview
Dependencies
Maintainers
1
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

279map-backend-common - npm Package Compare versions

Comparing version 0.6.6 to 0.7.0

16

dist/cjs/types/types/schema.d.ts
import { Auth, MapKind } from '../279map-common';
export declare type Kind = 'GPX' | 'Trace' | 'Item' | 'Content' | 'Icon';
export declare enum PublicRange {

@@ -22,7 +21,7 @@ Public = "Public",

};
export declare type ContentsDbInfoTable = {
contents_db_id: string;
export declare type ItemGroupTable = {
item_group_id: string;
map_page_id: string;
kind: Kind;
sync_service_name: string;
sync_name: string;
map_kind: MapKind;
last_edited_time: string;

@@ -32,3 +31,3 @@ };

track_page_id: string;
contents_db_id: string;
item_group_id: string;
name: string;

@@ -51,3 +50,3 @@ last_edited_time: string;

item_page_id: string;
contents_db_id: string;
map_page_id: string;
name: string | null;

@@ -59,3 +58,2 @@ location: {

geo_properties: string;
map_kind: MapKind;
last_edited_time: string;

@@ -88,3 +86,3 @@ };

icon_page_id: string;
contents_db_id: string;
map_page_id: string;
caption: string;

@@ -91,0 +89,0 @@ base64: string;

import { Auth, MapKind } from '../279map-common';
export declare type Kind = 'GPX' | 'Trace' | 'Item' | 'Content' | 'Icon';
export declare enum PublicRange {

@@ -22,7 +21,7 @@ Public = "Public",

};
export declare type ContentsDbInfoTable = {
contents_db_id: string;
export declare type ItemGroupTable = {
item_group_id: string;
map_page_id: string;
kind: Kind;
sync_service_name: string;
sync_name: string;
map_kind: MapKind;
last_edited_time: string;

@@ -32,3 +31,3 @@ };

track_page_id: string;
contents_db_id: string;
item_group_id: string;
name: string;

@@ -51,3 +50,3 @@ last_edited_time: string;

item_page_id: string;
contents_db_id: string;
map_page_id: string;
name: string | null;

@@ -59,3 +58,2 @@ location: {

geo_properties: string;
map_kind: MapKind;
last_edited_time: string;

@@ -88,3 +86,3 @@ };

icon_page_id: string;
contents_db_id: string;
map_page_id: string;
caption: string;

@@ -91,0 +89,0 @@ base64: string;

@@ -165,3 +165,2 @@ /// <reference types="multer" />

declare type Kind = 'GPX' | 'Trace' | 'Item' | 'Content' | 'Icon';
declare enum PublicRange {

@@ -186,7 +185,7 @@ Public = "Public",

};
declare type ContentsDbInfoTable = {
contents_db_id: string;
declare type ItemGroupTable = {
item_group_id: string;
map_page_id: string;
kind: Kind;
sync_service_name: string;
sync_name: string;
map_kind: MapKind;
last_edited_time: string;

@@ -196,3 +195,3 @@ };

track_page_id: string;
contents_db_id: string;
item_group_id: string;
name: string;

@@ -215,3 +214,3 @@ last_edited_time: string;

item_page_id: string;
contents_db_id: string;
map_page_id: string;
name: string | null;

@@ -223,3 +222,2 @@ location: {

geo_properties: string;
map_kind: MapKind;
last_edited_time: string;

@@ -252,3 +250,3 @@ };

icon_page_id: string;
contents_db_id: string;
map_page_id: string;
caption: string;

@@ -259,3 +257,2 @@ base64: string;

type schema_d_Kind = Kind;
type schema_d_PublicRange = PublicRange;

@@ -265,3 +262,3 @@ declare const schema_d_PublicRange: typeof PublicRange;

type schema_d_MapUserTable = MapUserTable;
type schema_d_ContentsDbInfoTable = ContentsDbInfoTable;
type schema_d_ItemGroupTable = ItemGroupTable;
type schema_d_TracksTable = TracksTable;

@@ -277,7 +274,6 @@ type schema_d_TrackFilesTable = TrackFilesTable;

export {
schema_d_Kind as Kind,
schema_d_PublicRange as PublicRange,
schema_d_MapPageInfoTable as MapPageInfoTable,
schema_d_MapUserTable as MapUserTable,
schema_d_ContentsDbInfoTable as ContentsDbInfoTable,
schema_d_ItemGroupTable as ItemGroupTable,
schema_d_TracksTable as TracksTable,

@@ -284,0 +280,0 @@ schema_d_TrackFilesTable as TrackFilesTable,

{
"name": "279map-backend-common",
"version": "0.6.6",
"version": "0.7.0",
"description": "279map backend common modules",

@@ -5,0 +5,0 @@ "scripts": {

# 279map-backend-common
This is the common modules for backend.
```mermaid
flowchart RL
subgraph frontend
subgraph 279map-core
279map-common-core["279map-common"]
end
279map-frontend -. use .-> 279map-core
end
subgraph backend
db[("279map-db")]
subgraph 279map-backend-main
api-interface["api-interface (private)"]
end
subgraph 279map-backend-common
279map-common-backend["279map-common"]
end
279map-backend-main <--> odba
279map-backend-main <--> db
odba <--> db
fs["fs (option)"] <--> 279map-backend-main
fs <--> odba
279map-backend-main -. use .-> 279map-backend-common
odba -. use .-> 279map-backend-common
fs -. use .-> 279map-backend-common
end
279map-core -.-> api-interface
original-db[("Original DB")] <--> odba
style 279map-backend-common fill:#faa, stroke:#f55
```
## Deploy
1. build
1. update version.
```shell
npm version patch
```
2. build
```shell
npm run rollup
```
2. update version in `package.json`.
3. execute `npm i` to update the version in `packege-lock.json`.
4. publish
3. publish
```shell
npm publish ./
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc