New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mybricks/sdk-for-app

Package Overview
Dependencies
Maintainers
8
Versions
292
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mybricks/sdk-for-app - npm Package Compare versions

Comparing version 0.0.37 to 0.0.38

src/apis/app/getInstalledList.ts

2

package.json
{
"name": "@mybricks/sdk-for-app",
"version": "0.0.37",
"version": "0.0.38",
"description": "SDK for application UI",

@@ -5,0 +5,0 @@ "main": "index.min.js",

@@ -10,3 +10,3 @@ import axios from 'axios';

export * as fileSystem from './apis/fileSystem';
export * from './apis';

@@ -13,0 +13,0 @@ export const user = {

import axios from 'axios';
import { getUserInfo } from './../../utils'
import { FileItem } from './../type'
interface FileItem {
id: number
name: string
parentId: number | null
description: string | null
extName: string
createTime: string
creatorId: string
creatorName: string
updateTime: string
}
export default (params = {}): Promise<FileItem[]> => {

@@ -17,0 +6,0 @@ const { parentId } = params

import axios from 'axios';
import { VersionItem } from './../type'
interface FileItem {
id: number
name: string
parentId: number | null
description: string | null
extName: string
createTime: string
creatorId: string
creatorName: string
updateTime: string
}
interface Params {

@@ -21,3 +10,3 @@ fileId: number | string

export default (params: Params): Promise<FileItem[]> => {
export default (params: Params): Promise<VersionItem[]> => {
const { fileId, pageIndex = 1, pageSize = 100 } = params ?? {}

@@ -24,0 +13,0 @@ return axios({

export { default as openPanel } from './openPanel'
export { default as getVersions } from './getVersions'
export { default as getVersions } from './getVersions'
export { default as getAll } from './getAll'
export { default as getPublishContent } from './getPublishContent'

Sorry, the diff of this file is not supported yet

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