@servicenow/sdk - v4.4.1
    Preparing search index...

    Arguments for FileRequest messages.

    interface GetPasteEditsRequestArgs {
        copiedFrom?: { file: string; spans: tsc.server.protocol.TextSpan[] };
        file: string;
        pastedText: string[];
        pasteLocations: tsc.server.protocol.TextSpan[];
        projectFileName?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    copiedFrom?: { file: string; spans: tsc.server.protocol.TextSpan[] }

    The source location of each pastedText. If present, the length of spans must be equal to the length of pastedText.

    file: string

    The file for the request (absolute pathname required).

    pastedText: string[]

    The text that gets pasted in a file.

    pasteLocations: tsc.server.protocol.TextSpan[]

    Locations of where the pastedText gets added in a file. If the length of the pastedText and pastedLocations are not the same, then the pastedText is combined into one and added at all the pastedLocations.

    projectFileName?: string