├── .env ├── .gitignore ├── CHANGELOG.md ├── README.md ├── jest.config.js ├── package.json ├── package.json.prod ├── src ├── builder │ ├── index.ts │ ├── instruction-builder.ts │ └── job-builder.ts ├── config │ ├── error.ts │ ├── index.ts │ ├── job-config.ts │ ├── job-constants.ts │ └── program-id.ts ├── idl │ ├── index.ts │ └── snowflake.json ├── index.ts ├── model │ ├── index.ts │ ├── job-layout.ts │ └── job.ts ├── service │ ├── finder.ts │ ├── index.ts │ ├── snowflake.ts │ └── transaction-sender.ts └── tsconfig.json ├── test-env.js ├── test ├── job-builder.test.ts ├── model.test.ts ├── snowflake.test.ts └── test-data.ts ├── tsconfig.json └── yarn.lock /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/package.json -------------------------------------------------------------------------------- /package.json.prod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/package.json.prod -------------------------------------------------------------------------------- /src/builder/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/builder/index.ts -------------------------------------------------------------------------------- /src/builder/instruction-builder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/builder/instruction-builder.ts -------------------------------------------------------------------------------- /src/builder/job-builder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/builder/job-builder.ts -------------------------------------------------------------------------------- /src/config/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/config/error.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/config/job-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/config/job-config.ts -------------------------------------------------------------------------------- /src/config/job-constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/config/job-constants.ts -------------------------------------------------------------------------------- /src/config/program-id.ts: -------------------------------------------------------------------------------- 1 | export const SNOWFLAKE_PROGRAM_ID = 2 | "BiVwqu45yQTxqTTTAD1UrMZNyZ3qsEVqKwTEfG9BvUs6"; 3 | -------------------------------------------------------------------------------- /src/idl/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/idl/index.ts -------------------------------------------------------------------------------- /src/idl/snowflake.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/idl/snowflake.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/model/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/model/index.ts -------------------------------------------------------------------------------- /src/model/job-layout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/model/job-layout.ts -------------------------------------------------------------------------------- /src/model/job.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/model/job.ts -------------------------------------------------------------------------------- /src/service/finder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/service/finder.ts -------------------------------------------------------------------------------- /src/service/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./snowflake"; 2 | -------------------------------------------------------------------------------- /src/service/snowflake.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/service/snowflake.ts -------------------------------------------------------------------------------- /src/service/transaction-sender.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/src/service/transaction-sender.ts -------------------------------------------------------------------------------- /src/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json" 3 | } -------------------------------------------------------------------------------- /test-env.js: -------------------------------------------------------------------------------- 1 | require("dotenv").config(); 2 | -------------------------------------------------------------------------------- /test/job-builder.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/test/job-builder.test.ts -------------------------------------------------------------------------------- /test/model.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/test/model.test.ts -------------------------------------------------------------------------------- /test/snowflake.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/test/snowflake.test.ts -------------------------------------------------------------------------------- /test/test-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/test/test-data.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snowflake-so/snowflake-sdk/HEAD/yarn.lock --------------------------------------------------------------------------------