KCDS SDK 1.0.1: TypeScript declarations

Generated from the SDK of this release (the same API as https://kcdsynced.com/docs).

  shared.d.ts       the types server and client scripts have alike (Vector3, Quaternion, ...)
  server-api.d.ts   what server scripts have
  client-api.d.ts   what client scripts have

A resource's server scripts are checked with shared.d.ts and server-api.d.ts, its client scripts
with shared.d.ts and client-api.d.ts (two tsconfig projects, or /// <reference path> lines).
Where the API gives no type, "any" stands in.

For Lua scripts, lua/ has the same API as annotations for the Lua language server (LuaLS):

  lua/kcds-server.lua   what server scripts have
  lua/kcds-client.lua   what client scripts have

List the side's file under workspace.library in the resource's .luarc.json.

For C# scripts, csharp/ has the SDK as a .NET assembly, with its documentation for the editor:

  csharp/Kcds.Sdk.dll    the typed SDK a C# resource is built against (the host has its own copy)
  csharp/Kcds.Sdk.xml    its documentation comments
  csharp/template/       a resource to start from: server/ and client/ projects, package.json

Copy csharp/template to the resource's folder, keep Kcds.Sdk.dll one folder above it (or pass
-p:KcdsSdk=<path>), and run `dotnet build -c Release` in server/ and client/ (the .NET 9 SDK).
The scripts land in bin/server/ and bin/client/, which package.json lists; players get only
bin/client/.
