Socket
Socket
Sign inDemoInstall

@files-stack/graphql-gql

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@files-stack/graphql-gql - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

1

lib/index.d.ts
export * from './mutations';
export * from './queries';
export * from './subscriptions';
export * from './schema';

@@ -106,2 +106,4 @@ module.exports =

__export(__webpack_require__(10));
__export(__webpack_require__(13));
__export(__webpack_require__(15));

@@ -386,4 +388,56 @@

/***/ }),
/* 13 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FILES_SUBSCRIPTION = __webpack_require__(14);
/***/ }),
/* 14 */
/***/ (function(module, exports) {
var doc = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"fileData"},"variableDefinitions":[],"directives":[],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":null,"name":{"kind":"Name","value":"fileData"},"arguments":[],"directives":[],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":null,"name":{"kind":"Name","value":"type"},"arguments":[],"directives":[],"selectionSet":null},{"kind":"Field","alias":null,"name":{"kind":"Name","value":"resource"},"arguments":[],"directives":[],"selectionSet":null}]}}]}}],"loc":{"start":0,"end":69}};
doc.loc.source = {"body":"subscription fileData {\n fileData {\n type\n resource\n }\n}\n","name":"GraphQL request","locationOffset":{"line":1,"column":1}};
var names = {};
function unique(defs) {
return defs.filter(
function(def) {
if (def.kind !== 'FragmentDefinition') return true;
var name = def.name.value
if (names[name]) {
return false;
} else {
names[name] = true;
return true;
}
}
)
}
module.exports = doc;
/***/ }),
/* 15 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var FileChangeType;
(function (FileChangeType) {
FileChangeType["UPDATED"] = "UPDATED";
FileChangeType["ADDED"] = "ADDED";
FileChangeType["DELETED"] = "DELETED";
})(FileChangeType = exports.FileChangeType || (exports.FileChangeType = {}));
/***/ })
/******/ ]);
//# sourceMappingURL=index.js.map

51

lib/schema.d.ts
export declare type IUpdateContentOptions = {
encoding: string | null;
overwriteEncoding: boolean | null;
overwriteReadonly: boolean | null;
mtime: string | null;
etag: string | null;
encoding?: string | null;
overwriteEncoding?: boolean | null;
overwriteReadonly?: boolean | null;
mtime?: string | null;
etag?: string | null;
};
export declare type CopyFileMutationVariables = {
export declare enum FileChangeType {
UPDATED = "UPDATED",
ADDED = "ADDED",
DELETED = "DELETED",
}
export declare type copyFileMutationVariables = {
source: string;
target: string;
};
export declare type CopyFileMutation = {
export declare type copyFileMutation = {
copyFile: {

@@ -23,6 +28,6 @@ resource: string;

};
export declare type CreateFileMutationVariables = {
export declare type createFileMutationVariables = {
resource: string;
};
export declare type CreateFileMutation = {
export declare type createFileMutation = {
createFile: {

@@ -38,6 +43,6 @@ resource: string;

};
export declare type CreateFolderMutationVariables = {
export declare type createFolderMutationVariables = {
resource: string;
};
export declare type CreateFolderMutation = {
export declare type createFolderMutation = {
createFolder: {

@@ -53,13 +58,13 @@ resource: string;

};
export declare type DeleteFileMutationVariables = {
export declare type deleteFileMutationVariables = {
resource: string;
};
export declare type DeleteFileMutation = {
export declare type deleteFileMutation = {
del: boolean | null;
};
export declare type MoveFileMutationVariables = {
export declare type moveFileMutationVariables = {
source: string;
target: string;
};
export declare type MoveFileMutation = {
export declare type moveFileMutation = {
moveFile: {

@@ -75,7 +80,7 @@ resource: string;

};
export declare type RenameFileMutationVariables = {
export declare type renameFileMutationVariables = {
resource: string;
newName: string;
};
export declare type RenameFileMutation = {
export declare type renameFileMutation = {
rename: {

@@ -91,3 +96,3 @@ resource: string;

};
export declare type SaveFileMutationVariables = {
export declare type saveFileMutationVariables = {
resource: string;

@@ -97,3 +102,3 @@ value: string;

};
export declare type SaveFileMutation = {
export declare type saveFileMutation = {
updateContent: {

@@ -142,5 +147,11 @@ resource: string;

size: number | null;
}> | null;
} | null> | null;
} | null;
};
export declare type fileDataSubscription = {
fileData: {
type: FileChangeType | null;
resource: string | null;
} | null;
};
export declare type FileSelfStatFragment = {

@@ -147,0 +158,0 @@ resource: string;

{
"name": "@files-stack/graphql-gql",
"version": "0.0.5",
"version": "0.0.6",
"description": "Sample core for higher packages to depend on",

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

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