bitsnap-react 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -90
- package/dist/index.d.ts +1 -90
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import z__default from 'zod';
|
|
4
|
-
import { Message } from '@bufbuild/protobuf';
|
|
5
4
|
|
|
6
5
|
type AppleButtonType = "plain" | "add-money" | "book" | "buy" | "check-out" | "continue" | "contribute" | "donate" | "order" | "pay" | "reload" | "rent" | "set-up" | "subscribe" | "support" | "tip" | "top-up";
|
|
7
6
|
type ColorType = "black" | "white" | "white-outline";
|
|
@@ -315,94 +314,6 @@ declare function injectReferenceToRequestIfNeeded(request: LinkRequest): LinkReq
|
|
|
315
314
|
|
|
316
315
|
declare const PanelLogin: () => react_jsx_runtime.JSX.Element;
|
|
317
316
|
|
|
318
|
-
/**
|
|
319
|
-
* @generated from message public_api.v1.UserProduct
|
|
320
|
-
*/
|
|
321
|
-
type UserProduct = Message<"public_api.v1.UserProduct"> & {
|
|
322
|
-
/**
|
|
323
|
-
* @generated from field: string project_id = 1;
|
|
324
|
-
*/
|
|
325
|
-
projectId: string;
|
|
326
|
-
/**
|
|
327
|
-
* @generated from field: string project_name = 2;
|
|
328
|
-
*/
|
|
329
|
-
projectName: string;
|
|
330
|
-
/**
|
|
331
|
-
* @generated from field: string product_id = 3;
|
|
332
|
-
*/
|
|
333
|
-
productId: string;
|
|
334
|
-
/**
|
|
335
|
-
* @generated from field: string product_name = 4;
|
|
336
|
-
*/
|
|
337
|
-
productName: string;
|
|
338
|
-
/**
|
|
339
|
-
* @generated from field: string product_description = 5;
|
|
340
|
-
*/
|
|
341
|
-
productDescription: string;
|
|
342
|
-
/**
|
|
343
|
-
* @generated from field: string product_image_url = 6;
|
|
344
|
-
*/
|
|
345
|
-
productImageUrl: string;
|
|
346
|
-
/**
|
|
347
|
-
* @generated from field: public_api.v1.UserProductType product_type = 7;
|
|
348
|
-
*/
|
|
349
|
-
productType: UserProductType;
|
|
350
|
-
/**
|
|
351
|
-
* @generated from field: string access_id = 8;
|
|
352
|
-
*/
|
|
353
|
-
accessId: string;
|
|
354
|
-
/**
|
|
355
|
-
* @generated from field: optional public_api.v1.ProjectTheme project_theme = 9;
|
|
356
|
-
*/
|
|
357
|
-
projectTheme?: ProjectTheme;
|
|
358
|
-
/**
|
|
359
|
-
* @generated from field: optional string project_description = 10;
|
|
360
|
-
*/
|
|
361
|
-
projectDescription?: string;
|
|
362
|
-
};
|
|
363
|
-
/**
|
|
364
|
-
* @generated from message public_api.v1.ProjectTheme
|
|
365
|
-
*/
|
|
366
|
-
type ProjectTheme = Message<"public_api.v1.ProjectTheme"> & {
|
|
367
|
-
/**
|
|
368
|
-
* @generated from field: optional string image_url = 1;
|
|
369
|
-
*/
|
|
370
|
-
imageUrl?: string;
|
|
371
|
-
/**
|
|
372
|
-
* @generated from field: optional string image_dark_url = 2;
|
|
373
|
-
*/
|
|
374
|
-
imageDarkUrl?: string;
|
|
375
|
-
/**
|
|
376
|
-
* @generated from field: optional string brand_color = 3;
|
|
377
|
-
*/
|
|
378
|
-
brandColor?: string;
|
|
379
|
-
/**
|
|
380
|
-
* @generated from field: optional string brand_color_dark = 4;
|
|
381
|
-
*/
|
|
382
|
-
brandColorDark?: string;
|
|
383
|
-
};
|
|
384
|
-
/**
|
|
385
|
-
* @generated from enum public_api.v1.UserProductType
|
|
386
|
-
*/
|
|
387
|
-
declare enum UserProductType {
|
|
388
|
-
/**
|
|
389
|
-
* @generated from enum value: USER_PRODUCT_TYPE_UNKNOWN = 0;
|
|
390
|
-
*/
|
|
391
|
-
UNKNOWN = 0,
|
|
392
|
-
/**
|
|
393
|
-
* @generated from enum value: USER_PRODUCT_TYPE_AUDIO = 1;
|
|
394
|
-
*/
|
|
395
|
-
AUDIO = 1,
|
|
396
|
-
/**
|
|
397
|
-
* @generated from enum value: USER_PRODUCT_TYPE_FILE = 2;
|
|
398
|
-
*/
|
|
399
|
-
FILE = 2,
|
|
400
|
-
/**
|
|
401
|
-
* @generated from enum value: USER_PRODUCT_TYPE_TICKET = 3;
|
|
402
|
-
*/
|
|
403
|
-
TICKET = 3
|
|
404
|
-
}
|
|
405
|
-
|
|
406
317
|
declare const PanelPage: () => react_jsx_runtime.JSX.Element;
|
|
407
318
|
|
|
408
319
|
interface Props {
|
|
@@ -423,7 +334,7 @@ interface GetThemeOutput {
|
|
|
423
334
|
}
|
|
424
335
|
type PanelScreen = "products" | "notifications" | "profile" | "plans" | "orders" | "order-details";
|
|
425
336
|
type PanelSearchParamsType = {
|
|
426
|
-
product?:
|
|
337
|
+
product?: string;
|
|
427
338
|
state: PanelScreen;
|
|
428
339
|
orderId?: string;
|
|
429
340
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import z__default from 'zod';
|
|
4
|
-
import { Message } from '@bufbuild/protobuf';
|
|
5
4
|
|
|
6
5
|
type AppleButtonType = "plain" | "add-money" | "book" | "buy" | "check-out" | "continue" | "contribute" | "donate" | "order" | "pay" | "reload" | "rent" | "set-up" | "subscribe" | "support" | "tip" | "top-up";
|
|
7
6
|
type ColorType = "black" | "white" | "white-outline";
|
|
@@ -315,94 +314,6 @@ declare function injectReferenceToRequestIfNeeded(request: LinkRequest): LinkReq
|
|
|
315
314
|
|
|
316
315
|
declare const PanelLogin: () => react_jsx_runtime.JSX.Element;
|
|
317
316
|
|
|
318
|
-
/**
|
|
319
|
-
* @generated from message public_api.v1.UserProduct
|
|
320
|
-
*/
|
|
321
|
-
type UserProduct = Message<"public_api.v1.UserProduct"> & {
|
|
322
|
-
/**
|
|
323
|
-
* @generated from field: string project_id = 1;
|
|
324
|
-
*/
|
|
325
|
-
projectId: string;
|
|
326
|
-
/**
|
|
327
|
-
* @generated from field: string project_name = 2;
|
|
328
|
-
*/
|
|
329
|
-
projectName: string;
|
|
330
|
-
/**
|
|
331
|
-
* @generated from field: string product_id = 3;
|
|
332
|
-
*/
|
|
333
|
-
productId: string;
|
|
334
|
-
/**
|
|
335
|
-
* @generated from field: string product_name = 4;
|
|
336
|
-
*/
|
|
337
|
-
productName: string;
|
|
338
|
-
/**
|
|
339
|
-
* @generated from field: string product_description = 5;
|
|
340
|
-
*/
|
|
341
|
-
productDescription: string;
|
|
342
|
-
/**
|
|
343
|
-
* @generated from field: string product_image_url = 6;
|
|
344
|
-
*/
|
|
345
|
-
productImageUrl: string;
|
|
346
|
-
/**
|
|
347
|
-
* @generated from field: public_api.v1.UserProductType product_type = 7;
|
|
348
|
-
*/
|
|
349
|
-
productType: UserProductType;
|
|
350
|
-
/**
|
|
351
|
-
* @generated from field: string access_id = 8;
|
|
352
|
-
*/
|
|
353
|
-
accessId: string;
|
|
354
|
-
/**
|
|
355
|
-
* @generated from field: optional public_api.v1.ProjectTheme project_theme = 9;
|
|
356
|
-
*/
|
|
357
|
-
projectTheme?: ProjectTheme;
|
|
358
|
-
/**
|
|
359
|
-
* @generated from field: optional string project_description = 10;
|
|
360
|
-
*/
|
|
361
|
-
projectDescription?: string;
|
|
362
|
-
};
|
|
363
|
-
/**
|
|
364
|
-
* @generated from message public_api.v1.ProjectTheme
|
|
365
|
-
*/
|
|
366
|
-
type ProjectTheme = Message<"public_api.v1.ProjectTheme"> & {
|
|
367
|
-
/**
|
|
368
|
-
* @generated from field: optional string image_url = 1;
|
|
369
|
-
*/
|
|
370
|
-
imageUrl?: string;
|
|
371
|
-
/**
|
|
372
|
-
* @generated from field: optional string image_dark_url = 2;
|
|
373
|
-
*/
|
|
374
|
-
imageDarkUrl?: string;
|
|
375
|
-
/**
|
|
376
|
-
* @generated from field: optional string brand_color = 3;
|
|
377
|
-
*/
|
|
378
|
-
brandColor?: string;
|
|
379
|
-
/**
|
|
380
|
-
* @generated from field: optional string brand_color_dark = 4;
|
|
381
|
-
*/
|
|
382
|
-
brandColorDark?: string;
|
|
383
|
-
};
|
|
384
|
-
/**
|
|
385
|
-
* @generated from enum public_api.v1.UserProductType
|
|
386
|
-
*/
|
|
387
|
-
declare enum UserProductType {
|
|
388
|
-
/**
|
|
389
|
-
* @generated from enum value: USER_PRODUCT_TYPE_UNKNOWN = 0;
|
|
390
|
-
*/
|
|
391
|
-
UNKNOWN = 0,
|
|
392
|
-
/**
|
|
393
|
-
* @generated from enum value: USER_PRODUCT_TYPE_AUDIO = 1;
|
|
394
|
-
*/
|
|
395
|
-
AUDIO = 1,
|
|
396
|
-
/**
|
|
397
|
-
* @generated from enum value: USER_PRODUCT_TYPE_FILE = 2;
|
|
398
|
-
*/
|
|
399
|
-
FILE = 2,
|
|
400
|
-
/**
|
|
401
|
-
* @generated from enum value: USER_PRODUCT_TYPE_TICKET = 3;
|
|
402
|
-
*/
|
|
403
|
-
TICKET = 3
|
|
404
|
-
}
|
|
405
|
-
|
|
406
317
|
declare const PanelPage: () => react_jsx_runtime.JSX.Element;
|
|
407
318
|
|
|
408
319
|
interface Props {
|
|
@@ -423,7 +334,7 @@ interface GetThemeOutput {
|
|
|
423
334
|
}
|
|
424
335
|
type PanelScreen = "products" | "notifications" | "profile" | "plans" | "orders" | "order-details";
|
|
425
336
|
type PanelSearchParamsType = {
|
|
426
|
-
product?:
|
|
337
|
+
product?: string;
|
|
427
338
|
state: PanelScreen;
|
|
428
339
|
orderId?: string;
|
|
429
340
|
};
|